Class: GetProductSummariesInSubscriptionSlotsRequest
- Inherits:
-
Object
- Object
- GetProductSummariesInSubscriptionSlotsRequest
- 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
- PRODUCTTYPE =
1
- CONTINUATIONTOKEN =
2
- LIMIT =
3
- FIELDS =
{ PRODUCTTYPE => {:type => ::Thrift::Types::I32, :name => 'productType', :enum_class => ::P0_a_a_b_a_a_t1}, CONTINUATIONTOKEN => {:type => ::Thrift::Types::STRING, :name => 'continuationToken'}, LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
10706 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 10706 def struct_fields; FIELDS; end |
#validate ⇒ Object
10708 10709 10710 10711 10712 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 10708 def validate unless @productType.nil? || ::P0_a_a_b_a_a_t1::VALID_VALUES.include?(@productType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field productType!') end end |