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 => ::P0_a_e_a_b_sc} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
2917 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 2917 def struct_fields; FIELDS; end |
#validate ⇒ Object
2919 2920 2921 2922 2923 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 2919 def validate unless @provider.nil? || ::P0_a_e_a_b_sc::VALID_VALUES.include?(@provider) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field provider!') end end |