Class: Files::AutomationAuthoringSchema
- Inherits:
-
Object
- Object
- Files::AutomationAuthoringSchema
- Defined in:
- lib/files.com/models/automation_authoring_schema.rb
Instance Attribute Summary collapse
-
#attributes ⇒ Object
readonly
Returns the value of attribute attributes.
-
#options ⇒ Object
readonly
Returns the value of attribute options.
Instance Method Summary collapse
-
#definition_schema ⇒ Object
object - JSON Schema for active Automation v2 graph definitions.
-
#error_families ⇒ Object
array(object) - Typed error families accepted by Automation v2 on_error rules.
-
#initialize(attributes = {}, options = {}) ⇒ AutomationAuthoringSchema
constructor
A new instance of AutomationAuthoringSchema.
-
#nodes ⇒ Object
array(object) - Active Automation v2 node authoring metadata.
-
#schema_url ⇒ Object
string - Stable public URL for the Automation v2 graph definition JSON Schema.
Constructor Details
#initialize(attributes = {}, options = {}) ⇒ AutomationAuthoringSchema
Returns a new instance of AutomationAuthoringSchema.
7 8 9 10 |
# File 'lib/files.com/models/automation_authoring_schema.rb', line 7 def initialize(attributes = {}, = {}) @attributes = attributes || {} @options = || {} end |
Instance Attribute Details
#attributes ⇒ Object (readonly)
Returns the value of attribute attributes.
5 6 7 |
# File 'lib/files.com/models/automation_authoring_schema.rb', line 5 def attributes @attributes end |
#options ⇒ Object (readonly)
Returns the value of attribute options.
5 6 7 |
# File 'lib/files.com/models/automation_authoring_schema.rb', line 5 def @options end |
Instance Method Details
#definition_schema ⇒ Object
object - JSON Schema for active Automation v2 graph definitions.
13 14 15 |
# File 'lib/files.com/models/automation_authoring_schema.rb', line 13 def definition_schema @attributes[:definition_schema] end |
#error_families ⇒ Object
array(object) - Typed error families accepted by Automation v2 on_error rules.
18 19 20 |
# File 'lib/files.com/models/automation_authoring_schema.rb', line 18 def error_families @attributes[:error_families] end |
#nodes ⇒ Object
array(object) - Active Automation v2 node authoring metadata.
23 24 25 |
# File 'lib/files.com/models/automation_authoring_schema.rb', line 23 def nodes @attributes[:nodes] end |
#schema_url ⇒ Object
string - Stable public URL for the Automation v2 graph definition JSON Schema.
28 29 30 |
# File 'lib/files.com/models/automation_authoring_schema.rb', line 28 def schema_url @attributes[:schema_url] end |