flywheel.models.gear_rule_output
GearRuleOutput
Bases: object
all property writable
Gets the all of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
list[GearRuleCondition] | The all of this GearRuleOutput |
any property writable
Gets the any of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
list[GearRuleCondition] | The any of this GearRuleOutput |
auto_update property writable
Gets the auto_update of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
bool | The auto_update of this GearRuleOutput |
compute_provider_id property writable
Gets the compute_provider_id of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
str | The compute_provider_id of this GearRuleOutput |
config property writable
Gets the config of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
dict(str, object) | The config of this GearRuleOutput |
created property writable
Gets the created of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
datetime | The created of this GearRuleOutput |
disabled property writable
Gets the disabled of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
bool | The disabled of this GearRuleOutput |
fixed_inputs property writable
Gets the fixed_inputs of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
list[FixedInput] | The fixed_inputs of this GearRuleOutput |
gear_id property writable
Gets the gear_id of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
str | The gear_id of this GearRuleOutput |
id property writable
Gets the id of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
str | The id of this GearRuleOutput |
last_modified_by property writable
Gets the last_modified_by of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
Origin | The last_modified_by of this GearRuleOutput |
modified property writable
Gets the modified of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
datetime | The modified of this GearRuleOutput |
name property writable
Gets the name of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
str | The name of this GearRuleOutput |
priority property writable
Gets the priority of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
JobPriority | The priority of this GearRuleOutput |
project_id property writable
Gets the project_id of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
str | The project_id of this GearRuleOutput |
revision property writable
Gets the revision of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
int | The revision of this GearRuleOutput |
role_id property writable
Gets the role_id of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
str | The role_id of this GearRuleOutput |
tags property writable
Gets the tags of this GearRuleOutput.
Tags to be applied to jobs created when this gear rule triggers
Returns:
| Type | Description |
|---|---|
list[str] | The tags of this GearRuleOutput |
triggering_input property writable
Gets the triggering_input of this GearRuleOutput.
Returns:
| Type | Description |
|---|---|
str | The triggering_input of this GearRuleOutput |
__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__(id=None, project_id=None, gear_id=None, role_id=None, name=None, config=None, fixed_inputs=None, priority=None, auto_update=False, revision=1, any=None, all=None, _not=None, created=None, modified=None, disabled=False, compute_provider_id=None, last_modified_by=None, triggering_input=None, tags=None)
GearRuleOutput - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id | (str, optional) | , defaults to None | None |
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[FixedInput], optional) | , defaults to None | None |
priority | (JobPriority, optional) | , defaults to None | None |
auto_update | (bool, optional) | , defaults to False | False |
revision | (int, optional) | , defaults to 1 | 1 |
any | (list[GearRuleCondition], optional) | , defaults to None | None |
all | (list[GearRuleCondition], optional) | , defaults to None | None |
_not | (list[GearRuleCondition], optional) | , defaults to None | None |
created | (datetime, optional) | , defaults to None | None |
modified | (datetime, optional) | , defaults to None | None |
disabled | (bool, optional) | , defaults to False | False |
compute_provider_id | (str, optional) | , defaults to None | None |
last_modified_by | (Origin, 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