Class: GetCoinHistoryRequest
- Inherits:
-
Object
- Object
- GetCoinHistoryRequest
- 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
- COUNTRY =
2
- LANGUAGE =
3
- SEARCHENDDATE =
4
- OFFSET =
5
- LIMIT =
6
- FIELDS =
{ APPSTORECODE => {:type => ::Thrift::Types::I32, :name => 'appStoreCode', :enum_class => ::J0_a_e_a_b_ge}, COUNTRY => {:type => ::Thrift::Types::STRING, :name => 'country'}, LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}, SEARCHENDDATE => {:type => ::Thrift::Types::STRING, :name => 'searchEndDate'}, OFFSET => {:type => ::Thrift::Types::I32, :name => 'offset', :optional => true}, LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit', :optional => true} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
13575 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13575 def struct_fields; FIELDS; end |
#validate ⇒ Object
13577 13578 13579 13580 13581 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13577 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 |