Class: MergeAccountingClient::EventTypeEnum
- Inherits:
-
Object
- Object
- MergeAccountingClient::EventTypeEnum
- Defined in:
- lib/merge_accounting_client/models/event_type_enum.rb
Constant Summary collapse
- CREATED_REMOTE_PRODUCTION_API_KEY =
"CREATED_REMOTE_PRODUCTION_API_KEY".freeze
- DELETED_REMOTE_PRODUCTION_API_KEY =
"DELETED_REMOTE_PRODUCTION_API_KEY".freeze
- CREATED_TEST_API_KEY =
"CREATED_TEST_API_KEY".freeze
- DELETED_TEST_API_KEY =
"DELETED_TEST_API_KEY".freeze
- REGENERATED_PRODUCTION_API_KEY =
"REGENERATED_PRODUCTION_API_KEY".freeze
- INVITED_USER =
"INVITED_USER".freeze
- TWO_FACTOR_AUTH_ENABLED =
"TWO_FACTOR_AUTH_ENABLED".freeze
- TWO_FACTOR_AUTH_DISABLED =
"TWO_FACTOR_AUTH_DISABLED".freeze
- DELETED_LINKED_ACCOUNT =
"DELETED_LINKED_ACCOUNT".freeze
- CREATED_DESTINATION =
"CREATED_DESTINATION".freeze
- DELETED_DESTINATION =
"DELETED_DESTINATION".freeze
- CHANGED_SCOPES =
"CHANGED_SCOPES".freeze
- CHANGED_PERSONAL_INFORMATION =
"CHANGED_PERSONAL_INFORMATION".freeze
- CHANGED_ORGANIZATION_SETTINGS =
"CHANGED_ORGANIZATION_SETTINGS".freeze
- ENABLED_INTEGRATION =
"ENABLED_INTEGRATION".freeze
- DISABLED_INTEGRATION =
"DISABLED_INTEGRATION".freeze
- ENABLED_CATEGORY =
"ENABLED_CATEGORY".freeze
- DISABLED_CATEGORY =
"DISABLED_CATEGORY".freeze
- CHANGED_PASSWORD =
"CHANGED_PASSWORD".freeze
- RESET_PASSWORD =
"RESET_PASSWORD".freeze
- ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION =
"ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION".freeze
- ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT =
"ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT".freeze
- DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION =
"DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION".freeze
- DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT =
"DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT".freeze
- MERGE_NONSTANDARD_VALUE =
"MERGE_NONSTANDARD_VALUE".freeze
Instance Attribute Summary collapse
-
#raw_value ⇒ Object
Returns the value of attribute raw_value.
-
#value ⇒ Object
Returns the value of attribute value.
Class Method Summary collapse
Instance Method Summary collapse
-
#build_from_hash(value) ⇒ String
Builds the enum from string.
Instance Attribute Details
#raw_value ⇒ Object
Returns the value of attribute raw_value.
46 47 48 |
# File 'lib/merge_accounting_client/models/event_type_enum.rb', line 46 def raw_value @raw_value end |
#value ⇒ Object
Returns the value of attribute value.
45 46 47 |
# File 'lib/merge_accounting_client/models/event_type_enum.rb', line 45 def value @value end |
Class Method Details
.build_from_hash(value) ⇒ Object
62 63 64 |
# File 'lib/merge_accounting_client/models/event_type_enum.rb', line 62 def self.build_from_hash(value) EventTypeEnum.new.build_from_hash(value) end |
Instance Method Details
#build_from_hash(value) ⇒ String
Builds the enum from string
51 52 53 54 55 56 57 58 59 60 |
# File 'lib/merge_accounting_client/models/event_type_enum.rb', line 51 def build_from_hash(value) @raw_value = value if ["CREATED_REMOTE_PRODUCTION_API_KEY", "DELETED_REMOTE_PRODUCTION_API_KEY", "CREATED_TEST_API_KEY", "DELETED_TEST_API_KEY", "REGENERATED_PRODUCTION_API_KEY", "INVITED_USER", "TWO_FACTOR_AUTH_ENABLED", "TWO_FACTOR_AUTH_DISABLED", "DELETED_LINKED_ACCOUNT", "CREATED_DESTINATION", "DELETED_DESTINATION", "CHANGED_SCOPES", "CHANGED_PERSONAL_INFORMATION", "CHANGED_ORGANIZATION_SETTINGS", "ENABLED_INTEGRATION", "DISABLED_INTEGRATION", "ENABLED_CATEGORY", "DISABLED_CATEGORY", "CHANGED_PASSWORD", "RESET_PASSWORD", "ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION", "ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT", "DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION", "DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT", ].include? value @value = value else @value = MERGE_NONSTANDARD_VALUE end self end |