Class: Apcera::StagingPipeline
- Inherits:
-
BaseObject
- Object
- BaseObject
- Apcera::StagingPipeline
- Defined in:
- lib/apcera/models/staging_pipeline.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#created_by ⇒ Object
Returns the value of attribute created_by.
-
#fqn ⇒ Object
Returns the value of attribute fqn.
-
#name ⇒ Object
Returns the value of attribute name.
-
#stagers ⇒ Object
Returns the value of attribute stagers.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
-
#updated_by ⇒ Object
Returns the value of attribute updated_by.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
-
#version_id ⇒ Object
Returns the value of attribute version_id.
Class Method Summary collapse
-
.attribute_map ⇒ Object
attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
attribute type.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ StagingPipeline
constructor
A new instance of StagingPipeline.
Methods inherited from BaseObject
#_deserialize, #_to_hash, #build_from_hash, #to_body, #to_hash, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ StagingPipeline
Returns a new instance of StagingPipeline.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 |
# File 'lib/apcera/models/staging_pipeline.rb', line 55 def initialize(attributes = {}) return if !attributes.is_a?(Hash) || attributes.empty? # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} if attributes[:'created_at'] self.created_at = attributes[:'created_at'] end if attributes[:'created_by'] self.created_by = attributes[:'created_by'] end if attributes[:'fqn'] self.fqn = attributes[:'fqn'] end if attributes[:'name'] self.name = attributes[:'name'] end if attributes[:'stagers'] if (value = attributes[:'stagers']).is_a?(Array) self.stagers = value end end if attributes[:'updated_at'] self.updated_at = attributes[:'updated_at'] end if attributes[:'updated_by'] self.updated_by = attributes[:'updated_by'] end if attributes[:'uuid'] self.uuid = attributes[:'uuid'] end if attributes[:'version_id'] self.version_id = attributes[:'version_id'] end end |
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/apcera/models/staging_pipeline.rb', line 4 def created_at @created_at end |
#created_by ⇒ Object
Returns the value of attribute created_by.
4 5 6 |
# File 'lib/apcera/models/staging_pipeline.rb', line 4 def created_by @created_by end |
#fqn ⇒ Object
Returns the value of attribute fqn.
4 5 6 |
# File 'lib/apcera/models/staging_pipeline.rb', line 4 def fqn @fqn end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/apcera/models/staging_pipeline.rb', line 4 def name @name end |
#stagers ⇒ Object
Returns the value of attribute stagers.
4 5 6 |
# File 'lib/apcera/models/staging_pipeline.rb', line 4 def stagers @stagers end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
4 5 6 |
# File 'lib/apcera/models/staging_pipeline.rb', line 4 def updated_at @updated_at end |
#updated_by ⇒ Object
Returns the value of attribute updated_by.
4 5 6 |
# File 'lib/apcera/models/staging_pipeline.rb', line 4 def updated_by @updated_by end |
#uuid ⇒ Object
Returns the value of attribute uuid.
4 5 6 |
# File 'lib/apcera/models/staging_pipeline.rb', line 4 def uuid @uuid end |
#version_id ⇒ Object
Returns the value of attribute version_id.
4 5 6 |
# File 'lib/apcera/models/staging_pipeline.rb', line 4 def version_id @version_id end |
Class Method Details
.attribute_map ⇒ Object
attribute mapping from ruby-style variable name to JSON key
6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/apcera/models/staging_pipeline.rb', line 6 def self.attribute_map { # The date and time when the staging pipeline was created. :'created_at' => :'created_at', # Principal name of the user who created the staging pipeline. :'created_by' => :'created_by', # Staging pipeline's FQN. :'fqn' => :'fqn', # Staging pipeline's local name. :'name' => :'name', # The list of jobs that will be cloned in order to make the specific stager instances. :'stagers' => :'stagers', # The date and time when the staging pipeline was most recently updated. :'updated_at' => :'updated_at', # Principal name of the user who last updated the staging pipeline. :'updated_by' => :'updated_by', # Staging pipeline's unique identifier. :'uuid' => :'uuid', # Staging pipeline's auto-incremented version number. :'version_id' => :'version_id' } end |
.swagger_types ⇒ Object
attribute type
40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/apcera/models/staging_pipeline.rb', line 40 def self.swagger_types { :'created_at' => :'DateTime', :'created_by' => :'String', :'fqn' => :'String', :'name' => :'String', :'stagers' => :'Array<StagerJob>', :'updated_at' => :'DateTime', :'updated_by' => :'String', :'uuid' => :'String', :'version_id' => :'String' } end |