Skip to content

Latest commit

 

History

History
119 lines (64 loc) · 3.66 KB

TokenFilteredgeGram.md

File metadata and controls

119 lines (64 loc) · 3.66 KB

TokenFilteredgeGram

Properties

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.

Methods

NewTokenFilteredgeGram

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

NewTokenFilteredgeGramWithDefaults

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

GetMaxGram

func (o *TokenFilteredgeGram) GetMaxGram() int32

GetMaxGram returns the MaxGram field if non-nil, zero value otherwise.

GetMaxGramOk

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.

SetMaxGram

func (o *TokenFilteredgeGram) SetMaxGram(v int32)

SetMaxGram sets MaxGram field to given value.

GetMinGram

func (o *TokenFilteredgeGram) GetMinGram() int32

GetMinGram returns the MinGram field if non-nil, zero value otherwise.

GetMinGramOk

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.

SetMinGram

func (o *TokenFilteredgeGram) SetMinGram(v int32)

SetMinGram sets MinGram field to given value.

GetTermNotInBounds

func (o *TokenFilteredgeGram) GetTermNotInBounds() string

GetTermNotInBounds returns the TermNotInBounds field if non-nil, zero value otherwise.

GetTermNotInBoundsOk

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.

SetTermNotInBounds

func (o *TokenFilteredgeGram) SetTermNotInBounds(v string)

SetTermNotInBounds sets TermNotInBounds field to given value.

HasTermNotInBounds

func (o *TokenFilteredgeGram) HasTermNotInBounds() bool

HasTermNotInBounds returns a boolean if a field has been set.

GetType

func (o *TokenFilteredgeGram) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

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.

SetType

func (o *TokenFilteredgeGram) SetType(v string)

SetType sets Type field to given value.

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