Class: PayInvitationInfo
- Inherits:
-
Object
- Object
- PayInvitationInfo
- 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
- INVITATIONID =
1
- INVITATIONTYPE =
2
- MESSAGE =
3
- CREATEDATE =
4
- RECEIVEDINFO =
5
- FIELDS =
{ INVITATIONID => {:type => ::Thrift::Types::STRING, :name => 'invitationId'}, INVITATIONTYPE => {:type => ::Thrift::Types::I32, :name => 'invitationType', :enum_class => ::G_a_b_z0_a_d_v}, MESSAGE => {:type => ::Thrift::Types::STRING, :name => 'message'}, CREATEDATE => {:type => ::Thrift::Types::I64, :name => 'createDate'}, RECEIVEDINFO => {:type => ::Thrift::Types::LIST, :name => 'receivedInfo', :element => {:type => ::Thrift::Types::STRUCT, :class => ::PayInvitationUserInfo}} }
Instance Method Summary collapse
Instance Method Details
#struct_fields ⇒ Object
8466 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 8466 def struct_fields; FIELDS; end |
#validate ⇒ Object
8468 8469 8470 8471 8472 |
# File 'lib/linerb/gen-rb/takagi_chan_types.rb', line 8468 def validate unless @invitationType.nil? || ::G_a_b_z0_a_d_v::VALID_VALUES.include?(@invitationType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field invitationType!') end end |