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.
8057 8058 8059 |
# File 'lib/kaltura_types.rb', line 8057 def created_at @created_at end |
#depends_on_permission_names ⇒ Object
Returns the value of attribute depends_on_permission_names.
8054 8055 8056 |
# File 'lib/kaltura_types.rb', line 8054 def end |
#description ⇒ Object
Returns the value of attribute description.
8051 8052 8053 |
# File 'lib/kaltura_types.rb', line 8051 def description @description end |
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
8050 8051 8052 |
# File 'lib/kaltura_types.rb', line 8050 def friendly_name @friendly_name end |
#id ⇒ Object
Returns the value of attribute id.
8047 8048 8049 |
# File 'lib/kaltura_types.rb', line 8047 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
8049 8050 8051 |
# File 'lib/kaltura_types.rb', line 8049 def name @name end |
#partner_group ⇒ Object
Returns the value of attribute partner_group.
8059 8060 8061 |
# File 'lib/kaltura_types.rb', line 8059 def partner_group @partner_group end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
8053 8054 8055 |
# File 'lib/kaltura_types.rb', line 8053 def partner_id @partner_id end |
#permission_items_ids ⇒ Object
Returns the value of attribute permission_items_ids.
8056 8057 8058 |
# File 'lib/kaltura_types.rb', line 8056 def end |
#status ⇒ Object
Returns the value of attribute status.
8052 8053 8054 |
# File 'lib/kaltura_types.rb', line 8052 def status @status end |
#tags ⇒ Object
Returns the value of attribute tags.
8055 8056 8057 |
# File 'lib/kaltura_types.rb', line 8055 def end |
#type ⇒ Object
Returns the value of attribute type.
8048 8049 8050 |
# File 'lib/kaltura_types.rb', line 8048 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
8058 8059 8060 |
# File 'lib/kaltura_types.rb', line 8058 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 |
# File 'lib/kaltura_types.rb', line 8080 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 |