Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.04 KB

File metadata and controls

31 lines (22 loc) · 1.04 KB

SortFieldSchema

Represents a sort field and its direction

Properties

Name Type Description Notes
var_field str The field to apply the sort on [optional]
direction DirectionEnumSchema [optional]

Example

from cloudbeds_pms.models.sort_field_schema import SortFieldSchema

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

# convert the object into a dict
sort_field_schema_dict = sort_field_schema_instance.to_dict()
# create an instance of SortFieldSchema from a dict
sort_field_schema_from_dict = SortFieldSchema.from_dict(sort_field_schema_dict)

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