Skip to content

flywheel.models.gear_rule_modify_input

GearRuleModifyInput

Bases: object

all property writable

Gets the all of this GearRuleModifyInput.

Returns:

Type Description
list[GearRuleCondition]

The all of this GearRuleModifyInput

any property writable

Gets the any of this GearRuleModifyInput.

Returns:

Type Description
list[GearRuleCondition]

The any of this GearRuleModifyInput

auto_update property writable

Gets the auto_update of this GearRuleModifyInput.

Returns:

Type Description
bool

The auto_update of this GearRuleModifyInput

compute_provider_id property writable

Gets the compute_provider_id of this GearRuleModifyInput.

Returns:

Type Description
str

The compute_provider_id of this GearRuleModifyInput

config property writable

Gets the config of this GearRuleModifyInput.

Returns:

Type Description
dict(str, object)

The config of this GearRuleModifyInput

disabled property writable

Gets the disabled of this GearRuleModifyInput.

Returns:

Type Description
bool

The disabled of this GearRuleModifyInput

fixed_inputs property writable

Gets the fixed_inputs of this GearRuleModifyInput.

Returns:

Type Description
list[union[FixedInput,FixedFileVersionInput]]

The fixed_inputs of this GearRuleModifyInput

gear_id property writable

Gets the gear_id of this GearRuleModifyInput.

Returns:

Type Description
str

The gear_id of this GearRuleModifyInput

name property writable

Gets the name of this GearRuleModifyInput.

Returns:

Type Description
str

The name of this GearRuleModifyInput

priority property writable

Gets the priority of this GearRuleModifyInput.

Returns:

Type Description
JobPriority

The priority of this GearRuleModifyInput

role_id property writable

Gets the role_id of this GearRuleModifyInput.

Returns:

Type Description
str

The role_id of this GearRuleModifyInput

tags property writable

Gets the tags of this GearRuleModifyInput.

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

Returns:

Type Description
list[str]

The tags of this GearRuleModifyInput

triggering_input property writable

Gets the triggering_input of this GearRuleModifyInput.

Returns:

Type Description
str

The triggering_input of this GearRuleModifyInput

__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__(gear_id=None, role_id=None, name=None, config=None, fixed_inputs=None, priority=None, auto_update=None, any=None, all=None, _not=None, disabled=None, compute_provider_id=None, triggering_input=None, tags=None)

GearRuleModifyInput - a model defined in Swagger

Parameters:

Name Type Description Default
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 None

None
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 None

None
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