Skip to content

Latest commit

 

History

History
36 lines (27 loc) · 2.29 KB

ViewSummaryResponseSchema.md

File metadata and controls

36 lines (27 loc) · 2.29 KB

ViewSummaryResponseSchema

One entry in the view picker. A view with no publishedRevision has nothing active: it is out of the picker for everyone but an admin, which is how a view is put away. latestRevision above publishedRevision means an admin has work staged ahead of what is live.

Properties

Name Type Description Notes
id str Either a reserved built-in id (`accommodation-type`, `alphabetical`) or a stored key.
name str Display name. For a built-in the property has not customized this is server-generated English — localize it from `systemLabel` instead of showing it verbatim.
is_default bool Whether this is the default view and the client's fallback target.
published_revision str The active revision. Absent when nothing is published — a derived built-in, or a view that has been put away. [optional]
latest_revision str Highest revision that exists. Above `publishedRevision` when work is staged ahead of what is live. [optional]
modified datetime When the view last changed. [optional]
system_label str Token for a built-in view's server-generated name, so the client can localize it. Absent for a stored view and for a customized built-in, whose names the admin typed. `name` carries the English fallback. [optional]

Example

from cloudbeds_pms.models.view_summary_response_schema import ViewSummaryResponseSchema

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

# convert the object into a dict
view_summary_response_schema_dict = view_summary_response_schema_instance.to_dict()
# create an instance of ViewSummaryResponseSchema from a dict
view_summary_response_schema_from_dict = ViewSummaryResponseSchema.from_dict(view_summary_response_schema_dict)

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