Name | Type | Description | Notes |
---|---|---|---|
Alternate | Pointer to string | Method to handle whitespace and punctuation as base characters for purposes of comparison. | Value |
Backwards | Pointer to bool | Flag that indicates whether strings with diacritics sort from back of the string. Some French dictionary orders strings in this way. | Value |
CaseFirst | Pointer to string | Method to handle sort order of case differences during tertiary level comparisons. | Value |
CaseLevel | Pointer to bool | Flag that indicates whether to include case comparison when `"strength" : 1` or `"strength" : 2`. | Value |
Locale | string | International Components for Unicode (ICU) code that represents a localized language. To specify simple binary comparison, set `"locale" : "simple"`. | |
MaxVariable | Pointer to string | Field that indicates which characters can be ignored when `"alternate" : "shifted"`. This has no affect if `"alternate" : "non-ignorable"`. | Value |
Normalization | Pointer to bool | Flag that indicates whether to check if the text requires normalization and then perform it. Most text doesn't require this normalization processing. | Value |
NumericOrdering | Pointer to bool | Flag that indicates whether to compare sequences of digits as numbers or as strings. | Value |
Strength | Pointer to int32 | Degree of comparison to perform when sorting words. MongoDB Cloud accepts the following values: | Value |
func NewCollation(locale string, ) *Collation
NewCollation instantiates a new Collation 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 NewCollationWithDefaults() *Collation
NewCollationWithDefaults instantiates a new Collation 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 *Collation) GetAlternate() string
GetAlternate returns the Alternate field if non-nil, zero value otherwise.
func (o *Collation) GetAlternateOk() (*string, bool)
GetAlternateOk returns a tuple with the Alternate field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collation) SetAlternate(v string)
SetAlternate sets Alternate field to given value.
func (o *Collation) HasAlternate() bool
HasAlternate returns a boolean if a field has been set.
func (o *Collation) GetBackwards() bool
GetBackwards returns the Backwards field if non-nil, zero value otherwise.
func (o *Collation) GetBackwardsOk() (*bool, bool)
GetBackwardsOk returns a tuple with the Backwards field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collation) SetBackwards(v bool)
SetBackwards sets Backwards field to given value.
func (o *Collation) HasBackwards() bool
HasBackwards returns a boolean if a field has been set.
func (o *Collation) GetCaseFirst() string
GetCaseFirst returns the CaseFirst field if non-nil, zero value otherwise.
func (o *Collation) GetCaseFirstOk() (*string, bool)
GetCaseFirstOk returns a tuple with the CaseFirst field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collation) SetCaseFirst(v string)
SetCaseFirst sets CaseFirst field to given value.
func (o *Collation) HasCaseFirst() bool
HasCaseFirst returns a boolean if a field has been set.
func (o *Collation) GetCaseLevel() bool
GetCaseLevel returns the CaseLevel field if non-nil, zero value otherwise.
func (o *Collation) GetCaseLevelOk() (*bool, bool)
GetCaseLevelOk returns a tuple with the CaseLevel field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collation) SetCaseLevel(v bool)
SetCaseLevel sets CaseLevel field to given value.
func (o *Collation) HasCaseLevel() bool
HasCaseLevel returns a boolean if a field has been set.
func (o *Collation) GetLocale() string
GetLocale returns the Locale field if non-nil, zero value otherwise.
func (o *Collation) GetLocaleOk() (*string, bool)
GetLocaleOk returns a tuple with the Locale field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collation) SetLocale(v string)
SetLocale sets Locale field to given value.
func (o *Collation) GetMaxVariable() string
GetMaxVariable returns the MaxVariable field if non-nil, zero value otherwise.
func (o *Collation) GetMaxVariableOk() (*string, bool)
GetMaxVariableOk returns a tuple with the MaxVariable field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collation) SetMaxVariable(v string)
SetMaxVariable sets MaxVariable field to given value.
func (o *Collation) HasMaxVariable() bool
HasMaxVariable returns a boolean if a field has been set.
func (o *Collation) GetNormalization() bool
GetNormalization returns the Normalization field if non-nil, zero value otherwise.
func (o *Collation) GetNormalizationOk() (*bool, bool)
GetNormalizationOk returns a tuple with the Normalization field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collation) SetNormalization(v bool)
SetNormalization sets Normalization field to given value.
func (o *Collation) HasNormalization() bool
HasNormalization returns a boolean if a field has been set.
func (o *Collation) GetNumericOrdering() bool
GetNumericOrdering returns the NumericOrdering field if non-nil, zero value otherwise.
func (o *Collation) GetNumericOrderingOk() (*bool, bool)
GetNumericOrderingOk returns a tuple with the NumericOrdering field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collation) SetNumericOrdering(v bool)
SetNumericOrdering sets NumericOrdering field to given value.
func (o *Collation) HasNumericOrdering() bool
HasNumericOrdering returns a boolean if a field has been set.
func (o *Collation) GetStrength() int32
GetStrength returns the Strength field if non-nil, zero value otherwise.
func (o *Collation) GetStrengthOk() (*int32, bool)
GetStrengthOk returns a tuple with the Strength field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Collation) SetStrength(v int32)
SetStrength sets Strength field to given value.
func (o *Collation) HasStrength() bool
HasStrength returns a boolean if a field has been set.