Name | Type | Description | Notes |
---|---|---|---|
FieldName | string | Human-readable label that identifies the parameter that MongoDB Cloud uses to partition data. To specify a nested parameter, use the dot notation. | |
FieldType | Pointer to string | Data type of the parameter that that MongoDB Cloud uses to partition data. Partition parameters of type UUID must be of binary subtype 4. MongoDB Cloud skips partition parameters of type UUID with subtype 3. | [optional] [readonly] |
Order | int32 | Sequence in which MongoDB Cloud slices the collection data to create partitions. The resource expresses this sequence starting with zero. The value of the criteria.dateField parameter defaults as the first item in the partition sequence. | [default to 0] |
func NewPartitionFieldView(fieldName string, order int32, ) *PartitionFieldView
NewPartitionFieldView instantiates a new PartitionFieldView 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 NewPartitionFieldViewWithDefaults() *PartitionFieldView
NewPartitionFieldViewWithDefaults instantiates a new PartitionFieldView 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 *PartitionFieldView) GetFieldName() string
GetFieldName returns the FieldName field if non-nil, zero value otherwise.
func (o *PartitionFieldView) GetFieldNameOk() (*string, bool)
GetFieldNameOk returns a tuple with the FieldName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PartitionFieldView) SetFieldName(v string)
SetFieldName sets FieldName field to given value.
func (o *PartitionFieldView) GetFieldType() string
GetFieldType returns the FieldType field if non-nil, zero value otherwise.
func (o *PartitionFieldView) GetFieldTypeOk() (*string, bool)
GetFieldTypeOk returns a tuple with the FieldType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PartitionFieldView) SetFieldType(v string)
SetFieldType sets FieldType field to given value.
func (o *PartitionFieldView) HasFieldType() bool
HasFieldType returns a boolean if a field has been set.
func (o *PartitionFieldView) GetOrder() int32
GetOrder returns the Order field if non-nil, zero value otherwise.
func (o *PartitionFieldView) GetOrderOk() (*int32, bool)
GetOrderOk returns a tuple with the Order field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *PartitionFieldView) SetOrder(v int32)
SetOrder sets Order field to given value.