GoodMem
ReferenceClient SDKsGo SDKResponses

MemoryChunkResponse

MemoryChunkResponse documentation for Go SDK

Properties

NameTypeDescriptionNotes
ChunkIdstringUnique identifier of the memory chunk
MemoryIdstringID of the memory this chunk belongs to
ChunkSequenceNumberint32Sequence number of this chunk within the memory
ChunkTextstringThe text content of this chunk
VectorStatusstringStatus of vector processing for this chunk
StartOffsetPointer to NullableInt32Start offset of this chunk in the original content[optional]
EndOffsetPointer to NullableInt32End offset of this chunk in the original content[optional]
CreatedAtint64Creation timestamp (milliseconds since epoch)
UpdatedAtint64Last update timestamp (milliseconds since epoch)
CreatedByIdstringID of the user who created the chunk
UpdatedByIdstringID of the user who last updated the chunk

Methods

NewMemoryChunkResponse

func NewMemoryChunkResponse(chunkId string, memoryId string, chunkSequenceNumber int32, chunkText string, vectorStatus string, createdAt int64, updatedAt int64, createdById string, updatedById string, ) *MemoryChunkResponse

NewMemoryChunkResponse instantiates a new MemoryChunkResponse 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

NewMemoryChunkResponseWithDefaults

func NewMemoryChunkResponseWithDefaults() *MemoryChunkResponse

NewMemoryChunkResponseWithDefaults instantiates a new MemoryChunkResponse 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

GetChunkId

func (o *MemoryChunkResponse) GetChunkId() string

GetChunkId returns the ChunkId field if non-nil, zero value otherwise.

GetChunkIdOk

func (o *MemoryChunkResponse) GetChunkIdOk() (*string, bool)

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

SetChunkId

func (o *MemoryChunkResponse) SetChunkId(v string)

SetChunkId sets ChunkId field to given value.

GetMemoryId

func (o *MemoryChunkResponse) GetMemoryId() string

GetMemoryId returns the MemoryId field if non-nil, zero value otherwise.

GetMemoryIdOk

func (o *MemoryChunkResponse) GetMemoryIdOk() (*string, bool)

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

SetMemoryId

func (o *MemoryChunkResponse) SetMemoryId(v string)

SetMemoryId sets MemoryId field to given value.

GetChunkSequenceNumber

func (o *MemoryChunkResponse) GetChunkSequenceNumber() int32

GetChunkSequenceNumber returns the ChunkSequenceNumber field if non-nil, zero value otherwise.

GetChunkSequenceNumberOk

func (o *MemoryChunkResponse) GetChunkSequenceNumberOk() (*int32, bool)

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

SetChunkSequenceNumber

func (o *MemoryChunkResponse) SetChunkSequenceNumber(v int32)

SetChunkSequenceNumber sets ChunkSequenceNumber field to given value.

GetChunkText

func (o *MemoryChunkResponse) GetChunkText() string

GetChunkText returns the ChunkText field if non-nil, zero value otherwise.

GetChunkTextOk

func (o *MemoryChunkResponse) GetChunkTextOk() (*string, bool)

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

SetChunkText

func (o *MemoryChunkResponse) SetChunkText(v string)

SetChunkText sets ChunkText field to given value.

GetVectorStatus

func (o *MemoryChunkResponse) GetVectorStatus() string

GetVectorStatus returns the VectorStatus field if non-nil, zero value otherwise.

GetVectorStatusOk

func (o *MemoryChunkResponse) GetVectorStatusOk() (*string, bool)

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

SetVectorStatus

func (o *MemoryChunkResponse) SetVectorStatus(v string)

SetVectorStatus sets VectorStatus field to given value.

GetStartOffset

func (o *MemoryChunkResponse) GetStartOffset() int32

GetStartOffset returns the StartOffset field if non-nil, zero value otherwise.

GetStartOffsetOk

func (o *MemoryChunkResponse) GetStartOffsetOk() (*int32, bool)

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

SetStartOffset

func (o *MemoryChunkResponse) SetStartOffset(v int32)

SetStartOffset sets StartOffset field to given value.

HasStartOffset

func (o *MemoryChunkResponse) HasStartOffset() bool

HasStartOffset returns a boolean if a field has been set.

SetStartOffsetNil

func (o *MemoryChunkResponse) SetStartOffsetNil(b bool)

SetStartOffsetNil sets the value for StartOffset to be an explicit nil

UnsetStartOffset

func (o *MemoryChunkResponse) UnsetStartOffset()

UnsetStartOffset ensures that no value is present for StartOffset, not even an explicit nil

GetEndOffset

func (o *MemoryChunkResponse) GetEndOffset() int32

GetEndOffset returns the EndOffset field if non-nil, zero value otherwise.

GetEndOffsetOk

func (o *MemoryChunkResponse) GetEndOffsetOk() (*int32, bool)

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

SetEndOffset

func (o *MemoryChunkResponse) SetEndOffset(v int32)

SetEndOffset sets EndOffset field to given value.

HasEndOffset

func (o *MemoryChunkResponse) HasEndOffset() bool

HasEndOffset returns a boolean if a field has been set.

SetEndOffsetNil

func (o *MemoryChunkResponse) SetEndOffsetNil(b bool)

SetEndOffsetNil sets the value for EndOffset to be an explicit nil

UnsetEndOffset

func (o *MemoryChunkResponse) UnsetEndOffset()

UnsetEndOffset ensures that no value is present for EndOffset, not even an explicit nil

GetCreatedAt

func (o *MemoryChunkResponse) GetCreatedAt() int64

GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.

GetCreatedAtOk

func (o *MemoryChunkResponse) GetCreatedAtOk() (*int64, bool)

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

SetCreatedAt

func (o *MemoryChunkResponse) SetCreatedAt(v int64)

SetCreatedAt sets CreatedAt field to given value.

GetUpdatedAt

func (o *MemoryChunkResponse) GetUpdatedAt() int64

GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.

GetUpdatedAtOk

func (o *MemoryChunkResponse) GetUpdatedAtOk() (*int64, bool)

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

SetUpdatedAt

func (o *MemoryChunkResponse) SetUpdatedAt(v int64)

SetUpdatedAt sets UpdatedAt field to given value.

GetCreatedById

func (o *MemoryChunkResponse) GetCreatedById() string

GetCreatedById returns the CreatedById field if non-nil, zero value otherwise.

GetCreatedByIdOk

func (o *MemoryChunkResponse) GetCreatedByIdOk() (*string, bool)

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

SetCreatedById

func (o *MemoryChunkResponse) SetCreatedById(v string)

SetCreatedById sets CreatedById field to given value.

GetUpdatedById

func (o *MemoryChunkResponse) GetUpdatedById() string

GetUpdatedById returns the UpdatedById field if non-nil, zero value otherwise.

GetUpdatedByIdOk

func (o *MemoryChunkResponse) GetUpdatedByIdOk() (*string, bool)

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

SetUpdatedById

func (o *MemoryChunkResponse) SetUpdatedById(v string)

SetUpdatedById sets UpdatedById field to given value.

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