Class: Kaltura::KalturaDeliveryProfile

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 time as Unix timestamp (In seconds)



4010
4011
4012
# File 'lib/kaltura_types.rb', line 4010

def created_at
  @created_at
end

#descriptionObject

The description of the Delivery



4008
4009
4010
# File 'lib/kaltura_types.rb', line 4008

def description
  @description
end

#extra_paramsObject

Extra query string parameters that should be added to the url



4029
4030
4031
# File 'lib/kaltura_types.rb', line 4029

def extra_params
  @extra_params
end

#host_nameObject

the host part of the url



4016
4017
4018
# File 'lib/kaltura_types.rb', line 4016

def host_name
  @host_name
end

#idObject

The id of the Delivery



3999
4000
4001
# File 'lib/kaltura_types.rb', line 3999

def id
  @id
end

#is_defaultObject

True if this is the systemwide default for the protocol



4021
4022
4023
# File 'lib/kaltura_types.rb', line 4021

def is_default
  @is_default
end

#media_protocolsObject

Comma separated list of supported media protocols. f.i. rtmpe



4025
4026
4027
# File 'lib/kaltura_types.rb', line 4025

def media_protocols
  @media_protocols
end

#nameObject

The name of the Delivery



4002
4003
4004
# File 'lib/kaltura_types.rb', line 4002

def name
  @name
end

#parent_idObject

the object from which this object was cloned (or 0)



4023
4024
4025
# File 'lib/kaltura_types.rb', line 4023

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



4000
4001
4002
# File 'lib/kaltura_types.rb', line 4000

def partner_id
  @partner_id
end

#priorityObject

priority used for ordering similar delivery profiles



4027
4028
4029
# File 'lib/kaltura_types.rb', line 4027

def priority
  @priority
end

#recognizerObject

Returns the value of attribute recognizer.



4018
4019
4020
# File 'lib/kaltura_types.rb', line 4018

def recognizer
  @recognizer
end

#statusObject

Returns the value of attribute status.



4017
4018
4019
# File 'lib/kaltura_types.rb', line 4017

def status
  @status
end

#streamer_typeObject

Returns the value of attribute streamer_type.



4013
4014
4015
# File 'lib/kaltura_types.rb', line 4013

def streamer_type
  @streamer_type
end

#supplementary_assets_filterObject

A filter that can be used to include additional assets in the URL (e.g. captions)



4031
4032
4033
# File 'lib/kaltura_types.rb', line 4031

def supplementary_assets_filter
  @supplementary_assets_filter
end

#system_nameObject

System name of the delivery



4006
4007
4008
# File 'lib/kaltura_types.rb', line 4006

def system_name
  @system_name
end

#tokenizerObject

Returns the value of attribute tokenizer.



4019
4020
4021
# File 'lib/kaltura_types.rb', line 4019

def tokenizer
  @tokenizer
end

#typeObject

Delivery type



4004
4005
4006
# File 'lib/kaltura_types.rb', line 4004

def type
  @type
end

#updated_atObject

Update time as Unix timestamp (In seconds)



4012
4013
4014
# File 'lib/kaltura_types.rb', line 4012

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



4014
4015
4016
# File 'lib/kaltura_types.rb', line 4014

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
# File 'lib/kaltura_types.rb', line 4058

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['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['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['streamerType'] != nil
		self.streamer_type = xml_element.elements['streamerType'].text
	end
	if xml_element.elements['url'] != nil
		self.url = xml_element.elements['url'].text
	end
	if xml_element.elements['hostName'] != nil
		self.host_name = xml_element.elements['hostName'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['recognizer'] != nil
		self.recognizer = KalturaClientBase.object_from_xml(xml_element.elements['recognizer'], 'KalturaUrlRecognizer')
	end
	if xml_element.elements['tokenizer'] != nil
		self.tokenizer = KalturaClientBase.object_from_xml(xml_element.elements['tokenizer'], 'KalturaUrlTokenizer')
	end
	if xml_element.elements['isDefault'] != nil
		self.is_default = xml_element.elements['isDefault'].text
	end
	if xml_element.elements['parentId'] != nil
		self.parent_id = xml_element.elements['parentId'].text
	end
	if xml_element.elements['mediaProtocols'] != nil
		self.media_protocols = xml_element.elements['mediaProtocols'].text
	end
	if xml_element.elements['priority'] != nil
		self.priority = xml_element.elements['priority'].text
	end
	if xml_element.elements['extraParams'] != nil
		self.extra_params = xml_element.elements['extraParams'].text
	end
	if xml_element.elements['supplementaryAssetsFilter'] != nil
		self.supplementary_assets_filter = KalturaClientBase.object_from_xml(xml_element.elements['supplementaryAssetsFilter'], 'KalturaAssetFilter')
	end
end