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)
216 217 218 |
# File 'lib/kaltura_types.rb', line 216 def created_at @created_at end |
#description ⇒ Object
The description of the Access Control Profile
213 214 215 |
# File 'lib/kaltura_types.rb', line 213 def description @description end |
#id ⇒ Object
The id of the Access Control Profile
203 204 205 |
# File 'lib/kaltura_types.rb', line 203 def id @id end |
#is_default ⇒ Object
True if this access control profile is the partner default
222 223 224 |
# File 'lib/kaltura_types.rb', line 222 def is_default @is_default end |
#name ⇒ Object
The name of the Access Control Profile
207 208 209 |
# File 'lib/kaltura_types.rb', line 207 def name @name end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
204 205 206 |
# File 'lib/kaltura_types.rb', line 204 def partner_id @partner_id end |
#rules ⇒ Object
Array of access control rules
225 226 227 |
# File 'lib/kaltura_types.rb', line 225 def rules @rules end |
#system_name ⇒ Object
System name of the Access Control Profile
210 211 212 |
# File 'lib/kaltura_types.rb', line 210 def system_name @system_name end |
#updated_at ⇒ Object
Update time as Unix timestamp (In seconds)
219 220 221 |
# File 'lib/kaltura_types.rb', line 219 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
243 244 245 246 247 248 249 250 251 252 253 254 |
# File 'lib/kaltura_types.rb', line 243 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.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.is_default = xml_element.elements['isDefault'].text self.rules = KalturaClientBase.object_from_xml(xml_element.elements['rules'], 'KalturaRule') end |