Class: Kaltura::KalturaPermission
- Inherits:
-
KalturaObjectBase
- Object
- KalturaObjectBase
- Kaltura::KalturaPermission
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#created_at ⇒ Object
Returns the value of attribute created_at.
-
#depends_on_permission_names ⇒ Object
Returns the value of attribute depends_on_permission_names.
-
#description ⇒ Object
Returns the value of attribute description.
-
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
-
#id ⇒ Object
Returns the value of attribute id.
-
#name ⇒ Object
Returns the value of attribute name.
-
#partner_group ⇒ Object
Returns the value of attribute partner_group.
-
#partner_id ⇒ Object
Returns the value of attribute partner_id.
-
#permission_items_ids ⇒ Object
Returns the value of attribute permission_items_ids.
-
#status ⇒ Object
Returns the value of attribute status.
-
#tags ⇒ Object
Returns the value of attribute tags.
-
#type ⇒ Object
Returns the value of attribute type.
-
#updated_at ⇒ Object
Returns the value of attribute updated_at.
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#created_at ⇒ Object
Returns the value of attribute created_at.
8166 8167 8168 |
# File 'lib/kaltura_types.rb', line 8166 def created_at @created_at end |
#depends_on_permission_names ⇒ Object
Returns the value of attribute depends_on_permission_names.
8163 8164 8165 |
# File 'lib/kaltura_types.rb', line 8163 def end |
#description ⇒ Object
Returns the value of attribute description.
8160 8161 8162 |
# File 'lib/kaltura_types.rb', line 8160 def description @description end |
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
8159 8160 8161 |
# File 'lib/kaltura_types.rb', line 8159 def friendly_name @friendly_name end |
#id ⇒ Object
Returns the value of attribute id.
8156 8157 8158 |
# File 'lib/kaltura_types.rb', line 8156 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
8158 8159 8160 |
# File 'lib/kaltura_types.rb', line 8158 def name @name end |
#partner_group ⇒ Object
Returns the value of attribute partner_group.
8168 8169 8170 |
# File 'lib/kaltura_types.rb', line 8168 def partner_group @partner_group end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
8162 8163 8164 |
# File 'lib/kaltura_types.rb', line 8162 def partner_id @partner_id end |
#permission_items_ids ⇒ Object
Returns the value of attribute permission_items_ids.
8165 8166 8167 |
# File 'lib/kaltura_types.rb', line 8165 def end |
#status ⇒ Object
Returns the value of attribute status.
8161 8162 8163 |
# File 'lib/kaltura_types.rb', line 8161 def status @status end |
#tags ⇒ Object
Returns the value of attribute tags.
8164 8165 8166 |
# File 'lib/kaltura_types.rb', line 8164 def end |
#type ⇒ Object
Returns the value of attribute type.
8157 8158 8159 |
# File 'lib/kaltura_types.rb', line 8157 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
8167 8168 8169 |
# File 'lib/kaltura_types.rb', line 8167 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 |
# File 'lib/kaltura_types.rb', line 8189 def from_xml(xml_element) super if xml_element.elements['id'] != nil self.id = xml_element.elements['id'].text end if xml_element.elements['type'] != nil self.type = xml_element.elements['type'].text end if xml_element.elements['name'] != nil self.name = xml_element.elements['name'].text end if xml_element.elements['friendlyName'] != nil self.friendly_name = xml_element.elements['friendlyName'].text end if xml_element.elements['description'] != nil self.description = xml_element.elements['description'].text end if xml_element.elements['status'] != nil self.status = xml_element.elements['status'].text end if xml_element.elements['partnerId'] != nil self.partner_id = xml_element.elements['partnerId'].text end if xml_element.elements['dependsOnPermissionNames'] != nil self. = xml_element.elements['dependsOnPermissionNames'].text end if xml_element.elements['tags'] != nil self. = xml_element.elements['tags'].text end if xml_element.elements['permissionItemsIds'] != nil self. = xml_element.elements['permissionItemsIds'].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['partnerGroup'] != nil self.partner_group = xml_element.elements['partnerGroup'].text end end |