Class: Kaltura::KalturaPermissionItem

Inherits:
KalturaObjectBase show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#created_atObject

Returns the value of attribute created_at.



7951
7952
7953
# File 'lib/kaltura_types.rb', line 7951

def created_at
  @created_at
end

#idObject

Returns the value of attribute id.



7947
7948
7949
# File 'lib/kaltura_types.rb', line 7947

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



7949
7950
7951
# File 'lib/kaltura_types.rb', line 7949

def partner_id
  @partner_id
end

#tagsObject

Returns the value of attribute tags.



7950
7951
7952
# File 'lib/kaltura_types.rb', line 7950

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



7948
7949
7950
# File 'lib/kaltura_types.rb', line 7948

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



7952
7953
7954
# File 'lib/kaltura_types.rb', line 7952

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
# File 'lib/kaltura_types.rb', line 7967

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['partnerId'] != nil
    self.partner_id = xml_element.elements['partnerId'].text
  end
  if xml_element.elements['tags'] != nil
    self.tags = xml_element.elements['tags'].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
end