Name | Type | Description | Notes |
---|---|---|---|
Name | string | ||
Expression | string | A Google CEL expression, expressed as a string. | |
Parameters | Pointer to map[string]ConditionParamTypeRef | A map of parameter names to the parameter's defined type reference. | [optional] |
Metadata | Pointer to ConditionMetadata | [optional] |
func NewCondition(name string, expression string, ) *Condition
NewCondition instantiates a new Condition 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 NewConditionWithDefaults() *Condition
NewConditionWithDefaults instantiates a new Condition 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 *Condition) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Condition) 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 *Condition) SetName(v string)
SetName sets Name field to given value.
func (o *Condition) GetExpression() string
GetExpression returns the Expression field if non-nil, zero value otherwise.
func (o *Condition) GetExpressionOk() (*string, bool)
GetExpressionOk returns a tuple with the Expression field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Condition) SetExpression(v string)
SetExpression sets Expression field to given value.
func (o *Condition) GetParameters() map[string]ConditionParamTypeRef
GetParameters returns the Parameters field if non-nil, zero value otherwise.
func (o *Condition) GetParametersOk() (*map[string]ConditionParamTypeRef, bool)
GetParametersOk returns a tuple with the Parameters field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Condition) SetParameters(v map[string]ConditionParamTypeRef)
SetParameters sets Parameters field to given value.
func (o *Condition) HasParameters() bool
HasParameters returns a boolean if a field has been set.
func (o *Condition) GetMetadata() ConditionMetadata
GetMetadata returns the Metadata field if non-nil, zero value otherwise.
func (o *Condition) GetMetadataOk() (*ConditionMetadata, bool)
GetMetadataOk returns a tuple with the Metadata field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Condition) SetMetadata(v ConditionMetadata)
SetMetadata sets Metadata field to given value.
func (o *Condition) HasMetadata() bool
HasMetadata returns a boolean if a field has been set.