Class: RubyOctopus::Model::EnvironmentResource
- Inherits:
-
Object
- Object
- RubyOctopus::Model::EnvironmentResource
- Defined in:
- lib/rubyoctopus/model/environmentresource.rb
Overview
A class modeling an Environment in Octopus.
Instance Attribute Summary collapse
-
#allow_dynamic_infrastructure ⇒ Object
Returns the value of attribute allow_dynamic_infrastructure.
-
#description ⇒ Object
Returns the value of attribute description.
-
#extension_settings ⇒ Object
Returns the value of attribute extension_settings.
-
#id ⇒ Object
Returns the value of attribute id.
-
#links ⇒ Object
Returns the value of attribute links.
-
#name ⇒ Object
Returns the value of attribute name.
-
#sort_order ⇒ Object
Returns the value of attribute sort_order.
-
#space_id ⇒ Object
Returns the value of attribute space_id.
-
#use_guided_failure ⇒ Object
Returns the value of attribute use_guided_failure.
Instance Method Summary collapse
-
#initialize(attribute_values) ⇒ EnvironmentResource
constructor
A new instance of EnvironmentResource.
Constructor Details
#initialize(attribute_values) ⇒ EnvironmentResource
Returns a new instance of EnvironmentResource.
10 11 12 13 14 15 16 17 18 19 20 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 10 def initialize(attribute_values) @id = attribute_values["Id"] @space_id = attribute_values["SpaceId"] @name = attribute_values["Name"] @description = attribute_values["Description"] @sort_order = attribute_values["SortOrder"] @use_guided_failure = attribute_values["UseGuidedFailure"] @allow_dynamic_infrastructure = attribute_values["AllowDynamicInfrastructure"] @extension_settings = attribute_values["ExtensionSettings"] @links = attribute_values["Links"] end |
Instance Attribute Details
#allow_dynamic_infrastructure ⇒ Object
Returns the value of attribute allow_dynamic_infrastructure.
7 8 9 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 7 def allow_dynamic_infrastructure @allow_dynamic_infrastructure end |
#description ⇒ Object
Returns the value of attribute description.
7 8 9 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 7 def description @description end |
#extension_settings ⇒ Object
Returns the value of attribute extension_settings.
7 8 9 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 7 def extension_settings @extension_settings end |
#id ⇒ Object
Returns the value of attribute id.
7 8 9 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 7 def id @id end |
#links ⇒ Object
Returns the value of attribute links.
7 8 9 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 7 def links @links end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 7 def name @name end |
#sort_order ⇒ Object
Returns the value of attribute sort_order.
7 8 9 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 7 def sort_order @sort_order end |
#space_id ⇒ Object
Returns the value of attribute space_id.
7 8 9 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 7 def space_id @space_id end |
#use_guided_failure ⇒ Object
Returns the value of attribute use_guided_failure.
7 8 9 |
# File 'lib/rubyoctopus/model/environmentresource.rb', line 7 def use_guided_failure @use_guided_failure end |