GoodMem
ReferenceClient SDKsGoModels

ContextItem Model

ContextItem Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
TextPointer to NullableStringText content for this context item.[optional]
BinaryPointer to NullableBinaryContent[optional]

Methods

NewContextItem

func NewContextItem() *ContextItem

NewContextItem instantiates a new ContextItem 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

NewContextItemWithDefaults

func NewContextItemWithDefaults() *ContextItem

NewContextItemWithDefaults instantiates a new ContextItem 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

GetText

func (o *ContextItem) GetText() string

GetText returns the Text field if non-nil, zero value otherwise.

GetTextOk

func (o *ContextItem) 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 *ContextItem) SetText(v string)

SetText sets Text field to given value.

HasText

func (o *ContextItem) HasText() bool

HasText returns a boolean if a field has been set.

SetTextNil

func (o *ContextItem) SetTextNil(b bool)

SetTextNil sets the value for Text to be an explicit nil

UnsetText

func (o *ContextItem) UnsetText()

UnsetText ensures that no value is present for Text, not even an explicit nil

GetBinary

func (o *ContextItem) GetBinary() BinaryContent

GetBinary returns the Binary field if non-nil, zero value otherwise.

GetBinaryOk

func (o *ContextItem) GetBinaryOk() (*BinaryContent, bool)

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

SetBinary

func (o *ContextItem) SetBinary(v BinaryContent)

SetBinary sets Binary field to given value.

HasBinary

func (o *ContextItem) HasBinary() bool

HasBinary returns a boolean if a field has been set.

SetBinaryNil

func (o *ContextItem) SetBinaryNil(b bool)

SetBinaryNil sets the value for Binary to be an explicit nil

UnsetBinary

func (o *ContextItem) UnsetBinary()

UnsetBinary ensures that no value is present for Binary, not even an explicit nil