Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.08 KB

File metadata and controls

32 lines (23 loc) · 1.08 KB

CountrySchema

Schema for country data

Properties

Name Type Description Notes
id str Unique identifier for the country [optional]
name str Full name of the country [optional]
iso_code str ISO 3166-1 alpha-2 code for the country, or null if no ISO code is defined. [optional]

Example

from bamboohr_sdk.models.country_schema import CountrySchema

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

# convert the object into a dict
country_schema_dict = country_schema_instance.to_dict()
# create an instance of CountrySchema from a dict
country_schema_from_dict = CountrySchema.from_dict(country_schema_dict)

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