class Comet::StreamableEvent
def to_hash
-
(Hash)- The complete object as a Ruby hash
def to_hash ret = {} ret['Actor'] = @actor ret['OwnerOrganizationID'] = @owner_organization_id unless @resource_id.nil? ret['ResourceID'] = @resource_id end ret['Type'] = @type unless @timestamp.nil? ret['Timestamp'] = @timestamp end unless @type_string.nil? ret['TypeString'] = @type_string end unless @data.nil? ret['Data'] = @data end @unknown_json_fields.each do |k, v| ret[k] = v end ret end