GoodMem
ReferenceClient SDKsGoModels

RetrievedItem Model

RetrievedItem Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
MemoryPointer to NullableMemory[optional]
ChunkPointer to NullableChunkReference[optional]

Methods

NewRetrievedItem

func NewRetrievedItem() *RetrievedItem

NewRetrievedItem instantiates a new RetrievedItem 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

NewRetrievedItemWithDefaults

func NewRetrievedItemWithDefaults() *RetrievedItem

NewRetrievedItemWithDefaults instantiates a new RetrievedItem 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

GetMemory

func (o *RetrievedItem) GetMemory() Memory

GetMemory returns the Memory field if non-nil, zero value otherwise.

GetMemoryOk

func (o *RetrievedItem) GetMemoryOk() (*Memory, bool)

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

SetMemory

func (o *RetrievedItem) SetMemory(v Memory)

SetMemory sets Memory field to given value.

HasMemory

func (o *RetrievedItem) HasMemory() bool

HasMemory returns a boolean if a field has been set.

SetMemoryNil

func (o *RetrievedItem) SetMemoryNil(b bool)

SetMemoryNil sets the value for Memory to be an explicit nil

UnsetMemory

func (o *RetrievedItem) UnsetMemory()

UnsetMemory ensures that no value is present for Memory, not even an explicit nil

GetChunk

func (o *RetrievedItem) GetChunk() ChunkReference

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

GetChunkOk

func (o *RetrievedItem) GetChunkOk() (*ChunkReference, 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 *RetrievedItem) SetChunk(v ChunkReference)

SetChunk sets Chunk field to given value.

HasChunk

func (o *RetrievedItem) HasChunk() bool

HasChunk returns a boolean if a field has been set.

SetChunkNil

func (o *RetrievedItem) SetChunkNil(b bool)

SetChunkNil sets the value for Chunk to be an explicit nil

UnsetChunk

func (o *RetrievedItem) UnsetChunk()

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