Class: Apcera::SemiPipeRule
- Inherits:
-
BaseObject
- Object
- BaseObject
- Apcera::SemiPipeRule
- Defined in:
- lib/apcera/models/semi_pipe_rule.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#created_by ⇒ Object
Returns the value of attribute created_by.
-
#job ⇒ Object
Returns the value of attribute job.
-
#name ⇒ Object
Returns the value of attribute name.
-
#provider ⇒ Object
Returns the value of attribute provider.
-
#service ⇒ Object
Returns the value of attribute service.
-
#type ⇒ Object
Returns the value of attribute type.
-
#uuid ⇒ Object
Returns the value of attribute uuid.
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 = {}) ⇒ SemiPipeRule
constructor
A new instance of SemiPipeRule.
Methods inherited from BaseObject
#_deserialize, #_to_hash, #build_from_hash, #to_body, #to_hash, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ SemiPipeRule
Returns a new instance of SemiPipeRule.
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 |
# File 'lib/apcera/models/semi_pipe_rule.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[:'action'] self.action = attributes[:'action'] end if attributes[:'created_at'] self.created_at = attributes[:'created_at'] end if attributes[:'created_by'] self.created_by = attributes[:'created_by'] end if attributes[:'job'] self.job = attributes[:'job'] end if attributes[:'name'] self.name = attributes[:'name'] end if attributes[:'provider'] self.provider = attributes[:'provider'] end if attributes[:'service'] self.service = attributes[:'service'] end if attributes[:'type'] self.type = attributes[:'type'] end if attributes[:'uuid'] self.uuid = attributes[:'uuid'] end end |
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
4 5 6 |
# File 'lib/apcera/models/semi_pipe_rule.rb', line 4 def action @action end |
#created_at ⇒ Object
Returns the value of attribute created_at.
4 5 6 |
# File 'lib/apcera/models/semi_pipe_rule.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/semi_pipe_rule.rb', line 4 def created_by @created_by end |
#job ⇒ Object
Returns the value of attribute job.
4 5 6 |
# File 'lib/apcera/models/semi_pipe_rule.rb', line 4 def job @job end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/apcera/models/semi_pipe_rule.rb', line 4 def name @name end |
#provider ⇒ Object
Returns the value of attribute provider.
4 5 6 |
# File 'lib/apcera/models/semi_pipe_rule.rb', line 4 def provider @provider end |
#service ⇒ Object
Returns the value of attribute service.
4 5 6 |
# File 'lib/apcera/models/semi_pipe_rule.rb', line 4 def service @service end |
#type ⇒ Object
Returns the value of attribute type.
4 5 6 |
# File 'lib/apcera/models/semi_pipe_rule.rb', line 4 def type @type end |
#uuid ⇒ Object
Returns the value of attribute uuid.
4 5 6 |
# File 'lib/apcera/models/semi_pipe_rule.rb', line 4 def uuid @uuid 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/semi_pipe_rule.rb', line 6 def self.attribute_map { # :'action' => :'action', # Date-time when rule was created. :'created_at' => :'created_at', # User that created the rule. :'created_by' => :'created_by', # Specific job that rule applies to. :'job' => :'job', # Rule name. :'name' => :'name', # Provider used to provision the service, if any. :'provider' => :'provider', # FQN of service to which the rule applies. :'service' => :'service', # Rule type. :'type' => :'type', # Rule's unique identifier. :'uuid' => :'uuid' } end |
.swagger_types ⇒ Object
attribute type
40 41 42 43 44 45 46 47 48 49 50 51 52 53 |
# File 'lib/apcera/models/semi_pipe_rule.rb', line 40 def self.swagger_types { :'action' => :'SemiPipeRuleAction', :'created_at' => :'DateTime', :'created_by' => :'String', :'job' => :'String', :'name' => :'String', :'provider' => :'String', :'service' => :'String', :'type' => :'Integer', :'uuid' => :'String' } end |