Class: FindRestorablePlanRequest
- Inherits:
-
Object
- Object
- FindRestorablePlanRequest
- 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
- SUBSCRIPTIONSERVICE =
1
- STOREORDERIDS =
2
- FIELDS =
{ SUBSCRIPTIONSERVICE => {:type => ::Thrift::Types::I32, :name => 'subscriptionService', :enum_class => ::J0_a_a_b_a_a_v3}, STOREORDERIDS => {:type => ::Thrift::Types::LIST, :name => 'storeOrderIds', :element => {:type => ::Thrift::Types::STRING}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
10614 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 10614 def struct_fields; FIELDS; end |
#validate ⇒ Object
10616 10617 10618 10619 10620 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 10616 def validate unless @subscriptionService.nil? || ::J0_a_a_b_a_a_v3::VALID_VALUES.include?(@subscriptionService) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field subscriptionService!') end end |