Class: Kaltura::KalturaEntryDistribution

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_plugins/kaltura_content_distribution_client_plugin.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

#asset_idsObject

Comma separated asset ids



649
650
651
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 649

def asset_ids
  @asset_ids
end

#created_atObject

Entry distribution creation date as Unix timestamp (In seconds)



633
634
635
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 633

def created_at
  @created_at
end

#dirty_statusObject

Returns the value of attribute dirty_status.



643
644
645
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 643

def dirty_status
  @dirty_status
end

#distribution_profile_idObject

Returns the value of attribute distribution_profile_id.



640
641
642
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 640

def distribution_profile_id
  @distribution_profile_id
end

#entry_idObject

Returns the value of attribute entry_id.



638
639
640
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 638

def entry_id
  @entry_id
end

#error_descriptionObject

Returns the value of attribute error_description.



663
664
665
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 663

def error_description
  @error_description
end

#error_numberObject

Returns the value of attribute error_number.



662
663
664
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 662

def error_number
  @error_number
end

#error_typeObject

Returns the value of attribute error_type.



661
662
663
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 661

def error_type
  @error_type
end

#flavor_asset_idsObject

Comma separated flavor asset ids



647
648
649
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 647

def flavor_asset_ids
  @flavor_asset_ids
end

#has_delete_results_logObject

Returns the value of attribute has_delete_results_log.



668
669
670
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 668

def has_delete_results_log
  @has_delete_results_log
end

#has_delete_sent_data_logObject

Returns the value of attribute has_delete_sent_data_log.



669
670
671
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 669

def has_delete_sent_data_log
  @has_delete_sent_data_log
end

#has_submit_results_logObject

Returns the value of attribute has_submit_results_log.



664
665
666
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 664

def has_submit_results_log
  @has_submit_results_log
end

#has_submit_sent_data_logObject

Returns the value of attribute has_submit_sent_data_log.



665
666
667
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 665

def has_submit_sent_data_log
  @has_submit_sent_data_log
end

#has_update_results_logObject

Returns the value of attribute has_update_results_log.



666
667
668
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 666

def has_update_results_log
  @has_update_results_log
end

#has_update_sent_data_logObject

Returns the value of attribute has_update_sent_data_log.



667
668
669
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 667

def has_update_sent_data_log
  @has_update_sent_data_log
end

#idObject

Auto generated unique id



631
632
633
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 631

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



639
640
641
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 639

def partner_id
  @partner_id
end

#playsObject

The plays as retrieved from the remote destination reports



657
658
659
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 657

def plays
  @plays
end

#remote_idObject

The id as returned from the distributed destination



655
656
657
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 655

def remote_id
  @remote_id
end

#statusObject

Returns the value of attribute status.



641
642
643
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 641

def status
  @status
end

#submitted_atObject

Entry distribution submission date as Unix timestamp (In seconds)



637
638
639
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 637

def 
  @submitted_at
end

#sun_statusObject

Returns the value of attribute sun_status.



642
643
644
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 642

def sun_status
  @sun_status
end

#sunriseObject

Entry distribution publish time as Unix timestamp (In seconds)



651
652
653
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 651

def sunrise
  @sunrise
end

#sunsetObject

Entry distribution un-publish time as Unix timestamp (In seconds)



653
654
655
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 653

def sunset
  @sunset
end

#thumb_asset_idsObject

Comma separated thumbnail asset ids



645
646
647
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 645

def thumb_asset_ids
  @thumb_asset_ids
end

#updated_atObject

Entry distribution last update date as Unix timestamp (In seconds)



635
636
637
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 635

def updated_at
  @updated_at
end

#validation_errorsObject

Returns the value of attribute validation_errors.



660
661
662
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 660

def validation_errors
  @validation_errors
end

#viewsObject

The views as retrieved from the remote destination reports



659
660
661
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 659

def views
  @views
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
# File 'lib/kaltura_plugins/kaltura_content_distribution_client_plugin.rb', line 735

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['updatedAt'] != nil
		self.updated_at = xml_element.elements['updatedAt'].text
	end
	if xml_element.elements['submittedAt'] != nil
		self. = xml_element.elements['submittedAt'].text
	end
	if xml_element.elements['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['distributionProfileId'] != nil
		self.distribution_profile_id = xml_element.elements['distributionProfileId'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['sunStatus'] != nil
		self.sun_status = xml_element.elements['sunStatus'].text
	end
	if xml_element.elements['dirtyStatus'] != nil
		self.dirty_status = xml_element.elements['dirtyStatus'].text
	end
	if xml_element.elements['thumbAssetIds'] != nil
		self.thumb_asset_ids = xml_element.elements['thumbAssetIds'].text
	end
	if xml_element.elements['flavorAssetIds'] != nil
		self.flavor_asset_ids = xml_element.elements['flavorAssetIds'].text
	end
	if xml_element.elements['assetIds'] != nil
		self.asset_ids = xml_element.elements['assetIds'].text
	end
	if xml_element.elements['sunrise'] != nil
		self.sunrise = xml_element.elements['sunrise'].text
	end
	if xml_element.elements['sunset'] != nil
		self.sunset = xml_element.elements['sunset'].text
	end
	if xml_element.elements['remoteId'] != nil
		self.remote_id = xml_element.elements['remoteId'].text
	end
	if xml_element.elements['plays'] != nil
		self.plays = xml_element.elements['plays'].text
	end
	if xml_element.elements['views'] != nil
		self.views = xml_element.elements['views'].text
	end
	if xml_element.elements['validationErrors'] != nil
		self.validation_errors = KalturaClientBase.object_from_xml(xml_element.elements['validationErrors'], 'KalturaDistributionValidationError')
	end
	if xml_element.elements['errorType'] != nil
		self.error_type = xml_element.elements['errorType'].text
	end
	if xml_element.elements['errorNumber'] != nil
		self.error_number = xml_element.elements['errorNumber'].text
	end
	if xml_element.elements['errorDescription'] != nil
		self.error_description = xml_element.elements['errorDescription'].text
	end
	if xml_element.elements['hasSubmitResultsLog'] != nil
		self.has_submit_results_log = xml_element.elements['hasSubmitResultsLog'].text
	end
	if xml_element.elements['hasSubmitSentDataLog'] != nil
		self.has_submit_sent_data_log = xml_element.elements['hasSubmitSentDataLog'].text
	end
	if xml_element.elements['hasUpdateResultsLog'] != nil
		self.has_update_results_log = xml_element.elements['hasUpdateResultsLog'].text
	end
	if xml_element.elements['hasUpdateSentDataLog'] != nil
		self.has_update_sent_data_log = xml_element.elements['hasUpdateSentDataLog'].text
	end
	if xml_element.elements['hasDeleteResultsLog'] != nil
		self.has_delete_results_log = xml_element.elements['hasDeleteResultsLog'].text
	end
	if xml_element.elements['hasDeleteSentDataLog'] != nil
		self.has_delete_sent_data_log = xml_element.elements['hasDeleteSentDataLog'].text
	end
end