Skip to content

flywheel.models.gear_rule_input

GearRuleInput

Bases: object

all property writable

Gets the all of this GearRuleInput.

Returns:

Type Description
list[GearRuleCondition]

The all of this GearRuleInput

any property writable

Gets the any of this GearRuleInput.

Returns:

Type Description
list[GearRuleCondition]

The any of this GearRuleInput

auto_update property writable

Gets the auto_update of this GearRuleInput.

Returns:

Type Description
bool

The auto_update of this GearRuleInput

compute_provider_id property writable

Gets the compute_provider_id of this GearRuleInput.

Returns:

Type Description
str

The compute_provider_id of this GearRuleInput

config property writable

Gets the config of this GearRuleInput.

Returns:

Type Description
dict(str, object)

The config of this GearRuleInput

disabled property writable

Gets the disabled of this GearRuleInput.

Returns:

Type Description
bool

The disabled of this GearRuleInput

fixed_inputs property writable

Gets the fixed_inputs of this GearRuleInput.

Returns:

Type Description
list[union[FixedInput,FixedFileVersionInput]]

The fixed_inputs of this GearRuleInput

gear_id property writable

Gets the gear_id of this GearRuleInput.

Returns:

Type Description
str

The gear_id of this GearRuleInput

name property writable

Gets the name of this GearRuleInput.

Returns:

Type Description
str

The name of this GearRuleInput

priority property writable

Gets the priority of this GearRuleInput.

Returns:

Type Description
JobPriority

The priority of this GearRuleInput

project_id property writable

Gets the project_id of this GearRuleInput.

Returns:

Type Description
str

The project_id of this GearRuleInput

role_id property writable

Gets the role_id of this GearRuleInput.

Returns:

Type Description
str

The role_id of this GearRuleInput

tags property writable

Gets the tags of this GearRuleInput.

Tags to be applied to jobs created when this gear rule triggers

Returns:

Type Description
list[str]

The tags of this GearRuleInput

triggering_input property writable

Gets the triggering_input of this GearRuleInput.

Returns:

Type Description
str

The triggering_input of this GearRuleInput

__contains__(key)

Checks if the given value is a key in this object

__eq__(other)

Returns true if both objects are equal

__getitem__(key)

Returns the value of key

__init__(project_id=None, gear_id=None, role_id=None, name=None, config=None, fixed_inputs=None, priority=None, auto_update=False, any=None, all=None, _not=None, disabled=False, compute_provider_id=None, triggering_input=None, tags=None)

GearRuleInput - a model defined in Swagger

Parameters:

Name Type Description Default
project_id (str, optional)

, defaults to None

None
gear_id (str, optional)

, defaults to None

None
role_id (str, optional)

, defaults to None

None
name (str, optional)

, defaults to None

None
config (dict(str, object), optional)

, defaults to None

None
fixed_inputs (list[union[FixedInput, FixedFileVersionInput]], optional)

, defaults to None

None
priority (JobPriority, optional)

, defaults to None

None
auto_update (bool, optional)

, defaults to False

False
any (list[GearRuleCondition], optional)

, defaults to None

None
all (list[GearRuleCondition], optional)

, defaults to None

None
_not (list[GearRuleCondition], optional)

, defaults to None

None
disabled (bool, optional)

, defaults to False

False
compute_provider_id (str, optional)

, defaults to None

None
triggering_input (str, optional)

, defaults to None

None
tags (list[str], optional)

Tags to be applied to jobs created when this gear rule triggers, defaults to None

None

__ne__(other)

Returns true if both objects are not equal

__repr__()

For print and pprint

__setitem__(key, value)

Sets the value of key

get(key, default=None)

Get the value of the provided json property, or default

items()

Returns the list of json property to value mapping

keys()

Returns the list of json properties in the object

positional_to_model(value) staticmethod

Converts a positional argument to a model value

return_value()

Unwraps return value from model

to_dict()

Returns the model properties as a dict

to_str()

Returns the string representation of the model

values()

Returns the list of values in the object