GoodMem
ReferenceClient SDKsGoModels

ContextItemOneOf1 Model

ContextItemOneOf1 Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
BinaryBinaryContentBinary content with content type and base64 data

Methods

NewContextItemOneOf1

func NewContextItemOneOf1(binary interface{}, ) *ContextItemOneOf1

NewContextItemOneOf1 instantiates a new ContextItemOneOf1 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

NewContextItemOneOf1WithDefaults

func NewContextItemOneOf1WithDefaults() *ContextItemOneOf1

NewContextItemOneOf1WithDefaults instantiates a new ContextItemOneOf1 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

GetBinary

func (o *ContextItemOneOf1) GetBinary() interface{}

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

GetBinaryOk

func (o *ContextItemOneOf1) GetBinaryOk() (*interface{}, 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 *ContextItemOneOf1) SetBinary(v interface{})

SetBinary sets Binary field to given value.

SetBinaryNil

func (o *ContextItemOneOf1) SetBinaryNil(b bool)

SetBinaryNil sets the value for Binary to be an explicit nil

UnsetBinary

func (o *ContextItemOneOf1) UnsetBinary()

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