MemoryListResponse
MemoryListResponse documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Memories | []Memory | Array of memories in the space | |
| NextToken | Pointer to NullableString | Token for retrieving the next page of results | [optional] |
Methods
NewMemoryListResponse
func NewMemoryListResponse(memories []Memory, ) *MemoryListResponse
NewMemoryListResponse instantiates a new MemoryListResponse 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
NewMemoryListResponseWithDefaults
func NewMemoryListResponseWithDefaults() *MemoryListResponse
NewMemoryListResponseWithDefaults instantiates a new MemoryListResponse 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
GetMemories
func (o *MemoryListResponse) GetMemories() []Memory
GetMemories returns the Memories field if non-nil, zero value otherwise.
GetMemoriesOk
func (o *MemoryListResponse) GetMemoriesOk() (*[]Memory, bool)
GetMemoriesOk returns a tuple with the Memories field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMemories
func (o *MemoryListResponse) SetMemories(v []Memory)
SetMemories sets Memories field to given value.
GetNextToken
func (o *MemoryListResponse) GetNextToken() string
GetNextToken returns the NextToken field if non-nil, zero value otherwise.
GetNextTokenOk
func (o *MemoryListResponse) GetNextTokenOk() (*string, bool)
GetNextTokenOk returns a tuple with the NextToken field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetNextToken
func (o *MemoryListResponse) SetNextToken(v string)
SetNextToken sets NextToken field to given value.
HasNextToken
func (o *MemoryListResponse) HasNextToken() bool
HasNextToken returns a boolean if a field has been set.
SetNextTokenNil
func (o *MemoryListResponse) SetNextTokenNil(b bool)
SetNextTokenNil sets the value for NextToken to be an explicit nil
UnsetNextToken
func (o *MemoryListResponse) UnsetNextToken()
UnsetNextToken ensures that no value is present for NextToken, not even an explicit nil