Class: AuthLoginRequest
- Inherits:
-
Object
- Object
- AuthLoginRequest
- 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
- AUTHLOGINVERSION =
1
- METADATA =
2
- CIPHERTEXT =
3
- FIELDS =
{ AUTHLOGINVERSION => {:type => ::Thrift::Types::I32, :name => 'authLoginVersion', :enum_class => ::P0_a_e_a_b_h0}, METADATA => {:type => ::Thrift::Types::MAP, :name => 'metaData', :key => {:type => ::Thrift::Types::STRING}, :value => {:type => ::Thrift::Types::STRING}}, CIPHERTEXT => {:type => ::Thrift::Types::STRING, :name => 'cipherText'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
13587 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13587 def struct_fields; FIELDS; end |
#validate ⇒ Object
13589 13590 13591 13592 13593 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 13589 def validate unless @authLoginVersion.nil? || ::P0_a_e_a_b_h0::VALID_VALUES.include?(@authLoginVersion) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field authLoginVersion!') end end |