Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 3.31 KB

PartitionFieldView.md

File metadata and controls

98 lines (53 loc) · 3.31 KB

PartitionFieldView

Properties

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]

Methods

NewPartitionFieldView

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

NewPartitionFieldViewWithDefaults

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

GetFieldName

func (o *PartitionFieldView) GetFieldName() string

GetFieldName returns the FieldName field if non-nil, zero value otherwise.

GetFieldNameOk

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.

SetFieldName

func (o *PartitionFieldView) SetFieldName(v string)

SetFieldName sets FieldName field to given value.

GetFieldType

func (o *PartitionFieldView) GetFieldType() string

GetFieldType returns the FieldType field if non-nil, zero value otherwise.

GetFieldTypeOk

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.

SetFieldType

func (o *PartitionFieldView) SetFieldType(v string)

SetFieldType sets FieldType field to given value.

HasFieldType

func (o *PartitionFieldView) HasFieldType() bool

HasFieldType returns a boolean if a field has been set.

GetOrder

func (o *PartitionFieldView) GetOrder() int32

GetOrder returns the Order field if non-nil, zero value otherwise.

GetOrderOk

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.

SetOrder

func (o *PartitionFieldView) SetOrder(v int32)

SetOrder sets Order field to given value.

[Back to Model list] [Back to API list] [Back to README]