class Radar::Api::Transfer

Constants

DATE
FIELDS
SHARES
STOCK
TYPE

Public Instance Methods

struct_fields() click to toggle source
# File gen/radar/api/transaction_types.rb, line 203
def struct_fields; FIELDS; end
validate() click to toggle source
# File gen/radar/api/transaction_types.rb, line 205
def validate
  unless @type.nil? || ::Radar::Api::TransferType::VALID_VALUES.include?(@type)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!')
  end
end