UpdateCollectionExpiryRequest
Properties
Name |
Type |
Description |
Notes |
|---|---|---|---|
expiry_date |
str |
Collection expiry. Either an ISO 8601 date ("2026-09-30") or a full ISO 8601 datetime with optional timezone offset ("2026-09-30T17:00:00-05:00"). A date-only value resolves to midnight (00:00:00) of that day in the timezone below. |
|
timezone |
str |
Optional timezone to associate with the expiry date (with IANA timezone support). Ignored for parsing when expiry_date carries its own offset, but always stored as the collection’s expiry_timezone so the expiry is displayed in this zone. |
[optional] |
Example
from h2ogpte.rest_async.models.update_collection_expiry_request import UpdateCollectionExpiryRequest
# TODO update the JSON string below
json = "{}"
# create an instance of UpdateCollectionExpiryRequest from a JSON string
update_collection_expiry_request_instance = UpdateCollectionExpiryRequest.from_json(json)
# print the JSON string representation of the object
print(UpdateCollectionExpiryRequest.to_json())
# convert the object into a dict
update_collection_expiry_request_dict = update_collection_expiry_request_instance.to_dict()
# create an instance of UpdateCollectionExpiryRequest from a dict
update_collection_expiry_request_from_dict = UpdateCollectionExpiryRequest.from_dict(update_collection_expiry_request_dict)