Skip to content

Latest commit

 

History

History
30 lines (21 loc) · 918 Bytes

File metadata and controls

30 lines (21 loc) · 918 Bytes

CountryInfo

Properties

Name Type Description Notes
code str ISO 3166-1 alpha-2 country code
name str Country name

Example

from cloudbeds_fiscal_document.models.country_info import CountryInfo

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

# convert the object into a dict
country_info_dict = country_info_instance.to_dict()
# create an instance of CountryInfo from a dict
country_info_from_dict = CountryInfo.from_dict(country_info_dict)

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