Class: Kaltura::KalturaControlPanelCommand
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaControlPanelCommand
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#batch_index ⇒ Object
The index of the batch process that the command refers to.
-
#cause ⇒ Object
The reason for the command.
-
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds).
-
#created_by ⇒ Object
Creator name.
-
#created_by_id ⇒ Object
Creator id.
-
#description ⇒ Object
Command description.
-
#error_description ⇒ Object
Error description.
-
#id ⇒ Object
The id of the Category.
-
#scheduler_id ⇒ Object
The id of the scheduler that the command refers to.
-
#status ⇒ Object
The command status.
-
#target_type ⇒ Object
The command target type - data center / scheduler / job / job type.
-
#type ⇒ Object
The command type - stop / start / config.
-
#updated_at ⇒ Object
Update date as Unix timestamp (In seconds).
-
#updated_by ⇒ Object
Updater name.
-
#worker_configured_id ⇒ Object
The id of the scheduler worker as configured in the ini file.
-
#worker_id ⇒ Object
The id of the scheduler worker that the command refers to.
-
#worker_name ⇒ Object
The name of the scheduler worker that the command refers to.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#batch_index ⇒ Object
The index of the batch process that the command refers to
3073 3074 3075 |
# File 'lib/kaltura_types.rb', line 3073 def batch_index @batch_index end |
#cause ⇒ Object
The reason for the command
3081 3082 3083 |
# File 'lib/kaltura_types.rb', line 3081 def cause @cause end |
#created_at ⇒ Object
Creation date as Unix timestamp (In seconds)
3055 3056 3057 |
# File 'lib/kaltura_types.rb', line 3055 def created_at @created_at end |
#created_by ⇒ Object
Creator name
3057 3058 3059 |
# File 'lib/kaltura_types.rb', line 3057 def created_by @created_by end |
#created_by_id ⇒ Object
Creator id
3063 3064 3065 |
# File 'lib/kaltura_types.rb', line 3063 def created_by_id @created_by_id end |
#description ⇒ Object
Command description
3083 3084 3085 |
# File 'lib/kaltura_types.rb', line 3083 def description @description end |
#error_description ⇒ Object
Error description
3085 3086 3087 |
# File 'lib/kaltura_types.rb', line 3085 def error_description @error_description end |
#id ⇒ Object
The id of the Category
3053 3054 3055 |
# File 'lib/kaltura_types.rb', line 3053 def id @id end |
#scheduler_id ⇒ Object
The id of the scheduler that the command refers to
3065 3066 3067 |
# File 'lib/kaltura_types.rb', line 3065 def scheduler_id @scheduler_id end |
#status ⇒ Object
The command status
3079 3080 3081 |
# File 'lib/kaltura_types.rb', line 3079 def status @status end |
#target_type ⇒ Object
The command target type - data center / scheduler / job / job type
3077 3078 3079 |
# File 'lib/kaltura_types.rb', line 3077 def target_type @target_type end |
#type ⇒ Object
The command type - stop / start / config
3075 3076 3077 |
# File 'lib/kaltura_types.rb', line 3075 def type @type end |
#updated_at ⇒ Object
Update date as Unix timestamp (In seconds)
3059 3060 3061 |
# File 'lib/kaltura_types.rb', line 3059 def updated_at @updated_at end |
#updated_by ⇒ Object
Updater name
3061 3062 3063 |
# File 'lib/kaltura_types.rb', line 3061 def updated_by @updated_by end |
#worker_configured_id ⇒ Object
The id of the scheduler worker as configured in the ini file
3069 3070 3071 |
# File 'lib/kaltura_types.rb', line 3069 def worker_configured_id @worker_configured_id end |
#worker_id ⇒ Object
The id of the scheduler worker that the command refers to
3067 3068 3069 |
# File 'lib/kaltura_types.rb', line 3067 def worker_id @worker_id end |
#worker_name ⇒ Object
The name of the scheduler worker that the command refers to
3071 3072 3073 |
# File 'lib/kaltura_types.rb', line 3071 def worker_name @worker_name end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 |
# File 'lib/kaltura_types.rb', line 3124 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 |