Name | Type | Description | Notes |
---|---|---|---|
Collation | Pointer to Collation | [optional] | |
Collection | string | Human-readable label of the collection for which MongoDB Cloud creates an index. | |
Db | string | Human-readable label of the database that holds the collection on which MongoDB Cloud creates an index. | |
Keys | []map[string]string | List that contains one or more objects that describe the parameters that you want to index. | |
Options | Pointer to IndexOptions | [optional] |
func NewApiIndexRequestView(collection string, db string, keys []map[string]string, ) *ApiIndexRequestView
NewApiIndexRequestView instantiates a new ApiIndexRequestView 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 NewApiIndexRequestViewWithDefaults() *ApiIndexRequestView
NewApiIndexRequestViewWithDefaults instantiates a new ApiIndexRequestView 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 *ApiIndexRequestView) GetCollation() Collation
GetCollation returns the Collation field if non-nil, zero value otherwise.
func (o *ApiIndexRequestView) GetCollationOk() (*Collation, bool)
GetCollationOk returns a tuple with the Collation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiIndexRequestView) SetCollation(v Collation)
SetCollation sets Collation field to given value.
func (o *ApiIndexRequestView) HasCollation() bool
HasCollation returns a boolean if a field has been set.
func (o *ApiIndexRequestView) GetCollection() string
GetCollection returns the Collection field if non-nil, zero value otherwise.
func (o *ApiIndexRequestView) GetCollectionOk() (*string, bool)
GetCollectionOk returns a tuple with the Collection field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiIndexRequestView) SetCollection(v string)
SetCollection sets Collection field to given value.
func (o *ApiIndexRequestView) GetDb() string
GetDb returns the Db field if non-nil, zero value otherwise.
func (o *ApiIndexRequestView) GetDbOk() (*string, bool)
GetDbOk returns a tuple with the Db field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiIndexRequestView) SetDb(v string)
SetDb sets Db field to given value.
func (o *ApiIndexRequestView) GetKeys() []map[string]string
GetKeys returns the Keys field if non-nil, zero value otherwise.
func (o *ApiIndexRequestView) GetKeysOk() (*[]map[string]string, bool)
GetKeysOk returns a tuple with the Keys field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiIndexRequestView) SetKeys(v []map[string]string)
SetKeys sets Keys field to given value.
func (o *ApiIndexRequestView) GetOptions() IndexOptions
GetOptions returns the Options field if non-nil, zero value otherwise.
func (o *ApiIndexRequestView) GetOptionsOk() (*IndexOptions, bool)
GetOptionsOk returns a tuple with the Options field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *ApiIndexRequestView) SetOptions(v IndexOptions)
SetOptions sets Options field to given value.
func (o *ApiIndexRequestView) HasOptions() bool
HasOptions returns a boolean if a field has been set.