Name | Type | Description | Notes |
---|---|---|---|
Name | Pointer to string | The attribute name | [optional] |
Value | Pointer to string | The attribute value | [optional] |
Op | Pointer to string | The operator between name and value | [optional] |
Container | Pointer to bool | If it is a container or a real match term | [optional] [default to false] |
And | Pointer to bool | If it is AND logical operator for the children match terms | [optional] [default to false] |
Children | Pointer to []map[string]interface{} | The children under this match term | [optional] |
func NewMatchTerm() *MatchTerm
NewMatchTerm instantiates a new MatchTerm 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 NewMatchTermWithDefaults() *MatchTerm
NewMatchTermWithDefaults instantiates a new MatchTerm 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 *MatchTerm) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *MatchTerm) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MatchTerm) SetName(v string)
SetName sets Name field to given value.
func (o *MatchTerm) HasName() bool
HasName returns a boolean if a field has been set.
func (o *MatchTerm) GetValue() string
GetValue returns the Value field if non-nil, zero value otherwise.
func (o *MatchTerm) 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 *MatchTerm) SetValue(v string)
SetValue sets Value field to given value.
func (o *MatchTerm) HasValue() bool
HasValue returns a boolean if a field has been set.
func (o *MatchTerm) GetOp() string
GetOp returns the Op field if non-nil, zero value otherwise.
func (o *MatchTerm) GetOpOk() (*string, bool)
GetOpOk returns a tuple with the Op field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MatchTerm) SetOp(v string)
SetOp sets Op field to given value.
func (o *MatchTerm) HasOp() bool
HasOp returns a boolean if a field has been set.
func (o *MatchTerm) GetContainer() bool
GetContainer returns the Container field if non-nil, zero value otherwise.
func (o *MatchTerm) GetContainerOk() (*bool, bool)
GetContainerOk returns a tuple with the Container field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MatchTerm) SetContainer(v bool)
SetContainer sets Container field to given value.
func (o *MatchTerm) HasContainer() bool
HasContainer returns a boolean if a field has been set.
func (o *MatchTerm) GetAnd() bool
GetAnd returns the And field if non-nil, zero value otherwise.
func (o *MatchTerm) GetAndOk() (*bool, bool)
GetAndOk returns a tuple with the And field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MatchTerm) SetAnd(v bool)
SetAnd sets And field to given value.
func (o *MatchTerm) HasAnd() bool
HasAnd returns a boolean if a field has been set.
func (o *MatchTerm) GetChildren() []map[string]interface{}
GetChildren returns the Children field if non-nil, zero value otherwise.
func (o *MatchTerm) GetChildrenOk() (*[]map[string]interface{}, bool)
GetChildrenOk returns a tuple with the Children field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *MatchTerm) SetChildren(v []map[string]interface{})
SetChildren sets Children field to given value.
func (o *MatchTerm) HasChildren() bool
HasChildren returns a boolean if a field has been set.
func (o *MatchTerm) SetChildrenNil(b bool)
SetChildrenNil sets the value for Children to be an explicit nil
func (o *MatchTerm) UnsetChildren()
UnsetChildren ensures that no value is present for Children, not even an explicit nil