Class: Kaltura::KalturaReport

Inherits:
KalturaObjectBase 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

#created_atObject

Creation date as Unix timestamp (In seconds)



8557
8558
8559
# File 'lib/kaltura_types.rb', line 8557

def created_at
  @created_at
end

#descriptionObject

Report description



8553
8554
8555
# File 'lib/kaltura_types.rb', line 8553

def description
  @description
end

#idObject

Report id



8545
8546
8547
# File 'lib/kaltura_types.rb', line 8545

def id
  @id
end

#nameObject

Report name



8549
8550
8551
# File 'lib/kaltura_types.rb', line 8549

def name
  @name
end

#partner_idObject

Partner id associated with the report



8547
8548
8549
# File 'lib/kaltura_types.rb', line 8547

def partner_id
  @partner_id
end

#queryObject

Report query



8555
8556
8557
# File 'lib/kaltura_types.rb', line 8555

def query
  @query
end

#system_nameObject

Used to identify system reports in a friendly way



8551
8552
8553
# File 'lib/kaltura_types.rb', line 8551

def system_name
  @system_name
end

#updated_atObject

Last update date as Unix timestamp (In seconds)



8559
8560
8561
# File 'lib/kaltura_types.rb', line 8559

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
# File 'lib/kaltura_types.rb', line 8574

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['name'] != nil
		self.name = xml_element.elements['name'].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['query'] != nil
		self.query = xml_element.elements['query'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
end