Class: Kaltura::KalturaBulkUploadResultScheduleResource

Inherits:
KalturaBulkUploadResult show all
Defined in:
lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaBulkUploadResult

#action, #bulk_upload_job_id, #bulk_upload_result_object_type, #error_code, #error_description, #error_type, #id, #line_index, #object_error_description, #object_id, #object_status, #partner_data, #partner_id, #plugins_data, #row_data, #status

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



52
53
54
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 52

def description
  @description
end

#nameObject

Returns the value of attribute name.



49
50
51
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 49

def name
  @name
end

#parent_system_nameObject

Returns the value of attribute parent_system_name.



55
56
57
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 55

def parent_system_name
  @parent_system_name
end

#parent_typeObject

Returns the value of attribute parent_type.



54
55
56
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 54

def parent_type
  @parent_type
end

#resource_idObject

Returns the value of attribute resource_id.



48
49
50
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 48

def resource_id
  @resource_id
end

#system_nameObject

Returns the value of attribute system_name.



51
52
53
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 51

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



53
54
55
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 53

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



50
51
52
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 50

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
# File 'lib/kaltura_plugins/kaltura_schedule_bulk_upload_client_plugin.rb', line 58

def from_xml(xml_element)
  super
  if xml_element.elements['resourceId'] != nil
    self.resource_id = xml_element.elements['resourceId'].text
  end
  if xml_element.elements['name'] != nil
    self.name = xml_element.elements['name'].text
  end
  if xml_element.elements['type'] != nil
    self.type = xml_element.elements['type'].text
  end
  if xml_element.elements['systemName'] != nil
    self.system_name = xml_element.elements['systemName'].text
  end
  if xml_element.elements['description'] != nil
    self.description = xml_element.elements['description'].text
  end
  if xml_element.elements['tags'] != nil
    self.tags = xml_element.elements['tags'].text
  end
  if xml_element.elements['parentType'] != nil
    self.parent_type = xml_element.elements['parentType'].text
  end
  if xml_element.elements['parentSystemName'] != nil
    self.parent_system_name = xml_element.elements['parentSystemName'].text
  end
end