flywheel.models.change
Change
Bases: object
container_id property writable
Gets the container_id of this Change.
Returns:
| Type | Description |
|---|---|
str | The container_id of this Change |
container_type property writable
Gets the container_type of this Change.
Returns:
| Type | Description |
|---|---|
union[ContainerType,str] | The container_type of this Change |
created property writable
Gets the created of this Change.
Returns:
| Type | Description |
|---|---|
datetime | The created of this Change |
esignature_timestamp property writable
Gets the esignature_timestamp of this Change.
Returns:
| Type | Description |
|---|---|
datetime | The esignature_timestamp of this Change |
file_version property writable
Gets the file_version of this Change.
Returns:
| Type | Description |
|---|---|
int | The file_version of this Change |
method property writable
Gets the method of this Change.
Returns:
| Type | Description |
|---|---|
ChangeMethod | The method of this Change |
origin property writable
Gets the origin of this Change.
Returns:
| Type | Description |
|---|---|
Origin | The origin of this Change |
patch property writable
Gets the patch of this Change.
Returns:
| Type | Description |
|---|---|
object | The patch of this Change |
reason property writable
Gets the reason of this Change.
Returns:
| Type | Description |
|---|---|
union[ContainerDeleteReason,AnnotationDeleteReason,str] | The reason of this Change |
revision property writable
Gets the revision of this Change.
Returns:
| Type | Description |
|---|---|
int | The revision of this Change |
__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__(created=None, origin=None, container_type=None, container_id=None, file_version=None, method=None, patch=None, revision=None, esignature_timestamp=None, reason=None)
Change - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
created | (datetime, optional) | , defaults to None | None |
origin | (Origin, optional) | , defaults to None | None |
container_type | (union[ContainerType, str], optional) | , defaults to None | None |
container_id | (str, optional) | , defaults to None | None |
file_version | (int, optional) | , defaults to None | None |
method | (ChangeMethod, optional) | , defaults to None | None |
patch | (object, optional) | , defaults to None | None |
revision | (int, optional) | , defaults to None | None |
esignature_timestamp | (datetime, optional) | , defaults to None | None |
reason | (union[ContainerDeleteReason, AnnotationDeleteReason, str], optional) | , 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