Class: BirthdayGiftAssociationVerifyResponse
- Inherits:
-
Object
- Object
- BirthdayGiftAssociationVerifyResponse
- 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
- TOKENSTATUS =
1
- RECIPIENTUSERMID =
2
- FIELDS =
{ TOKENSTATUS => {:type => ::Thrift::Types::I32, :name => 'tokenStatus', :enum_class => ::P0_a_a_b_a_a_h}, RECIPIENTUSERMID => {:type => ::Thrift::Types::STRING, :name => 'recipientUserMid'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
11459 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11459 def struct_fields; FIELDS; end |
#validate ⇒ Object
11461 11462 11463 11464 11465 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 11461 def validate unless @tokenStatus.nil? || ::P0_a_a_b_a_a_h::VALID_VALUES.include?(@tokenStatus) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field tokenStatus!') end end |