Class: FindRestorablePlanResponse
- Inherits:
-
Object
- Object
- FindRestorablePlanResponse
- 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
- RESULT =
1
- BILLINGITEMID =
2
- STOREORDERID =
3
- ORIGINALSTOREORDERID =
4
- ORDERID =
5
- MID =
6
- FIELDS =
{ RESULT => {:type => ::Thrift::Types::I32, :name => 'result', :enum_class => ::P0_a_a_b_a_a_j3}, BILLINGITEMID => {:type => ::Thrift::Types::STRING, :name => 'billingItemId'}, STOREORDERID => {:type => ::Thrift::Types::STRING, :name => 'storeOrderId'}, ORIGINALSTOREORDERID => {:type => ::Thrift::Types::STRING, :name => 'originalStoreOrderId'}, ORDERID => {:type => ::Thrift::Types::STRING, :name => 'orderId'}, MID => {:type => ::Thrift::Types::STRING, :name => 'mid'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
11727 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11727 def struct_fields; FIELDS; end |
#validate ⇒ Object
11729 11730 11731 11732 11733 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11729 def validate unless @result.nil? || ::P0_a_a_b_a_a_j3::VALID_VALUES.include?(@result) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field result!') end end |