Class: GetSecondAuthMethodResponse
- Inherits:
-
Object
- Object
- GetSecondAuthMethodResponse
- 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
- SECONDAUTHMETHOD =
1
- FIELDS =
{ SECONDAUTHMETHOD => {:type => ::Thrift::Types::I32, :name => 'secondAuthMethod', :enum_class => ::G_a_b_z0_a_b_j1} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
6696 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 6696 def struct_fields; FIELDS; end |
#validate ⇒ Object
6698 6699 6700 6701 6702 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 6698 def validate unless @secondAuthMethod.nil? || ::G_a_b_z0_a_b_j1::VALID_VALUES.include?(@secondAuthMethod) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field secondAuthMethod!') end end |