GoodMem
ReferenceClient SDKsGo SDKModels

RetrievedItem Model

RetrievedItem Model documentation for Go SDK

Properties

NameTypeDescriptionNotes
MemoryPointer to Memory[optional]
ChunkPointer to ChunkReference[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.

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.

↑ Back to Go SDK ↑ Back to Go SDK ↑ Back to Go SDK