Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
MemoryQuota | int32 | ||
Replicas | Pointer to int32 | [optional] [default to 1] | |
ConflictResolution | Pointer to ConflictResolution | [optional] [default to CONFLICTRESOLUTION_SEQNO] |
func NewCouchbaseBucketSpec(name string, memoryQuota int32, ) *CouchbaseBucketSpec
NewCouchbaseBucketSpec instantiates a new CouchbaseBucketSpec 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
func NewCouchbaseBucketSpecWithDefaults() *CouchbaseBucketSpec
NewCouchbaseBucketSpecWithDefaults instantiates a new CouchbaseBucketSpec 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
func (o *CouchbaseBucketSpec) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *CouchbaseBucketSpec) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouchbaseBucketSpec) SetName(v string)
SetName sets Name field to given value.
func (o *CouchbaseBucketSpec) GetMemoryQuota() int32
GetMemoryQuota returns the MemoryQuota field if non-nil, zero value otherwise.
func (o *CouchbaseBucketSpec) GetMemoryQuotaOk() (*int32, bool)
GetMemoryQuotaOk returns a tuple with the MemoryQuota field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouchbaseBucketSpec) SetMemoryQuota(v int32)
SetMemoryQuota sets MemoryQuota field to given value.
func (o *CouchbaseBucketSpec) GetReplicas() int32
GetReplicas returns the Replicas field if non-nil, zero value otherwise.
func (o *CouchbaseBucketSpec) GetReplicasOk() (*int32, bool)
GetReplicasOk returns a tuple with the Replicas field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouchbaseBucketSpec) SetReplicas(v int32)
SetReplicas sets Replicas field to given value.
func (o *CouchbaseBucketSpec) HasReplicas() bool
HasReplicas returns a boolean if a field has been set.
func (o *CouchbaseBucketSpec) GetConflictResolution() ConflictResolution
GetConflictResolution returns the ConflictResolution field if non-nil, zero value otherwise.
func (o *CouchbaseBucketSpec) GetConflictResolutionOk() (*ConflictResolution, bool)
GetConflictResolutionOk returns a tuple with the ConflictResolution field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *CouchbaseBucketSpec) SetConflictResolution(v ConflictResolution)
SetConflictResolution sets ConflictResolution field to given value.
func (o *CouchbaseBucketSpec) HasConflictResolution() bool
HasConflictResolution returns a boolean if a field has been set.