Name | Type | Description | Notes |
---|---|---|---|
MaxGram | int32 | Value that specifies the maximum length of generated n-grams. This value must be greater than or equal to minGram. | |
MinGram | int32 | Value that specifies the minimum length of generated n-grams. This value must be less than or equal to maxGram. | |
TermNotInBounds | Pointer to string | Value that indicates whether to index tokens shorter than minGram or longer than maxGram. | [optional] [default to "omit"] |
Type | string | Human-readable label that identifies this token filter type. |
func NewTokenFilteredgeGram(maxGram int32, minGram int32, type_ string, ) *TokenFilteredgeGram
NewTokenFilteredgeGram instantiates a new TokenFilteredgeGram 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 NewTokenFilteredgeGramWithDefaults() *TokenFilteredgeGram
NewTokenFilteredgeGramWithDefaults instantiates a new TokenFilteredgeGram 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 *TokenFilteredgeGram) GetMaxGram() int32
GetMaxGram returns the MaxGram field if non-nil, zero value otherwise.
func (o *TokenFilteredgeGram) GetMaxGramOk() (*int32, bool)
GetMaxGramOk returns a tuple with the MaxGram field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenFilteredgeGram) SetMaxGram(v int32)
SetMaxGram sets MaxGram field to given value.
func (o *TokenFilteredgeGram) GetMinGram() int32
GetMinGram returns the MinGram field if non-nil, zero value otherwise.
func (o *TokenFilteredgeGram) GetMinGramOk() (*int32, bool)
GetMinGramOk returns a tuple with the MinGram field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenFilteredgeGram) SetMinGram(v int32)
SetMinGram sets MinGram field to given value.
func (o *TokenFilteredgeGram) GetTermNotInBounds() string
GetTermNotInBounds returns the TermNotInBounds field if non-nil, zero value otherwise.
func (o *TokenFilteredgeGram) GetTermNotInBoundsOk() (*string, bool)
GetTermNotInBoundsOk returns a tuple with the TermNotInBounds field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenFilteredgeGram) SetTermNotInBounds(v string)
SetTermNotInBounds sets TermNotInBounds field to given value.
func (o *TokenFilteredgeGram) HasTermNotInBounds() bool
HasTermNotInBounds returns a boolean if a field has been set.
func (o *TokenFilteredgeGram) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *TokenFilteredgeGram) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *TokenFilteredgeGram) SetType(v string)
SetType sets Type field to given value.