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 => ::P0_a_e_a_b_he}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



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

def struct_fields; FIELDS; end

#validateObject



15205
15206
15207
15208
15209
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 15205

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