Class: Io::Flow::V0::Models::ServiceDescriptionUndefinedType
- Inherits:
-
ServiceDescription
- Object
- ServiceDescription
- Io::Flow::V0::Models::ServiceDescriptionUndefinedType
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from ServiceDescription
Instance Method Summary collapse
- #copy(incoming = {}) ⇒ Object
-
#initialize(incoming = {}) ⇒ ServiceDescriptionUndefinedType
constructor
A new instance of ServiceDescriptionUndefinedType.
- #subtype_to_hash ⇒ Object
- #to_hash ⇒ Object
Methods inherited from ServiceDescription
Constructor Details
#initialize(incoming = {}) ⇒ ServiceDescriptionUndefinedType
Returns a new instance of ServiceDescriptionUndefinedType.
15213 15214 15215 15216 15217 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15213 def initialize(incoming={}) super(:discriminator => 'undefined_type') opts = HttpClient::Helper.symbolize_keys(incoming) @name = HttpClient::Preconditions.assert_class('name', opts.delete(:discriminator), String) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
15211 15212 15213 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15211 def name @name end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
15223 15224 15225 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15223 def copy(incoming={}) raise 'Operation not supported for undefined type' end |
#subtype_to_hash ⇒ Object
15219 15220 15221 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15219 def subtype_to_hash raise 'Unable to serialize undefined type to json' end |
#to_hash ⇒ Object
15227 15228 15229 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15227 def to_hash raise 'Operation not supported for undefined type' end |