Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.02 KB

Bucket.md

File metadata and controls

35 lines (26 loc) · 1.02 KB

Bucket

Representation of a storage bucket.

Properties

Name Type Description Notes
links Dict[str, Links] [optional]
alias str [optional]
name str
store Store [optional]
creation_date datetime [optional]
size int [optional]

Example

from waylay.services.storage.models.bucket import Bucket

# TODO update the JSON string below
json = "{}"
# create an instance of Bucket from a JSON string
bucket_instance = Bucket.from_json(json)
# print the JSON string representation of the object
print Bucket.to_json()

# convert the object into a dict
bucket_dict = bucket_instance.to_dict()
# create an instance of Bucket from a dict
bucket_form_dict = bucket.from_dict(bucket_dict)

[Back to Model list] [Back to API list] [Back to README]