Class: UserAuthStatus
- Inherits:
-
Object
- Object
- UserAuthStatus
- 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
- PHONENUMBERREGISTERED =
1
- REGISTEREDSNSIDTYPES =
2
- ACCOUNTMIGRATIONCHECKTYPE =
3
- FIELDS =
{ PHONENUMBERREGISTERED => {:type => ::Thrift::Types::BOOL, :name => 'phoneNumberRegistered'}, REGISTEREDSNSIDTYPES => {:type => ::Thrift::Types::LIST, :name => 'registeredSnsIdTypes', :element => {:type => ::Thrift::Types::I32, :enum_class => ::J0_a_e_a_b_ig}}, ACCOUNTMIGRATIONCHECKTYPE => {:type => ::Thrift::Types::I32, :name => 'accountMigrationCheckType', :enum_class => ::J0_a_e_a_b_g} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
15697 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 15697 def struct_fields; FIELDS; end |
#validate ⇒ Object
15699 15700 15701 15702 15703 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 15699 def validate unless @accountMigrationCheckType.nil? || ::J0_a_e_a_b_g::VALID_VALUES.include?(@accountMigrationCheckType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field accountMigrationCheckType!') end end |