Class: IdentityCredentialRequest
- Inherits:
-
Object
- Object
- IdentityCredentialRequest
- 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
- IDENTITYPROVIDER =
2
- CIPHERKEYID =
3
- CIPHERTEXT =
4
- CONFIRMATIONREQUEST =
5
- FIELDS =
{ METADATA => {:type => ::Thrift::Types::MAP, :name => 'metaData', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}, IDENTITYPROVIDER => {:type => ::Thrift::Types::I32, :name => 'identityProvider', :enum_class => ::J0_a_e_a_b_rc}, CIPHERKEYID => {:type => ::Thrift::Types::STRING, :name => 'cipherKeyId'}, CIPHERTEXT => {:type => ::Thrift::Types::STRING, :name => 'cipherText'}, CONFIRMATIONREQUEST => {:type => ::Thrift::Types::STRUCT, :name => 'confirmationRequest', :class => ::IdentifierConfirmationRequest} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
12944 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 12944 def struct_fields; FIELDS; end |
#validate ⇒ Object
12946 12947 12948 12949 12950 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 12946 def validate unless @identityProvider.nil? || ::J0_a_e_a_b_rc::VALID_VALUES.include?(@identityProvider) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field identityProvider!') end end |