Skip to content

Latest commit

 

History

History
129 lines (70 loc) · 4.42 KB

DateMath.md

File metadata and controls

129 lines (70 loc) · 4.42 KB

DateMath

Properties

Name Type Description Notes
Expression string A string value of the date and time components to operation on, along with the math operations to execute.
RoundUp Pointer to bool A boolean value to indicate whether the transform should round up or down when a rounding `/` operation is defined in the expression. If not provided, the transform will default to `false` `true` indicates the transform should round up (i.e., truncate the fractional date/time component indicated and then add one unit of that component) `false` indicates the transform should round down (i.e., truncate the fractional date/time component indicated) [optional]
RequiresPeriodicRefresh Pointer to bool A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process [optional] [default to false]
Input Pointer to map[string]interface{} This is an optional attribute that can explicitly define the input data which will be fed into the transform logic. If input is not provided, the transform will take its input from the source and attribute combination configured via the UI. [optional]

Methods

NewDateMath

func NewDateMath(expression string, ) *DateMath

NewDateMath instantiates a new DateMath 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

NewDateMathWithDefaults

func NewDateMathWithDefaults() *DateMath

NewDateMathWithDefaults instantiates a new DateMath 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

GetExpression

func (o *DateMath) GetExpression() string

GetExpression returns the Expression field if non-nil, zero value otherwise.

GetExpressionOk

func (o *DateMath) 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.

SetExpression

func (o *DateMath) SetExpression(v string)

SetExpression sets Expression field to given value.

GetRoundUp

func (o *DateMath) GetRoundUp() bool

GetRoundUp returns the RoundUp field if non-nil, zero value otherwise.

GetRoundUpOk

func (o *DateMath) GetRoundUpOk() (*bool, bool)

GetRoundUpOk returns a tuple with the RoundUp field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRoundUp

func (o *DateMath) SetRoundUp(v bool)

SetRoundUp sets RoundUp field to given value.

HasRoundUp

func (o *DateMath) HasRoundUp() bool

HasRoundUp returns a boolean if a field has been set.

GetRequiresPeriodicRefresh

func (o *DateMath) GetRequiresPeriodicRefresh() bool

GetRequiresPeriodicRefresh returns the RequiresPeriodicRefresh field if non-nil, zero value otherwise.

GetRequiresPeriodicRefreshOk

func (o *DateMath) GetRequiresPeriodicRefreshOk() (*bool, bool)

GetRequiresPeriodicRefreshOk returns a tuple with the RequiresPeriodicRefresh field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetRequiresPeriodicRefresh

func (o *DateMath) SetRequiresPeriodicRefresh(v bool)

SetRequiresPeriodicRefresh sets RequiresPeriodicRefresh field to given value.

HasRequiresPeriodicRefresh

func (o *DateMath) HasRequiresPeriodicRefresh() bool

HasRequiresPeriodicRefresh returns a boolean if a field has been set.

GetInput

func (o *DateMath) GetInput() map[string]interface{}

GetInput returns the Input field if non-nil, zero value otherwise.

GetInputOk

func (o *DateMath) GetInputOk() (*map[string]interface{}, bool)

GetInputOk returns a tuple with the Input field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetInput

func (o *DateMath) SetInput(v map[string]interface{})

SetInput sets Input field to given value.

HasInput

func (o *DateMath) HasInput() bool

HasInput returns a boolean if a field has been set.

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