Class: GetTotalCoinBalanceRequest

Inherits:
Object
  • Object
show all
Includes:
Thrift::Struct, Thrift::Struct_Union
Defined in:
lib/linerb/gen-rb/takagi_chan_types.rb,
lib/linerb/gen-rb/takagi_chan_types.rb

Constant Summary collapse

APPSTORECODE =
1
FIELDS =
{
  APPSTORECODE => {:type => ::Thrift::Types::I32, :name => 'appStoreCode', :enum_class => ::J0_a_e_a_b_ge}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



14125
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14125

def struct_fields; FIELDS; end

#validateObject



14127
14128
14129
14130
14131
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14127

def validate
  unless @appStoreCode.nil? || ::J0_a_e_a_b_ge::VALID_VALUES.include?(@appStoreCode)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field appStoreCode!')
  end
end