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.



8130
8131
8132
# File 'lib/kaltura_types.rb', line 8130

def created_at
  @created_at
end

#idObject

Returns the value of attribute id.



8126
8127
8128
# File 'lib/kaltura_types.rb', line 8126

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



8128
8129
8130
# File 'lib/kaltura_types.rb', line 8128

def partner_id
  @partner_id
end

#tagsObject

Returns the value of attribute tags.



8129
8130
8131
# File 'lib/kaltura_types.rb', line 8129

def tags
  @tags
end

#typeObject

Returns the value of attribute type.



8127
8128
8129
# File 'lib/kaltura_types.rb', line 8127

def type
  @type
end

#updated_atObject

Returns the value of attribute updated_at.



8131
8132
8133
# File 'lib/kaltura_types.rb', line 8131

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
# File 'lib/kaltura_types.rb', line 8146

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