Class: Kaltura::KalturaDeliveryProfile
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaDeliveryProfile
- Defined in:
- lib/kaltura_types.rb
Direct Known Subclasses
KalturaDeliveryProfileAkamaiAppleHttpManifest, KalturaDeliveryProfileAkamaiHds, KalturaDeliveryProfileAkamaiHttp, KalturaDeliveryProfileGenericAppleHttp, KalturaDeliveryProfileGenericHds, KalturaDeliveryProfileGenericHttp, KalturaDeliveryProfileGenericSilverLight, KalturaDeliveryProfileLiveAppleHttp, KalturaDeliveryProfileRtmp
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Creation time as Unix timestamp (In seconds).
-
#description ⇒ Object
The description of the Delivery.
-
#host_name ⇒ Object
the host part of the url.
-
#id ⇒ Object
The id of the Delivery.
-
#is_default ⇒ Object
True if this is the systemwide default for the protocol.
-
#media_protocols ⇒ Object
Comma separated list of supported media protocols.
-
#name ⇒ Object
The name of the Delivery.
-
#parent_id ⇒ Object
the object from which this object was cloned (or 0).
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#priority ⇒ Object
priority used for ordering similar delivery profiles.
-
#recognizer ⇒ Object
Returns the value of attribute recognizer.
-
#status ⇒ Object
Returns the value of attribute status.
-
#streamer_type ⇒ Object
Returns the value of attribute streamer_type.
-
#system_name ⇒ Object
System name of the delivery.
-
#tokenizer ⇒ Object
Returns the value of attribute tokenizer.
-
#type ⇒ Object
Delivery type.
-
#updated_at ⇒ Object
Update time as Unix timestamp (In seconds).
-
#url ⇒ Object
Returns the value of attribute url.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Creation time as Unix timestamp (In seconds)
2222 2223 2224 |
# File 'lib/kaltura_types.rb', line 2222 def created_at @created_at end |
#description ⇒ Object
The description of the Delivery
2219 2220 2221 |
# File 'lib/kaltura_types.rb', line 2219 def description @description end |
#host_name ⇒ Object
the host part of the url
2230 2231 2232 |
# File 'lib/kaltura_types.rb', line 2230 def host_name @host_name end |
#id ⇒ Object
The id of the Delivery
2206 2207 2208 |
# File 'lib/kaltura_types.rb', line 2206 def id @id end |
#is_default ⇒ Object
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_protocols ⇒ Object
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 |
#name ⇒ Object
The name of the Delivery
2210 2211 2212 |
# File 'lib/kaltura_types.rb', line 2210 def name @name end |
#parent_id ⇒ Object
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_id ⇒ Object
Returns the value of attribute partner_id.
2207 2208 2209 |
# File 'lib/kaltura_types.rb', line 2207 def partner_id @partner_id end |
#priority ⇒ Object
priority used for ordering similar delivery profiles
2245 2246 2247 |
# File 'lib/kaltura_types.rb', line 2245 def priority @priority end |
#recognizer ⇒ Object
Returns the value of attribute recognizer.
2232 2233 2234 |
# File 'lib/kaltura_types.rb', line 2232 def recognizer @recognizer end |
#status ⇒ Object
Returns the value of attribute status.
2231 2232 2233 |
# File 'lib/kaltura_types.rb', line 2231 def status @status end |
#streamer_type ⇒ Object
Returns the value of attribute streamer_type.
2226 2227 2228 |
# File 'lib/kaltura_types.rb', line 2226 def streamer_type @streamer_type end |
#system_name ⇒ Object
System name of the delivery
2216 2217 2218 |
# File 'lib/kaltura_types.rb', line 2216 def system_name @system_name end |
#tokenizer ⇒ Object
Returns the value of attribute tokenizer.
2233 2234 2235 |
# File 'lib/kaltura_types.rb', line 2233 def tokenizer @tokenizer end |
#type ⇒ Object
Delivery type
2213 2214 2215 |
# File 'lib/kaltura_types.rb', line 2213 def type @type end |
#updated_at ⇒ Object
Update time as Unix timestamp (In seconds)
2225 2226 2227 |
# File 'lib/kaltura_types.rb', line 2225 def updated_at @updated_at end |
#url ⇒ Object
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 |