Name | Type | Description | Notes |
---|---|---|---|
Code | CountryCodeEnum | ||
Name | string |
func NewDetailedCountryFieldRequest(code CountryCodeEnum, name string, ) *DetailedCountryFieldRequest
NewDetailedCountryFieldRequest instantiates a new DetailedCountryFieldRequest 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 NewDetailedCountryFieldRequestWithDefaults() *DetailedCountryFieldRequest
NewDetailedCountryFieldRequestWithDefaults instantiates a new DetailedCountryFieldRequest 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 *DetailedCountryFieldRequest) GetCode() CountryCodeEnum
GetCode returns the Code field if non-nil, zero value otherwise.
func (o *DetailedCountryFieldRequest) 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 *DetailedCountryFieldRequest) SetCode(v CountryCodeEnum)
SetCode sets Code field to given value.
func (o *DetailedCountryFieldRequest) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *DetailedCountryFieldRequest) 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 *DetailedCountryFieldRequest) SetName(v string)
SetName sets Name field to given value.