class Message
Constants
- APPEXTENSIONTYPE
- CHUNKS
- CONTENTMETADATA
- CONTENTPREVIEW
- CONTENTTYPE
- CREATEDTIME
- DELIVEREDTIME
- FIELDS
- FROM_
- HASCONTENT
- ID
- LOCATION
- MESSAGERELATIONTYPE
- READCOUNT
- RELATEDMESSAGEID
- RELATEDMESSAGESERVICECODE
- SESSIONID
- TEXT
- TO
- TOTYPE
Public Instance Methods
struct_fields()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 14529 def struct_fields; FIELDS; end
validate()
click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 14531 def validate unless @toType.nil? || ::P0_a_e_a_b_ad::VALID_VALUES.include?(@toType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field toType!') end unless @contentType.nil? || ::P0_a_e_a_b_d9::VALID_VALUES.include?(@contentType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field contentType!') end unless @messageRelationType.nil? || ::P0_a_e_a_b_fd::VALID_VALUES.include?(@messageRelationType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field messageRelationType!') end unless @relatedMessageServiceCode.nil? || ::P0_a_e_a_b_ag::VALID_VALUES.include?(@relatedMessageServiceCode) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field relatedMessageServiceCode!') end unless @appExtensionType.nil? || ::P0_a_e_a_b_y::VALID_VALUES.include?(@appExtensionType) raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field appExtensionType!') end end