2.9 KiB
TranslatorLangOption
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Label | Pointer to string | [optional] | |
| Progress | Pointer to int32 | Translation completion percentage | [optional] |
| Value | Pointer to string | [optional] |
Methods
NewTranslatorLangOption
func NewTranslatorLangOption() *TranslatorLangOption
NewTranslatorLangOption instantiates a new TranslatorLangOption 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
NewTranslatorLangOptionWithDefaults
func NewTranslatorLangOptionWithDefaults() *TranslatorLangOption
NewTranslatorLangOptionWithDefaults instantiates a new TranslatorLangOption 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
GetLabel
func (o *TranslatorLangOption) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
GetLabelOk
func (o *TranslatorLangOption) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLabel
func (o *TranslatorLangOption) SetLabel(v string)
SetLabel sets Label field to given value.
HasLabel
func (o *TranslatorLangOption) HasLabel() bool
HasLabel returns a boolean if a field has been set.
GetProgress
func (o *TranslatorLangOption) GetProgress() int32
GetProgress returns the Progress field if non-nil, zero value otherwise.
GetProgressOk
func (o *TranslatorLangOption) GetProgressOk() (*int32, bool)
GetProgressOk returns a tuple with the Progress field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetProgress
func (o *TranslatorLangOption) SetProgress(v int32)
SetProgress sets Progress field to given value.
HasProgress
func (o *TranslatorLangOption) HasProgress() bool
HasProgress returns a boolean if a field has been set.
GetValue
func (o *TranslatorLangOption) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
GetValueOk
func (o *TranslatorLangOption) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetValue
func (o *TranslatorLangOption) SetValue(v string)
SetValue sets Value field to given value.
HasValue
func (o *TranslatorLangOption) HasValue() bool
HasValue returns a boolean if a field has been set.