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.
7932 7933 7934 |
# File 'lib/kaltura_types.rb', line 7932 def created_at @created_at end |
#depends_on_permission_names ⇒ Object
Returns the value of attribute depends_on_permission_names.
7929 7930 7931 |
# File 'lib/kaltura_types.rb', line 7929 def end |
#description ⇒ Object
Returns the value of attribute description.
7926 7927 7928 |
# File 'lib/kaltura_types.rb', line 7926 def description @description end |
#friendly_name ⇒ Object
Returns the value of attribute friendly_name.
7925 7926 7927 |
# File 'lib/kaltura_types.rb', line 7925 def friendly_name @friendly_name end |
#id ⇒ Object
Returns the value of attribute id.
7922 7923 7924 |
# File 'lib/kaltura_types.rb', line 7922 def id @id end |
#name ⇒ Object
Returns the value of attribute name.
7924 7925 7926 |
# File 'lib/kaltura_types.rb', line 7924 def name @name end |
#partner_group ⇒ Object
Returns the value of attribute partner_group.
7934 7935 7936 |
# File 'lib/kaltura_types.rb', line 7934 def partner_group @partner_group end |
#partner_id ⇒ Object
Returns the value of attribute partner_id.
7928 7929 7930 |
# File 'lib/kaltura_types.rb', line 7928 def partner_id @partner_id end |
#permission_items_ids ⇒ Object
Returns the value of attribute permission_items_ids.
7931 7932 7933 |
# File 'lib/kaltura_types.rb', line 7931 def end |
#status ⇒ Object
Returns the value of attribute status.
7927 7928 7929 |
# File 'lib/kaltura_types.rb', line 7927 def status @status end |
#tags ⇒ Object
Returns the value of attribute tags.
7930 7931 7932 |
# File 'lib/kaltura_types.rb', line 7930 def end |
#type ⇒ Object
Returns the value of attribute type.
7923 7924 7925 |
# File 'lib/kaltura_types.rb', line 7923 def type @type end |
#updated_at ⇒ Object
Returns the value of attribute updated_at.
7933 7934 7935 |
# File 'lib/kaltura_types.rb', line 7933 def updated_at @updated_at end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 |
# File 'lib/kaltura_types.rb', line 7955 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 |