3.8 KiB
Translation
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Cached | Pointer to bool | [optional] | |
| Error | Pointer to string | [optional] | |
| Source | Pointer to string | [optional] | |
| State | Pointer to string | [optional] | |
| Text | Pointer to string | [optional] |
Methods
NewTranslation
func NewTranslation() *Translation
NewTranslation instantiates a new Translation 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
NewTranslationWithDefaults
func NewTranslationWithDefaults() *Translation
NewTranslationWithDefaults instantiates a new Translation 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
GetCached
func (o *Translation) GetCached() bool
GetCached returns the Cached field if non-nil, zero value otherwise.
GetCachedOk
func (o *Translation) GetCachedOk() (*bool, bool)
GetCachedOk returns a tuple with the Cached field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCached
func (o *Translation) SetCached(v bool)
SetCached sets Cached field to given value.
HasCached
func (o *Translation) HasCached() bool
HasCached returns a boolean if a field has been set.
GetError
func (o *Translation) GetError() string
GetError returns the Error field if non-nil, zero value otherwise.
GetErrorOk
func (o *Translation) GetErrorOk() (*string, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetError
func (o *Translation) SetError(v string)
SetError sets Error field to given value.
HasError
func (o *Translation) HasError() bool
HasError returns a boolean if a field has been set.
GetSource
func (o *Translation) GetSource() string
GetSource returns the Source field if non-nil, zero value otherwise.
GetSourceOk
func (o *Translation) GetSourceOk() (*string, bool)
GetSourceOk returns a tuple with the Source field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSource
func (o *Translation) SetSource(v string)
SetSource sets Source field to given value.
HasSource
func (o *Translation) HasSource() bool
HasSource returns a boolean if a field has been set.
GetState
func (o *Translation) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
GetStateOk
func (o *Translation) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetState
func (o *Translation) SetState(v string)
SetState sets State field to given value.
HasState
func (o *Translation) HasState() bool
HasState returns a boolean if a field has been set.
GetText
func (o *Translation) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
GetTextOk
func (o *Translation) GetTextOk() (*string, bool)
GetTextOk returns a tuple with the Text field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetText
func (o *Translation) SetText(v string)
SetText sets Text field to given value.
HasText
func (o *Translation) HasText() bool
HasText returns a boolean if a field has been set.