Class: Io::Flow::V0::Models::ShopifyEventBucketUndefinedType
- Inherits:
-
ShopifyEventBucket
- Object
- ShopifyEventBucket
- Io::Flow::V0::Models::ShopifyEventBucketUndefinedType
- 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 ShopifyEventBucket
Instance Method Summary collapse
- #copy(incoming = {}) ⇒ Object
-
#initialize(incoming = {}) ⇒ ShopifyEventBucketUndefinedType
constructor
A new instance of ShopifyEventBucketUndefinedType.
- #subtype_to_hash ⇒ Object
- #to_hash ⇒ Object
Methods inherited from ShopifyEventBucket
Constructor Details
#initialize(incoming = {}) ⇒ ShopifyEventBucketUndefinedType
Returns a new instance of ShopifyEventBucketUndefinedType.
15718 15719 15720 15721 15722 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15718 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.
15716 15717 15718 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15716 def name @name end |
Instance Method Details
#copy(incoming = {}) ⇒ Object
15728 15729 15730 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15728 def copy(incoming={}) raise 'Operation not supported for undefined type' end |
#subtype_to_hash ⇒ Object
15724 15725 15726 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15724 def subtype_to_hash raise 'Unable to serialize undefined type to json' end |
#to_hash ⇒ Object
15732 15733 15734 |
# File 'lib/flow_commerce/flow_api_v0_client.rb', line 15732 def to_hash raise 'Operation not supported for undefined type' end |