# =================================================================================================== # _ __ _ _ # | |/ /__ _| | |_ _ _ _ _ __ _ # | ' . # # @ignore # =================================================================================================== require 'kaltura_client.rb' require File.dirname(__FILE__) + '/kaltura_attachment_client_plugin.rb' module Kaltura class KalturaTranscriptAssetOrderBy CREATED_AT_ASC = "+createdAt" DELETED_AT_ASC = "+deletedAt" SIZE_ASC = "+size" UPDATED_AT_ASC = "+updatedAt" CREATED_AT_DESC = "-createdAt" DELETED_AT_DESC = "-deletedAt" SIZE_DESC = "-size" UPDATED_AT_DESC = "-updatedAt" end class KalturaTranscriptAsset < KalturaAttachmentAsset # The accuracy of the transcript - values between 0 and 1 # attr_accessor :accuracy # Was verified by human or machine # attr_accessor :human_verified # The language of the transcript # attr_accessor :language def accuracy=(val) @accuracy = val.to_f end def human_verified=(val) @human_verified = val.to_i end def from_xml(xml_element) super self.accuracy = xml_element.elements['accuracy'].text self.human_verified = xml_element.elements['humanVerified'].text self.language = xml_element.elements['language'].text end end class KalturaTranscriptAssetListResponse < KalturaListResponse attr_accessor :objects def from_xml(xml_element) super self.objects = KalturaClientBase.object_from_xml(xml_element.elements['objects'], 'KalturaTranscriptAsset') end end class KalturaTranscriptAssetBaseFilter < KalturaAttachmentAssetFilter def from_xml(xml_element) super end end class KalturaTranscriptAssetFilter < KalturaTranscriptAssetBaseFilter def from_xml(xml_element) super end end end