Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 1.96 KB

Country.md

File metadata and controls

82 lines (45 loc) · 1.96 KB

Country

Properties

Name Type Description Notes
Code Pointer to string [optional]
Name Pointer to string [optional]

Methods

NewCountry

func NewCountry() *Country

NewCountry instantiates a new Country 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

NewCountryWithDefaults

func NewCountryWithDefaults() *Country

NewCountryWithDefaults instantiates a new Country 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

GetCode

func (o *Country) GetCode() string

GetCode returns the Code field if non-nil, zero value otherwise.

GetCodeOk

func (o *Country) GetCodeOk() (*string, 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.

SetCode

func (o *Country) SetCode(v string)

SetCode sets Code field to given value.

HasCode

func (o *Country) HasCode() bool

HasCode returns a boolean if a field has been set.

GetName

func (o *Country) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Country) 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.

SetName

func (o *Country) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *Country) HasName() bool

HasName returns a boolean if a field has been set.

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