GoodMem
ReferenceClient SDKsGoModels

RetrievedItemOneOf1 Model

RetrievedItemOneOf1 Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
ChunkChunkReferenceA chunk reference with relevance score

Methods

NewRetrievedItemOneOf1

func NewRetrievedItemOneOf1(chunk interface{}, ) *RetrievedItemOneOf1

NewRetrievedItemOneOf1 instantiates a new RetrievedItemOneOf1 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

NewRetrievedItemOneOf1WithDefaults

func NewRetrievedItemOneOf1WithDefaults() *RetrievedItemOneOf1

NewRetrievedItemOneOf1WithDefaults instantiates a new RetrievedItemOneOf1 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

GetChunk

func (o *RetrievedItemOneOf1) GetChunk() interface{}

GetChunk returns the Chunk field if non-nil, zero value otherwise.

GetChunkOk

func (o *RetrievedItemOneOf1) GetChunkOk() (*interface{}, bool)

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

SetChunk

func (o *RetrievedItemOneOf1) SetChunk(v interface{})

SetChunk sets Chunk field to given value.

SetChunkNil

func (o *RetrievedItemOneOf1) SetChunkNil(b bool)

SetChunkNil sets the value for Chunk to be an explicit nil

UnsetChunk

func (o *RetrievedItemOneOf1) UnsetChunk()

UnsetChunk ensures that no value is present for Chunk, not even an explicit nil