Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.13 KB

AdminRegion.md

File metadata and controls

32 lines (23 loc) · 1.13 KB

AdminRegion

Properties

Name Type Description Notes
country_code str The ISO 3166-1 alpha-2 country code. [optional]
country_text str The country name [optional]
state_code str The abbreviation code for the state (varies by country). [optional]
state_text str The state name. [optional]

Example

from stadiamaps.models.admin_region import AdminRegion

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

# convert the object into a dict
admin_region_dict = admin_region_instance.to_dict()
# create an instance of AdminRegion from a dict
admin_region_from_dict = AdminRegion.from_dict(admin_region_dict)

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