Class: AuthService::GetAuthRSAKey_args
- Inherits:
-
Object
- Object
- AuthService::GetAuthRSAKey_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/linerb/gen-rb/auth_service.rb
Constant Summary collapse
- AUTHSESSIONID =
2
- IDENTITYPROVIDER =
3
- FIELDS =
{ AUTHSESSIONID => {:type => ::Thrift::Types::STRING, :name => 'authSessionId'}, IDENTITYPROVIDER => {:type => ::Thrift::Types::I32, :name => 'identityProvider', :enum_class => ::P0_a_e_a_b_sc} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
701 |
# File 'lib/linerb/gen-rb/auth_service.rb', line 701 def struct_fields; FIELDS; end |
#validate ⇒ Object
703 704 705 706 707 |
# File 'lib/linerb/gen-rb/auth_service.rb', line 703 def validate unless @identityProvider.nil? || ::P0_a_e_a_b_sc::VALID_VALUES.include?(@identityProvider) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field identityProvider!') end end |