class Chat

Constants

CHATMID
CHATNAME
CREATEDTIME
EXTRA
FAVORITETIMESTAMP
FIELDS
NOTIFICATIONDISABLED
PICTUREPATH
TYPE

Public Instance Methods

struct_fields() click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 13523
def struct_fields; FIELDS; end
validate() click to toggle source
# File lib/linerb/gen-rb/takagi_chan_types.rb, line 13525
def validate
  unless @type.nil? || ::P0_a_e_a_b_r7::VALID_VALUES.include?(@type)
    raise ::Thrift::ProtocolException.new(::Thrift::ProtocolException::UNKNOWN, 'Invalid value of field type!')
  end
end