ContextItemOneOf Model
ContextItemOneOf Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Text | string | Text content for this context item |
Methods
NewContextItemOneOf
func NewContextItemOneOf(text interface{}, ) *ContextItemOneOf
NewContextItemOneOf instantiates a new ContextItemOneOf 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
NewContextItemOneOfWithDefaults
func NewContextItemOneOfWithDefaults() *ContextItemOneOf
NewContextItemOneOfWithDefaults instantiates a new ContextItemOneOf 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 *ContextItemOneOf) GetText() interface{}
GetText returns the Text field if non-nil, zero value otherwise.
GetTextOk
func (o *ContextItemOneOf) GetTextOk() (*interface{}, 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 *ContextItemOneOf) SetText(v interface{})
SetText sets Text field to given value.
SetTextNil
func (o *ContextItemOneOf) SetTextNil(b bool)
SetTextNil sets the value for Text to be an explicit nil
UnsetText
func (o *ContextItemOneOf) UnsetText()
UnsetText ensures that no value is present for Text, not even an explicit nil