# =================================================================================================== # _ __ _ _ # | |/ /__ _| | |_ _ _ _ _ __ _ # | ' . # # @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 KalturaTranscriptProviderType CIELO24 = "cielo24.Cielo24" VOICEBASE = "voicebase.Voicebase" 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 # The provider of the transcript attr_accessor :provider_type def accuracy=(val) @accuracy = val.to_f end def human_verified=(val) @human_verified = val.to_i end def from_xml(xml_element) super if xml_element.elements['accuracy'] != nil self.accuracy = xml_element.elements['accuracy'].text end if xml_element.elements['humanVerified'] != nil self.human_verified = xml_element.elements['humanVerified'].text end if xml_element.elements['language'] != nil self.language = xml_element.elements['language'].text end if xml_element.elements['providerType'] != nil self.provider_type = xml_element.elements['providerType'].text end end end class KalturaEntryTranscriptAssetSearchItem < KalturaSearchItem attr_accessor :content_like attr_accessor :content_multi_like_or attr_accessor :content_multi_like_and def from_xml(xml_element) super if xml_element.elements['contentLike'] != nil self.content_like = xml_element.elements['contentLike'].text end if xml_element.elements['contentMultiLikeOr'] != nil self.content_multi_like_or = xml_element.elements['contentMultiLikeOr'].text end if xml_element.elements['contentMultiLikeAnd'] != nil self.content_multi_like_and = xml_element.elements['contentMultiLikeAnd'].text end end end class KalturaTranscriptAssetListResponse < KalturaListResponse attr_accessor :objects def from_xml(xml_element) super if xml_element.elements['objects'] != nil self.objects = KalturaClientBase.object_from_xml(xml_element.elements['objects'], 'KalturaTranscriptAsset') end 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