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 => ::J0_a_a_b_a_a_i}, RECIPIENTUSERMID => {:type => ::Thrift::Types::STRING, :name => 'recipientUserMid'} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
10465 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 10465 def struct_fields; FIELDS; end |
#validate ⇒ Object
10467 10468 10469 10470 10471 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 10467 def validate unless @tokenStatus.nil? || ::J0_a_a_b_a_a_i::VALID_VALUES.include?(@tokenStatus) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field tokenStatus!') end end |