Class: CoinHistoryCondition
- Inherits:
-
Object
- Object
- CoinHistoryCondition
- 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
- START =
1
- SIZE =
2
- LANGUAGE =
3
- EDDT =
4
- APPSTORECODE =
5
- FIELDS =
{ START => {:type => ::Thrift::Types::I64, :name => 'start'}, SIZE => {:type => ::Thrift::Types::I32, :name => 'size'}, LANGUAGE => {:type => ::Thrift::Types::STRING, :name => 'language'}, EDDT => {:type => ::Thrift::Types::STRING, :name => 'eddt'}, APPSTORECODE => {:type => ::Thrift::Types::I32, :name => 'appStoreCode', :enum_class => ::P0_a_e_a_b_he} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
14006 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14006 def struct_fields; FIELDS; end |
#validate ⇒ Object
14008 14009 14010 14011 14012 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14008 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 |