Class: IdentityCredentialResponse
- Inherits:
-
Object
- Object
- IdentityCredentialResponse
- 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
- METADATA =
1
- RESPONSETYPE =
2
- CONFIRMATIONVERIFIER =
3
- TIMEOUTINSECONDS =
4
- FIELDS =
{ METADATA => {:type => ::Thrift::Types::MAP, :name => 'metaData', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}, RESPONSETYPE => {:type => ::Thrift::Types::I32, :name => 'responseType', :enum_class => ::J0_a_e_a_b_qc}, CONFIRMATIONVERIFIER => {:type => ::Thrift::Types::STRING, :name => 'confirmationVerifier'}, TIMEOUTINSECONDS => {:type => ::Thrift::Types::I64, :name => 'timeoutInSeconds'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
13530 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13530 def struct_fields; FIELDS; end |
#validate ⇒ Object
13532 13533 13534 13535 13536 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13532 def validate unless @responseType.nil? || ::J0_a_e_a_b_qc::VALID_VALUES.include?(@responseType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field responseType!') end end |