10 KiB
TranslateMemoryEntry
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Actor | Pointer to string | Actor is the validated user id that last wrote this entry by hand. Empty on an entry an engine produced, and on one written before attribution existed. | [optional] |
| Format | Pointer to string | Format is the markup the source carried: text, html or markdown. Part of the identity. | [optional] |
| GlossaryVersion | Pointer to string | Glossary is the glossary VERSION the entry was translated under — the digest version() derives from the terms, so changing a term changes the key and the stale rendering can never be served. | [optional] |
| Lang | Pointer to string | Lang is the source language the translate call declared, empty when the engine detected it. Part of the identity; an entry with none also serves a call that declares one. | [optional] |
| Model | Pointer to string | Model is the quality-tier model the translate call named, empty for the default. Part of the identity: one model's rendering never answers for another's. | [optional] |
| RequestId | Pointer to string | RequestID is the X-Request-Id of the translate call whose engine produced the entry. Empty on an entry a human wrote, and on one older than the field. | [optional] |
| Source | Pointer to string | Source is the ORIGINAL string this entry translates. Part of the identity. | [optional] |
| State | Pointer to string | State is the entry's position on the review ladder: machine, suggested, approved or published. | [optional] |
| Target | Pointer to string | Target is the target language tag (BCP-47, e.g. "es" or "pt-BR"). Part of the identity. | [optional] |
| Text | Pointer to string | Text is the stored translation. A memory hit returns it verbatim, which is the idempotence contract. | [optional] |
| Tier | Pointer to string | Tier is the engine tier the entry belongs to, quality or bulk. Part of the identity: the two tiers keep separate renderings of the same source. | [optional] |
| UpdatedAt | Pointer to int64 | UpdatedAt is the unix second the entry last changed. | [optional] |
Methods
NewTranslateMemoryEntry
func NewTranslateMemoryEntry() *TranslateMemoryEntry
NewTranslateMemoryEntry instantiates a new TranslateMemoryEntry 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
NewTranslateMemoryEntryWithDefaults
func NewTranslateMemoryEntryWithDefaults() *TranslateMemoryEntry
NewTranslateMemoryEntryWithDefaults instantiates a new TranslateMemoryEntry 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
GetActor
func (o *TranslateMemoryEntry) GetActor() string
GetActor returns the Actor field if non-nil, zero value otherwise.
GetActorOk
func (o *TranslateMemoryEntry) GetActorOk() (*string, bool)
GetActorOk returns a tuple with the Actor field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetActor
func (o *TranslateMemoryEntry) SetActor(v string)
SetActor sets Actor field to given value.
HasActor
func (o *TranslateMemoryEntry) HasActor() bool
HasActor returns a boolean if a field has been set.
GetFormat
func (o *TranslateMemoryEntry) GetFormat() string
GetFormat returns the Format field if non-nil, zero value otherwise.
GetFormatOk
func (o *TranslateMemoryEntry) GetFormatOk() (*string, bool)
GetFormatOk returns a tuple with the Format field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetFormat
func (o *TranslateMemoryEntry) SetFormat(v string)
SetFormat sets Format field to given value.
HasFormat
func (o *TranslateMemoryEntry) HasFormat() bool
HasFormat returns a boolean if a field has been set.
GetGlossaryVersion
func (o *TranslateMemoryEntry) GetGlossaryVersion() string
GetGlossaryVersion returns the GlossaryVersion field if non-nil, zero value otherwise.
GetGlossaryVersionOk
func (o *TranslateMemoryEntry) GetGlossaryVersionOk() (*string, bool)
GetGlossaryVersionOk returns a tuple with the GlossaryVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetGlossaryVersion
func (o *TranslateMemoryEntry) SetGlossaryVersion(v string)
SetGlossaryVersion sets GlossaryVersion field to given value.
HasGlossaryVersion
func (o *TranslateMemoryEntry) HasGlossaryVersion() bool
HasGlossaryVersion returns a boolean if a field has been set.
GetLang
func (o *TranslateMemoryEntry) GetLang() string
GetLang returns the Lang field if non-nil, zero value otherwise.
GetLangOk
func (o *TranslateMemoryEntry) GetLangOk() (*string, bool)
GetLangOk returns a tuple with the Lang field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetLang
func (o *TranslateMemoryEntry) SetLang(v string)
SetLang sets Lang field to given value.
HasLang
func (o *TranslateMemoryEntry) HasLang() bool
HasLang returns a boolean if a field has been set.
GetModel
func (o *TranslateMemoryEntry) GetModel() string
GetModel returns the Model field if non-nil, zero value otherwise.
GetModelOk
func (o *TranslateMemoryEntry) GetModelOk() (*string, bool)
GetModelOk returns a tuple with the Model field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetModel
func (o *TranslateMemoryEntry) SetModel(v string)
SetModel sets Model field to given value.
HasModel
func (o *TranslateMemoryEntry) HasModel() bool
HasModel returns a boolean if a field has been set.
GetRequestId
func (o *TranslateMemoryEntry) GetRequestId() string
GetRequestId returns the RequestId field if non-nil, zero value otherwise.
GetRequestIdOk
func (o *TranslateMemoryEntry) GetRequestIdOk() (*string, bool)
GetRequestIdOk returns a tuple with the RequestId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetRequestId
func (o *TranslateMemoryEntry) SetRequestId(v string)
SetRequestId sets RequestId field to given value.
HasRequestId
func (o *TranslateMemoryEntry) HasRequestId() bool
HasRequestId returns a boolean if a field has been set.
GetSource
func (o *TranslateMemoryEntry) GetSource() string
GetSource returns the Source field if non-nil, zero value otherwise.
GetSourceOk
func (o *TranslateMemoryEntry) 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 *TranslateMemoryEntry) SetSource(v string)
SetSource sets Source field to given value.
HasSource
func (o *TranslateMemoryEntry) HasSource() bool
HasSource returns a boolean if a field has been set.
GetState
func (o *TranslateMemoryEntry) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
GetStateOk
func (o *TranslateMemoryEntry) 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 *TranslateMemoryEntry) SetState(v string)
SetState sets State field to given value.
HasState
func (o *TranslateMemoryEntry) HasState() bool
HasState returns a boolean if a field has been set.
GetTarget
func (o *TranslateMemoryEntry) GetTarget() string
GetTarget returns the Target field if non-nil, zero value otherwise.
GetTargetOk
func (o *TranslateMemoryEntry) GetTargetOk() (*string, bool)
GetTargetOk returns a tuple with the Target field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTarget
func (o *TranslateMemoryEntry) SetTarget(v string)
SetTarget sets Target field to given value.
HasTarget
func (o *TranslateMemoryEntry) HasTarget() bool
HasTarget returns a boolean if a field has been set.
GetText
func (o *TranslateMemoryEntry) GetText() string
GetText returns the Text field if non-nil, zero value otherwise.
GetTextOk
func (o *TranslateMemoryEntry) 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 *TranslateMemoryEntry) SetText(v string)
SetText sets Text field to given value.
HasText
func (o *TranslateMemoryEntry) HasText() bool
HasText returns a boolean if a field has been set.
GetTier
func (o *TranslateMemoryEntry) GetTier() string
GetTier returns the Tier field if non-nil, zero value otherwise.
GetTierOk
func (o *TranslateMemoryEntry) GetTierOk() (*string, bool)
GetTierOk returns a tuple with the Tier field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetTier
func (o *TranslateMemoryEntry) SetTier(v string)
SetTier sets Tier field to given value.
HasTier
func (o *TranslateMemoryEntry) HasTier() bool
HasTier returns a boolean if a field has been set.
GetUpdatedAt
func (o *TranslateMemoryEntry) GetUpdatedAt() int64
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
GetUpdatedAtOk
func (o *TranslateMemoryEntry) GetUpdatedAtOk() (*int64, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetUpdatedAt
func (o *TranslateMemoryEntry) SetUpdatedAt(v int64)
SetUpdatedAt sets UpdatedAt field to given value.
HasUpdatedAt
func (o *TranslateMemoryEntry) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.