--- id: expression title: Expression pagination_label: Expression sidebar_label: Expression sidebar_class_name: gosdk keywords: ['go', 'Golang', 'sdk', 'Expression', 'Expression'] slug: /tools/sdk/go/v3/models/expression tags: ['SDK', 'Software Development Kit', 'Expression', 'Expression'] --- # Expression ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **Operator** | Pointer to **string** | Operator for the expression | [optional] **Attribute** | Pointer to **NullableString** | Name for the attribute | [optional] **Value** | Pointer to [**NullableValue**](value) | | [optional] **Children** | Pointer to [**[]ExpressionChildrenInner**](expression-children-inner) | List of expressions | [optional] ## Methods ### NewExpression `func NewExpression() *Expression` NewExpression instantiates a new Expression 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 ### NewExpressionWithDefaults `func NewExpressionWithDefaults() *Expression` NewExpressionWithDefaults instantiates a new Expression 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 ### GetOperator `func (o *Expression) GetOperator() string` GetOperator returns the Operator field if non-nil, zero value otherwise. ### GetOperatorOk `func (o *Expression) GetOperatorOk() (*string, bool)` GetOperatorOk returns a tuple with the Operator field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetOperator `func (o *Expression) SetOperator(v string)` SetOperator sets Operator field to given value. ### HasOperator `func (o *Expression) HasOperator() bool` HasOperator returns a boolean if a field has been set. ### GetAttribute `func (o *Expression) GetAttribute() string` GetAttribute returns the Attribute field if non-nil, zero value otherwise. ### GetAttributeOk `func (o *Expression) GetAttributeOk() (*string, bool)` GetAttributeOk returns a tuple with the Attribute field if it's non-nil, zero value otherwise and a boolean to check if the value has been set. ### SetAttribute `func (o *Expression) SetAttribute(v string)` SetAttribute sets Attribute field to given value. ### HasAttribute `func (o *Expression) HasAttribute() bool` HasAttribute returns a boolean if a field has been set. ### SetAttributeNil `func (o *Expression) SetAttributeNil(b bool)` SetAttributeNil sets the value for Attribute to be an explicit nil ### UnsetAttribute `func (o *Expression) UnsetAttribute()` UnsetAttribute ensures that no value is present for Attribute, not even an explicit nil ### GetValue `func (o *Expression) GetValue() Value` GetValue returns the Value field if non-nil, zero value otherwise. ### GetValueOk `func (o *Expression) GetValueOk() (*Value, 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. ### SetValue `func (o *Expression) SetValue(v Value)` SetValue sets Value field to given value. ### HasValue `func (o *Expression) HasValue() bool` HasValue returns a boolean if a field has been set. ### SetValueNil `func (o *Expression) SetValueNil(b bool)` SetValueNil sets the value for Value to be an explicit nil ### UnsetValue `func (o *Expression) UnsetValue()` UnsetValue ensures that no value is present for Value, not even an explicit nil ### GetChildren `func (o *Expression) GetChildren() []ExpressionChildrenInner` GetChildren returns the Children field if non-nil, zero value otherwise. ### GetChildrenOk `func (o *Expression) GetChildrenOk() (*[]ExpressionChildrenInner, 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. ### SetChildren `func (o *Expression) SetChildren(v []ExpressionChildrenInner)` SetChildren sets Children field to given value. ### HasChildren `func (o *Expression) HasChildren() bool` HasChildren returns a boolean if a field has been set. ### SetChildrenNil `func (o *Expression) SetChildrenNil(b bool)` SetChildrenNil sets the value for Children to be an explicit nil ### UnsetChildren `func (o *Expression) UnsetChildren()` UnsetChildren ensures that no value is present for Children, not even an explicit nil