Name | Type | Description | Notes |
---|---|---|---|
Code | CountryCodeEnum | ||
Name | string |
func NewDetailedCountry(code CountryCodeEnum, name string, ) *DetailedCountry
NewDetailedCountry instantiates a new DetailedCountry object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailedCountryWithDefaults() *DetailedCountry
NewDetailedCountryWithDefaults instantiates a new DetailedCountry object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (o *DetailedCountry) GetCode() CountryCodeEnum
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *DetailedCountry) GetCodeOk() (*CountryCodeEnum, bool)
GetCodeOk returns a tuple with the Code field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DetailedCountry) SetCode(v CountryCodeEnum)
SetCode sets Code field to given value.
func (o *DetailedCountry) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *DetailedCountry) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *DetailedCountry) SetName(v string)
SetName sets Name field to given value.