Class: SnsIdUserStatus
- Inherits:
-
Object
- Object
- SnsIdUserStatus
- 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
- USEREXISTING =
1
- PHONENUMBERREGISTERED =
2
- SAMEDEVICE =
3
- ACCOUNTMIGRATIONCHECKTYPE =
4
- FIELDS =
{ USEREXISTING => {:type => ::Thrift::Types::BOOL, :name => 'userExisting'}, PHONENUMBERREGISTERED => {:type => ::Thrift::Types::BOOL, :name => 'phoneNumberRegistered'}, SAMEDEVICE => {:type => ::Thrift::Types::BOOL, :name => 'sameDevice'}, 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
15477 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 15477 def struct_fields; FIELDS; end |
#validate ⇒ Object
15479 15480 15481 15482 15483 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 15479 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 |