Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 898 Bytes

Expiry.md

File metadata and controls

32 lines (23 loc) · 898 Bytes

Expiry

Input model for expiry parameters.

Properties

Name Type Description Notes
seconds int [optional]
hours int [optional]
days int [optional]

Example

from waylay.services.storage.models.expiry import Expiry

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

# convert the object into a dict
expiry_dict = expiry_instance.to_dict()
# create an instance of Expiry from a dict
expiry_form_dict = expiry.from_dict(expiry_dict)

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