Class: EmailConfirmationSession
- Inherits:
-
Object
- Object
- EmailConfirmationSession
- 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
- EMAILCONFIRMATIONTYPE =
1
- VERIFIER =
2
- TARGETEMAIL =
3
- FIELDS =
{ EMAILCONFIRMATIONTYPE => {:type => ::Thrift::Types::I32, :name => 'emailConfirmationType', :enum_class => ::J0_a_e_a_b_aa}, VERIFIER => {:type => ::Thrift::Types::STRING, :name => 'verifier'}, TARGETEMAIL => {:type => ::Thrift::Types::STRING, :name => 'targetEmail'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
12656 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 12656 def struct_fields; FIELDS; end |
#validate ⇒ Object
12658 12659 12660 12661 12662 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 12658 def validate unless @emailConfirmationType.nil? || ::J0_a_e_a_b_aa::VALID_VALUES.include?(@emailConfirmationType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field emailConfirmationType!') end end |