Class: Io::Flow::V0::Models::ExpandableItemFunctionUndefinedType
- Inherits:
-
ExpandableItemFunction
- Object
- ExpandableItemFunction
- Io::Flow::V0::Models::ExpandableItemFunctionUndefinedType
- Defined in:
- lib/flow_commerce/flow_api_v0_client.rb
Instance Attribute Summary collapse
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
- #copy(incoming = {}) ⇒ Object
-
#initialize(incoming = {}) ⇒ ExpandableItemFunctionUndefinedType
constructor
A new instance of ExpandableItemFunctionUndefinedType.
- #subtype_to_hash ⇒ Object
- #to_hash ⇒ Object
Methods inherited from ExpandableItemFunction
Constructor Details
#initialize(incoming = {}) ⇒ ExpandableItemFunctionUndefinedType
Returns a new instance of ExpandableItemFunctionUndefinedType.
4266 4267 4268 4269 4270 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 4266 def initialize(incoming={}) super(:name => 'undefined_type') opts = HttpClient::Helper.symbolize_keys(incoming) @name = HttpClient::Preconditions.assert_class('name', opts.delete(:name), String) end |
Instance Attribute Details
#name ⇒ Object (readonly)
Returns the value of attribute name.
4264 4265 4266 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 4264 def name @name end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
4276 4277 4278 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 4276 def copy(incoming={}) raise 'Operation not supported for undefined type' end |
#subtype_to_hash ⇒ Object
4272 4273 4274 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 4272 def subtype_to_hash raise 'Unable to serialize undefined type to json' end |
#to_hash ⇒ Object
4280 4281 4282 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 4280 def to_hash raise 'Operation not supported for undefined type' end |