Class: GetSubscriptionSlotHistoryRequest
- Inherits:
-
Object
- Object
- GetSubscriptionSlotHistoryRequest
- 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
- CONTINUATIONTOKEN =
2
- LIMIT =
3
- FIELDS =
{ SUBSCRIPTIONSERVICE => {:type => ::Thrift::Types::I32, :name => 'subscriptionService', :enum_class => ::P0_a_a_b_a_a_p3}, CONTINUATIONTOKEN => {:type => ::Thrift::Types::STRING, :name => 'continuationToken'}, LIMIT => {:type => ::Thrift::Types::I32, :name => 'limit'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
11240 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11240 def struct_fields; FIELDS; end |
#validate ⇒ Object
11242 11243 11244 11245 11246 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11242 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 |