Class: GetAcctVerifMethodResponse
- Inherits:
-
Object
- Object
- GetAcctVerifMethodResponse
- 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
- AVAILABLEMETHOD =
1
- SAMEACCOUNTFROMAUTHFACTOR =
2
- FIELDS =
{ AVAILABLEMETHOD => {:type => ::Thrift::Types::I32, :name => 'availableMethod', :enum_class => ::G_a_c_u0_a_b_c}, SAMEACCOUNTFROMAUTHFACTOR => {:type => ::Thrift::Types::BOOL, :name => 'sameAccountFromAuthFactor'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
5621 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 5621 def struct_fields; FIELDS; end |
#validate ⇒ Object
5623 5624 5625 5626 5627 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 5623 def validate unless @availableMethod.nil? || ::G_a_c_u0_a_b_c::VALID_VALUES.include?(@availableMethod) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field availableMethod!') end end |