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)



2222
2223
2224
# File 'lib/kaltura_types.rb', line 2222

def created_at
  @created_at
end

#descriptionObject

The description of the Delivery



2219
2220
2221
# File 'lib/kaltura_types.rb', line 2219

def description
  @description
end

#host_nameObject

the host part of the url



2230
2231
2232
# File 'lib/kaltura_types.rb', line 2230

def host_name
  @host_name
end

#idObject

The id of the Delivery



2206
2207
2208
# File 'lib/kaltura_types.rb', line 2206

def id
  @id
end

#is_defaultObject

True if this is the systemwide default for the protocol



2236
2237
2238
# File 'lib/kaltura_types.rb', line 2236

def is_default
  @is_default
end

#media_protocolsObject

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



2242
2243
2244
# File 'lib/kaltura_types.rb', line 2242

def media_protocols
  @media_protocols
end

#nameObject

The name of the Delivery



2210
2211
2212
# File 'lib/kaltura_types.rb', line 2210

def name
  @name
end

#parent_idObject

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



2239
2240
2241
# File 'lib/kaltura_types.rb', line 2239

def parent_id
  @parent_id
end

#partner_idObject

Returns the value of attribute partner_id.



2207
2208
2209
# File 'lib/kaltura_types.rb', line 2207

def partner_id
  @partner_id
end

#priorityObject

priority used for ordering similar delivery profiles



2245
2246
2247
# File 'lib/kaltura_types.rb', line 2245

def priority
  @priority
end

#recognizerObject

Returns the value of attribute recognizer.



2232
2233
2234
# File 'lib/kaltura_types.rb', line 2232

def recognizer
  @recognizer
end

#statusObject

Returns the value of attribute status.



2231
2232
2233
# File 'lib/kaltura_types.rb', line 2231

def status
  @status
end

#streamer_typeObject

Returns the value of attribute streamer_type.



2226
2227
2228
# File 'lib/kaltura_types.rb', line 2226

def streamer_type
  @streamer_type
end

#system_nameObject

System name of the delivery



2216
2217
2218
# File 'lib/kaltura_types.rb', line 2216

def system_name
  @system_name
end

#tokenizerObject

Returns the value of attribute tokenizer.



2233
2234
2235
# File 'lib/kaltura_types.rb', line 2233

def tokenizer
  @tokenizer
end

#typeObject

Delivery type



2213
2214
2215
# File 'lib/kaltura_types.rb', line 2213

def type
  @type
end

#updated_atObject

Update time as Unix timestamp (In seconds)



2225
2226
2227
# File 'lib/kaltura_types.rb', line 2225

def updated_at
  @updated_at
end

#urlObject

Returns the value of attribute url.



2227
2228
2229
# File 'lib/kaltura_types.rb', line 2227

def url
  @url
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
# File 'lib/kaltura_types.rb', line 2272

def from_xml(xml_element)
	super
	self.id = xml_element.elements['id'].text
	self.partner_id = xml_element.elements['partnerId'].text
	self.name = xml_element.elements['name'].text
	self.type = xml_element.elements['type'].text
	self.system_name = xml_element.elements['systemName'].text
	self.description = xml_element.elements['description'].text
	self.created_at = xml_element.elements['createdAt'].text
	self.updated_at = xml_element.elements['updatedAt'].text
	self.streamer_type = xml_element.elements['streamerType'].text
	self.url = xml_element.elements['url'].text
	self.host_name = xml_element.elements['hostName'].text
	self.status = xml_element.elements['status'].text
	self.recognizer = KalturaClientBase.object_from_xml(xml_element.elements['recognizer'], 'KalturaUrlRecognizer')
	self.tokenizer = KalturaClientBase.object_from_xml(xml_element.elements['tokenizer'], 'KalturaUrlTokenizer')
	self.is_default = xml_element.elements['isDefault'].text
	self.parent_id = xml_element.elements['parentId'].text
	self.media_protocols = xml_element.elements['mediaProtocols'].text
	self.priority = xml_element.elements['priority'].text
end