Class: TalkService::FindSnsIdUserStatus_args
- Inherits:
-
Object
- Object
- TalkService::FindSnsIdUserStatus_args
- Includes:
- Thrift::Struct, Thrift::Struct_Union
- Defined in:
- lib/linerb/gen-rb/talk_service.rb
Constant Summary collapse
- SNSIDTYPE =
2
- SNSACCESSTOKEN =
3
- UDIDHASH =
4
- MIGRATIONPINCODESESSIONID =
5
- OLDUDIDHASH =
6
- FIELDS =
{ SNSIDTYPE => {:type => ::Thrift::Types::I32, :name => 'snsIdType', :enum_class => ::P0_a_e_a_b_jg}, SNSACCESSTOKEN => {:type => ::Thrift::Types::STRING, :name => 'snsAccessToken'}, UDIDHASH => {:type => ::Thrift::Types::STRING, :name => 'udidHash'}, MIGRATIONPINCODESESSIONID => {:type => ::Thrift::Types::STRING, :name => 'migrationPincodeSessionId'}, OLDUDIDHASH => {:type => ::Thrift::Types::STRING, :name => 'oldUdidHash'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
2880 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 2880 def struct_fields; FIELDS; end |
#validate ⇒ Object
2882 2883 2884 2885 2886 |
# File 'lib/linerb/gen-rb/talk_service.rb', line 2882 def validate unless @snsIdType.nil? || ::P0_a_e_a_b_jg::VALID_VALUES.include?(@snsIdType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field snsIdType!') end end |