Skip to content

Latest commit

 

History

History
30 lines (24 loc) · 1.55 KB

ConditionSchema.md

File metadata and controls

30 lines (24 loc) · 1.55 KB

MergeAccountingClient::ConditionSchema

Properties

Name Type Description Notes
id String The ID of the condition schema. This ID is used when updating selective syncs for a linked account.
common_model String The common model for which a condition schema is defined. [optional][readonly]
native_name String User-facing native condition name. e.g. "Skip Manager".
field_name String The name of the field on the common model that this condition corresponds to, if they conceptually match. e.g. "location_type".
is_unique Boolean Whether this condition can only be applied once. If false, the condition can be AND'd together multiple times. [optional]
condition_type ConditionTypeEnum The type of value(s) that can be set for this condition. * `BOOLEAN` - BOOLEAN * `DATE` - DATE * `DATE_TIME` - DATE_TIME * `INTEGER` - INTEGER * `FLOAT` - FLOAT * `STRING` - STRING * `LIST_OF_STRINGS` - LIST_OF_STRINGS
operators Array<OperatorSchema> The schemas for the operators that can be used on a condition.

Example

require 'merge_accounting_client'

instance = MergeAccountingClient::ConditionSchema.new(
  id: null,
  common_model: null,
  native_name: null,
  field_name: null,
  is_unique: null,
  condition_type: null,
  operators: null
)