class Kaltura::KalturaControlPanelCommand

Attributes

batch_index[RW]

The index of the batch process that the command refers to

cause[RW]

The reason for the command

created_at[RW]

Creation date as Unix timestamp (In seconds)

created_by[RW]

Creator name

created_by_id[RW]

Creator id

description[RW]

Command description

error_description[RW]

Error description

id[RW]

The id of the Category

scheduler_id[RW]

The id of the scheduler that the command refers to

status[RW]

The command status

target_type[RW]

The command target type - data center / scheduler / job / job type

type[RW]

The command type - stop / start / config

updated_at[RW]

Update date as Unix timestamp (In seconds)

updated_by[RW]

Updater name

worker_configured_id[RW]

The id of the scheduler worker as configured in the ini file

worker_id[RW]

The id of the scheduler worker that the command refers to

worker_name[RW]

The name of the scheduler worker that the command refers to

Public Instance Methods

batch_index=(val) click to toggle source
# File lib/kaltura_types.rb, line 3159
def batch_index=(val)
        @batch_index = val.to_i
end
created_at=(val) click to toggle source
# File lib/kaltura_types.rb, line 3138
def created_at=(val)
        @created_at = val.to_i
end
created_by_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 3144
def created_by_id=(val)
        @created_by_id = val.to_i
end
from_xml(xml_element) click to toggle source
Calls superclass method Kaltura::KalturaObjectBase#from_xml
# File lib/kaltura_types.rb, line 3172
def from_xml(xml_element)
        super
        if xml_element.elements['id'] != nil
                self.id = xml_element.elements['id'].text
        end
        if xml_element.elements['createdAt'] != nil
                self.created_at = xml_element.elements['createdAt'].text
        end
        if xml_element.elements['createdBy'] != nil
                self.created_by = xml_element.elements['createdBy'].text
        end
        if xml_element.elements['updatedAt'] != nil
                self.updated_at = xml_element.elements['updatedAt'].text
        end
        if xml_element.elements['updatedBy'] != nil
                self.updated_by = xml_element.elements['updatedBy'].text
        end
        if xml_element.elements['createdById'] != nil
                self.created_by_id = xml_element.elements['createdById'].text
        end
        if xml_element.elements['schedulerId'] != nil
                self.scheduler_id = xml_element.elements['schedulerId'].text
        end
        if xml_element.elements['workerId'] != nil
                self.worker_id = xml_element.elements['workerId'].text
        end
        if xml_element.elements['workerConfiguredId'] != nil
                self.worker_configured_id = xml_element.elements['workerConfiguredId'].text
        end
        if xml_element.elements['workerName'] != nil
                self.worker_name = xml_element.elements['workerName'].text
        end
        if xml_element.elements['batchIndex'] != nil
                self.batch_index = xml_element.elements['batchIndex'].text
        end
        if xml_element.elements['type'] != nil
                self.type = xml_element.elements['type'].text
        end
        if xml_element.elements['targetType'] != nil
                self.target_type = xml_element.elements['targetType'].text
        end
        if xml_element.elements['status'] != nil
                self.status = xml_element.elements['status'].text
        end
        if xml_element.elements['cause'] != nil
                self.cause = xml_element.elements['cause'].text
        end
        if xml_element.elements['description'] != nil
                self.description = xml_element.elements['description'].text
        end
        if xml_element.elements['errorDescription'] != nil
                self.error_description = xml_element.elements['errorDescription'].text
        end
end
id=(val) click to toggle source
# File lib/kaltura_types.rb, line 3135
def id=(val)
        @id = val.to_i
end
scheduler_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 3147
def scheduler_id=(val)
        @scheduler_id = val.to_i
end
status=(val) click to toggle source
# File lib/kaltura_types.rb, line 3168
def status=(val)
        @status = val.to_i
end
target_type=(val) click to toggle source
# File lib/kaltura_types.rb, line 3165
def target_type=(val)
        @target_type = val.to_i
end
type=(val) click to toggle source
# File lib/kaltura_types.rb, line 3162
def type=(val)
        @type = val.to_i
end
updated_at=(val) click to toggle source
# File lib/kaltura_types.rb, line 3141
def updated_at=(val)
        @updated_at = val.to_i
end
worker_configured_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 3153
def worker_configured_id=(val)
        @worker_configured_id = val.to_i
end
worker_id=(val) click to toggle source
# File lib/kaltura_types.rb, line 3150
def worker_id=(val)
        @worker_id = val.to_i
end
worker_name=(val) click to toggle source
# File lib/kaltura_types.rb, line 3156
def worker_name=(val)
        @worker_name = val.to_i
end