Skip to content

Latest commit

 

History

History
82 lines (45 loc) · 2.12 KB

Language.md

File metadata and controls

82 lines (45 loc) · 2.12 KB

Language

Properties

Name Type Description Notes
Code Pointer to string Two letter ISO code [optional]
NativeName Pointer to string The native description of a language [optional]

Methods

NewLanguage

func NewLanguage() *Language

NewLanguage instantiates a new Language 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

NewLanguageWithDefaults

func NewLanguageWithDefaults() *Language

NewLanguageWithDefaults instantiates a new Language 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 *Language) GetCode() string

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

GetCodeOk

func (o *Language) 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 *Language) SetCode(v string)

SetCode sets Code field to given value.

HasCode

func (o *Language) HasCode() bool

HasCode returns a boolean if a field has been set.

GetNativeName

func (o *Language) GetNativeName() string

GetNativeName returns the NativeName field if non-nil, zero value otherwise.

GetNativeNameOk

func (o *Language) GetNativeNameOk() (*string, bool)

GetNativeNameOk returns a tuple with the NativeName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetNativeName

func (o *Language) SetNativeName(v string)

SetNativeName sets NativeName field to given value.

HasNativeName

func (o *Language) HasNativeName() bool

HasNativeName returns a boolean if a field has been set.

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