Class: TalkService::AcquireEncryptedAccessToken_args
- Inherits:
-
Object
- Object
- TalkService::AcquireEncryptedAccessToken_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/linerb/gen-rb/talk_service.rb
Constant Summary collapse
- FEATURETYPE =
2
- FIELDS =
{ FEATURETYPE => {:type => ::Thrift::Types::I32, :name => 'featureType', :enum_class => ::P0_a_e_a_b_oa} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
4544 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 4544 def struct_fields; FIELDS; end |
#validate ⇒ Object
4546 4547 4548 4549 4550 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 4546 def validate unless @featureType.nil? || ::P0_a_e_a_b_oa::VALID_VALUES.include?(@featureType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field featureType!') end end |