Skip to content

flywheel.models.s3_compat_storage

S3CompatStorage

Bases: object

addressing_style property writable

Gets the addressing_style of this S3CompatStorage.

Returns:

Type Description
S3AddressingStyle

The addressing_style of this S3CompatStorage

bucket property writable

Gets the bucket of this S3CompatStorage.

Returns:

Type Description
str

The bucket of this S3CompatStorage

config_class property writable

Gets the config_class of this S3CompatStorage.

Returns:

Type Description
str

The config_class of this S3CompatStorage

config_type property writable

Gets the config_type of this S3CompatStorage.

Returns:

Type Description
str

The config_type of this S3CompatStorage

endpoint_url property writable

Gets the endpoint_url of this S3CompatStorage.

Returns:

Type Description
str

The endpoint_url of this S3CompatStorage

path property writable

Gets the path of this S3CompatStorage.

Returns:

Type Description
str

The path of this S3CompatStorage

region property writable

Gets the region of this S3CompatStorage.

Returns:

Type Description
str

The region of this S3CompatStorage

signed_urls property writable

Gets the signed_urls of this S3CompatStorage.

Returns:

Type Description
bool

The signed_urls of this S3CompatStorage

verify_certs property writable

Gets the verify_certs of this S3CompatStorage.

Returns:

Type Description
bool

The verify_certs of this S3CompatStorage

__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__(region=None, bucket=None, path='', endpoint_url=None, verify_certs=False, signed_urls=False, config_type='s3_compat', config_class='storage', addressing_style=None)

S3CompatStorage - a model defined in Swagger

Parameters:

Name Type Description Default
region (str, optional)

, defaults to None

None
bucket (str, optional)

, defaults to None

None
path (str, optional)

, defaults to ''

''
endpoint_url (str, optional)

, defaults to None

None
verify_certs (bool, optional)

, defaults to False

False
signed_urls (bool, optional)

, defaults to False

False
config_type (str, optional)

, defaults to 's3_compat'

's3_compat'
config_class (str, optional)

, defaults to 'storage'

'storage'
addressing_style (S3AddressingStyle, 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