Class: Kaltura::KalturaAccessControlProfile
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaAccessControlProfile
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Creation time as Unix timestamp (In seconds).
-
#description ⇒ Object
The description of the Access Control Profile.
-
#id ⇒ Object
The id of the Access Control Profile.
-
#is_default ⇒ Object
True if this access control profile is the partner default.
-
#name ⇒ Object
The name of the Access Control Profile.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#rules ⇒ Object
Array of access control rules.
-
#system_name ⇒ Object
System name of the Access Control Profile.
-
#updated_at ⇒ Object
Update time as Unix timestamp (In seconds).
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)
275 276 277 |
# File 'lib/kaltura_types.rb', line 275 def created_at @created_at end |
#description ⇒ Object
The description of the Access Control Profile
273 274 275 |
# File 'lib/kaltura_types.rb', line 273 def description @description end |
#id ⇒ Object
The id of the Access Control Profile
266 267 268 |
# File 'lib/kaltura_types.rb', line 266 def id @id end |
#is_default ⇒ Object
True if this access control profile is the partner default
279 280 281 |
# File 'lib/kaltura_types.rb', line 279 def is_default @is_default end |
#name ⇒ Object
The name of the Access Control Profile
269 270 271 |
# File 'lib/kaltura_types.rb', line 269 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
267 268 269 |
# File 'lib/kaltura_types.rb', line 267 def partner_id @partner_id end |
#rules ⇒ Object
Array of access control rules
281 282 283 |
# File 'lib/kaltura_types.rb', line 281 def rules @rules end |
#system_name ⇒ Object
System name of the Access Control Profile
271 272 273 |
# File 'lib/kaltura_types.rb', line 271 def system_name @system_name end |
#updated_at ⇒ Object
Update time as Unix timestamp (In seconds)
277 278 279 |
# File 'lib/kaltura_types.rb', line 277 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 |
# File 'lib/kaltura_types.rb', line 299 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['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['isDefault'] != nil self.is_default = xml_element.elements['isDefault'].text end if xml_element.elements['rules'] != nil self.rules = KalturaClientBase.object_from_xml(xml_element.elements['rules'], 'KalturaRule') end end |