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 => ::P0_a_e_a_b_he}, 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
14664 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14664 def struct_fields; FIELDS; end |
#validate ⇒ Object
14666 14667 14668 14669 14670 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14666 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 |