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 => ::P0_a_e_a_b_rc}, CONFIRMATIONVERIFIER => {:type => ::Thrift::Types::STRING, :name => 'confirmationVerifier'}, TIMEOUTINSECONDS => {:type => ::Thrift::Types::I64, :name => 'timeoutInSeconds'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
14619 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14619 def struct_fields; FIELDS; end |
#validate ⇒ Object
14621 14622 14623 14624 14625 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 14621 def validate unless @responseType.nil? || ::P0_a_e_a_b_rc::VALID_VALUES.include?(@responseType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field responseType!') end end |