Class: Kaltura::KalturaCopyPartnerJobData

Inherits:
KalturaJobData show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#from_partner_idObject

Id of the partner to copy from



12496
12497
12498
# File 'lib/kaltura_types.rb', line 12496

def from_partner_id
  @from_partner_id
end

#to_partner_idObject

Id of the partner to copy to



12498
12499
12500
# File 'lib/kaltura_types.rb', line 12498

def to_partner_id
  @to_partner_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



12507
12508
12509
12510
12511
12512
12513
12514
12515
# File 'lib/kaltura_types.rb', line 12507

def from_xml(xml_element)
  super
  if xml_element.elements['fromPartnerId'] != nil
    self.from_partner_id = xml_element.elements['fromPartnerId'].text
  end
  if xml_element.elements['toPartnerId'] != nil
    self.to_partner_id = xml_element.elements['toPartnerId'].text
  end
end