Class: Kaltura::KalturaUserRole

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.



6637
6638
6639
# File 'lib/kaltura_types.rb', line 6637

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



6632
6633
6634
# File 'lib/kaltura_types.rb', line 6632

def description
  @description
end

#idObject

Returns the value of attribute id.



6629
6630
6631
# File 'lib/kaltura_types.rb', line 6629

def id
  @id
end

#nameObject

Returns the value of attribute name.



6630
6631
6632
# File 'lib/kaltura_types.rb', line 6630

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



6634
6635
6636
# File 'lib/kaltura_types.rb', line 6634

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



6635
6636
6637
# File 'lib/kaltura_types.rb', line 6635

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



6633
6634
6635
# File 'lib/kaltura_types.rb', line 6633

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



6631
6632
6633
# File 'lib/kaltura_types.rb', line 6631

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



6636
6637
6638
# File 'lib/kaltura_types.rb', line 6636

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



6638
6639
6640
# File 'lib/kaltura_types.rb', line 6638

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
# File 'lib/kaltura_types.rb', line 6656

def from_xml(xml_element)
  super
  self.id = xml_element.elements['id'].text
  self.name = xml_element.elements['name'].text
  self.system_name = xml_element.elements['systemName'].text
  self.description = xml_element.elements['description'].text
  self.status = xml_element.elements['status'].text
  self.partner_id = xml_element.elements['partnerId'].text
  self.permission_names = xml_element.elements['permissionNames'].text
  self.tags = xml_element.elements['tags'].text
  self.created_at = xml_element.elements['createdAt'].text
  self.updated_at = xml_element.elements['updatedAt'].text
end