class Io::Flow::V0::Models::PriceSourceUndefinedType

Attributes

name[R]

Public Class Methods

new(incoming={}) click to toggle source
Calls superclass method Io::Flow::V0::Models::PriceSource::new
# File lib/flow_commerce/flow_api_v0_client.rb, line 14506
def initialize(incoming={})
  super(:discriminator => 'undefined_type')
  opts = HttpClient::Helper.symbolize_keys(incoming)
  @name = HttpClient::Preconditions.assert_class('name', opts.delete(:discriminator), String)
end

Public Instance Methods

copy(incoming={}) click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 14516
def copy(incoming={})
  raise 'Operation not supported for undefined type'
end
subtype_to_hash() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 14512
def subtype_to_hash
  raise 'Unable to serialize undefined type to json'
end
to_hash() click to toggle source
# File lib/flow_commerce/flow_api_v0_client.rb, line 14520
def to_hash
  raise 'Operation not supported for undefined type'
end