class Kaltura::KalturaModifyEntryObjectTask

Attributes

input_entitled_users_edit[RW]

The input entitled users edit to set on the entry

input_entitled_users_publish[RW]

The input entitled users publish to set on the entry

input_entitled_users_view[RW]

The input entitled users view to set on the entry

input_metadata[RW]

array of {input metadata xpath location,entry field} objects

input_metadata_profile_id[RW]

The input metadata profile id

input_user_id[RW]

The input user id to set on the entry

output_metadata[RW]

array of {output metadata xpath location,entry field} objects

output_metadata_profile_id[RW]

The output metadata profile id

reset_media_repurposing_process[RW]

Should clear the media repurposing data and therefore reset the process

Public Instance Methods

from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectTask#from_xml
# File lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb, line 354
def from_xml(xml_element)
        super
        if xml_element.elements['inputMetadataProfileId'] != nil
                self.input_metadata_profile_id = xml_element.elements['inputMetadataProfileId'].text
        end
        if xml_element.elements['inputMetadata'] != nil
                self.input_metadata = KalturaClientBase.object_from_xml(xml_element.elements['inputMetadata'], 'KalturaKeyValue')
        end
        if xml_element.elements['outputMetadataProfileId'] != nil
                self.output_metadata_profile_id = xml_element.elements['outputMetadataProfileId'].text
        end
        if xml_element.elements['outputMetadata'] != nil
                self.output_metadata = KalturaClientBase.object_from_xml(xml_element.elements['outputMetadata'], 'KalturaKeyValue')
        end
        if xml_element.elements['inputUserId'] != nil
                self.input_user_id = xml_element.elements['inputUserId'].text
        end
        if xml_element.elements['inputEntitledUsersEdit'] != nil
                self.input_entitled_users_edit = xml_element.elements['inputEntitledUsersEdit'].text
        end
        if xml_element.elements['inputEntitledUsersPublish'] != nil
                self.input_entitled_users_publish = xml_element.elements['inputEntitledUsersPublish'].text
        end
        if xml_element.elements['inputEntitledUsersView'] != nil
                self.input_entitled_users_view = xml_element.elements['inputEntitledUsersView'].text
        end
        if xml_element.elements['resetMediaRepurposingProcess'] != nil
                self.reset_media_repurposing_process = xml_element.elements['resetMediaRepurposingProcess'].text
        end
end
input_metadata_profile_id=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb, line 344
def input_metadata_profile_id=(val)
        @input_metadata_profile_id = val.to_i
end
output_metadata_profile_id=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb, line 347
def output_metadata_profile_id=(val)
        @output_metadata_profile_id = val.to_i
end
reset_media_repurposing_process=(val) click to toggle source
# File lib/kaltura_plugins/kaltura_scheduled_task_client_plugin.rb, line 350
def reset_media_repurposing_process=(val)
        @reset_media_repurposing_process = to_b(val)
end