Class: FindRestorablePlanRequest

Inherits:
Object
  • Object
show all
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 => ::P0_a_a_b_a_a_p3},
  STOREORDERIDS => {:type => ::Thrift::Types::LIST, :name => 'storeOrderIds', :element => {:type => ::Thrift::Types::STRING}}
}

Instance Method Summary collapse

Instance Method Details

#struct_fieldsObject



11677
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11677

def struct_fields; FIELDS; end

#validateObject



11679
11680
11681
11682
11683
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11679

def validate
  unless @subscriptionService.nil? || ::P0_a_a_b_a_a_p3::VALID_VALUES.include?(@subscriptionService)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field subscriptionService!')
  end
end