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 => ::P0_a_e_a_b_jg}}, ACCOUNTMIGRATIONCHECKTYPE => {:type => ::Thrift::Types::I32, :name => 'accountMigrationCheckType', :enum_class => ::P0_a_e_a_b_g} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
16428 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 16428 def struct_fields; FIELDS; end |
#validate ⇒ Object
16430 16431 16432 16433 16434 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 16430 def validate unless @accountMigrationCheckType.nil? || ::P0_a_e_a_b_g::VALID_VALUES.include?(@accountMigrationCheckType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field accountMigrationCheckType!') end end |