Name | Type | Description | Notes |
---|---|---|---|
Field | string | Name of the field to use as the first operand in the filter expression. | |
Key | Pointer to string | If `field` is `tag`, this field is required to specify `key` inside the tags. | [optional] |
Value | Pointer to string | Constant value to use as the second operand in the filter expression. This value is required when the relation operator is a binary operator. | [optional] |
Relation | string | Operator of a filter expression. |
func NewFilter(field string, relation string, ) *Filter
NewFilter instantiates a new Filter 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 NewFilterWithDefaults() *Filter
NewFilterWithDefaults instantiates a new Filter 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 *Filter) GetField() string
GetField returns the Field field if non-nil, zero value otherwise.
func (o *Filter) GetFieldOk() (*string, bool)
GetFieldOk returns a tuple with the Field field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Filter) SetField(v string)
SetField sets Field field to given value.
func (o *Filter) GetKey() string
GetKey returns the Key field if non-nil, zero value otherwise.
func (o *Filter) GetKeyOk() (*string, bool)
GetKeyOk returns a tuple with the Key field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Filter) SetKey(v string)
SetKey sets Key field to given value.
func (o *Filter) HasKey() bool
HasKey returns a boolean if a field has been set.
func (o *Filter) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *Filter) GetValueOk() (*string, bool)
GetValueOk returns a tuple with the Value field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Filter) SetValue(v string)
SetValue sets Value field to given value.
func (o *Filter) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *Filter) GetRelation() string
GetRelation returns the Relation field if non-nil, zero value otherwise.
func (o *Filter) GetRelationOk() (*string, bool)
GetRelationOk returns a tuple with the Relation field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Filter) SetRelation(v string)
SetRelation sets Relation field to given value.