BatchMemoryResult Model
BatchMemoryResult Model documentation for Go SDK
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Success | bool | Whether this individual operation succeeded | |
| MemoryId | Pointer to NullableString | Memory ID associated with this result (present for batchGet errors and batchDelete results) | [optional] |
| Memory | Pointer to Memory | [optional] | |
| Error | Pointer to ErrorDetail | [optional] |
Methods
NewBatchMemoryResult
func NewBatchMemoryResult(success bool, ) *BatchMemoryResult
NewBatchMemoryResult instantiates a new BatchMemoryResult 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
NewBatchMemoryResultWithDefaults
func NewBatchMemoryResultWithDefaults() *BatchMemoryResult
NewBatchMemoryResultWithDefaults instantiates a new BatchMemoryResult 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
GetSuccess
func (o *BatchMemoryResult) GetSuccess() bool
GetSuccess returns the Success field if non-nil, zero value otherwise.
GetSuccessOk
func (o *BatchMemoryResult) GetSuccessOk() (*bool, bool)
GetSuccessOk returns a tuple with the Success field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSuccess
func (o *BatchMemoryResult) SetSuccess(v bool)
SetSuccess sets Success field to given value.
GetMemoryId
func (o *BatchMemoryResult) GetMemoryId() string
GetMemoryId returns the MemoryId field if non-nil, zero value otherwise.
GetMemoryIdOk
func (o *BatchMemoryResult) 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 *BatchMemoryResult) SetMemoryId(v string)
SetMemoryId sets MemoryId field to given value.
HasMemoryId
func (o *BatchMemoryResult) HasMemoryId() bool
HasMemoryId returns a boolean if a field has been set.
SetMemoryIdNil
func (o *BatchMemoryResult) SetMemoryIdNil(b bool)
SetMemoryIdNil sets the value for MemoryId to be an explicit nil
UnsetMemoryId
func (o *BatchMemoryResult) UnsetMemoryId()
UnsetMemoryId ensures that no value is present for MemoryId, not even an explicit nil
GetMemory
func (o *BatchMemoryResult) GetMemory() Memory
GetMemory returns the Memory field if non-nil, zero value otherwise.
GetMemoryOk
func (o *BatchMemoryResult) 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 *BatchMemoryResult) SetMemory(v Memory)
SetMemory sets Memory field to given value.
HasMemory
func (o *BatchMemoryResult) HasMemory() bool
HasMemory returns a boolean if a field has been set.
GetError
func (o *BatchMemoryResult) GetError() ErrorDetail
GetError returns the Error field if non-nil, zero value otherwise.
GetErrorOk
func (o *BatchMemoryResult) GetErrorOk() (*ErrorDetail, bool)
GetErrorOk returns a tuple with the Error field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetError
func (o *BatchMemoryResult) SetError(v ErrorDetail)
SetError sets Error field to given value.
HasError
func (o *BatchMemoryResult) HasError() bool
HasError returns a boolean if a field has been set.