Class: TalkService::GetRSAKeyInfo_args
- Inherits:
-
Object
- Object
- TalkService::GetRSAKeyInfo_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/linerb/gen-rb/talk_service.rb
Constant Summary collapse
- PROVIDER =
2
- FIELDS =
{ PROVIDER => {:type => ::Thrift::Types::I32, :name => 'provider', :enum_class => ::J0_a_e_a_b_rc} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
2940 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 2940 def struct_fields; FIELDS; end |
#validate ⇒ Object
2942 2943 2944 2945 2946 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 2942 def validate unless @provider.nil? || ::J0_a_e_a_b_rc::VALID_VALUES.include?(@provider) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field provider!') end end |