flywheel.models.provider
Provider
Bases: object
access_type property writable
Gets the access_type of this Provider.
Returns:
| Type | Description |
|---|---|
ProviderAccessType | The access_type of this Provider |
config property writable
Gets the config of this Provider.
Returns:
| Type | Description |
|---|---|
union[BaseCompute,S3CompatStorage,AwsStorage,GcpStorage,LocalStorage,StaticCompute,AsStorage,ExchangeStorage] | The config of this Provider |
created property writable
Gets the created of this Provider.
Returns:
| Type | Description |
|---|---|
datetime | The created of this Provider |
creds property writable
Gets the creds of this Provider.
Returns:
| Type | Description |
|---|---|
union[Creds,AwsCreds,GcpCreds,AzureCreds] | The creds of this Provider |
deleted property writable
Gets the deleted of this Provider.
Returns:
| Type | Description |
|---|---|
datetime | The deleted of this Provider |
deletion_status property writable
Gets the deletion_status of this Provider.
Returns:
| Type | Description |
|---|---|
ProviderDeletionStatus | The deletion_status of this Provider |
id property writable
Gets the id of this Provider.
Returns:
| Type | Description |
|---|---|
str | The id of this Provider |
label property writable
Gets the label of this Provider.
Returns:
| Type | Description |
|---|---|
str | The label of this Provider |
modified property writable
Gets the modified of this Provider.
Returns:
| Type | Description |
|---|---|
datetime | The modified of this Provider |
origin property writable
Gets the origin of this Provider.
Returns:
| Type | Description |
|---|---|
Origin | The origin of this Provider |
provider_class property writable
Gets the provider_class of this Provider.
Returns:
| Type | Description |
|---|---|
ProviderClass | The provider_class of this Provider |
provider_type property writable
Gets the provider_type of this Provider.
Returns:
| Type | Description |
|---|---|
ProviderType | The provider_type of this Provider |
__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, label=None, deletion_status=None, provider_class=None, provider_type=None, creds=None, origin=None, config=None, created=None, modified=None, deleted=None, access_type=None)
Provider - a model defined in Swagger
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
id | (str, optional) | , defaults to None | None |
label | (str, optional) | , defaults to None | None |
deletion_status | (ProviderDeletionStatus, optional) | , defaults to None | None |
provider_class | (ProviderClass, optional) | , defaults to None | None |
provider_type | (ProviderType, optional) | , defaults to None | None |
creds | (union[Creds, AwsCreds, GcpCreds, AzureCreds], optional) | , defaults to None | None |
origin | (Origin, optional) | , defaults to None | None |
config | (union[BaseCompute, S3CompatStorage, AwsStorage, GcpStorage, LocalStorage, StaticCompute, AsStorage, ExchangeStorage], optional) | , defaults to None | None |
created | (datetime, optional) | , defaults to None | None |
modified | (datetime, optional) | , defaults to None | None |
deleted | (datetime, optional) | , defaults to None | None |
access_type | (ProviderAccessType, 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