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.



9760
9761
9762
# File 'lib/kaltura_types.rb', line 9760

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



9755
9756
9757
# File 'lib/kaltura_types.rb', line 9755

def description
  @description
end

#idObject

Returns the value of attribute id.



9752
9753
9754
# File 'lib/kaltura_types.rb', line 9752

def id
  @id
end

#nameObject

Returns the value of attribute name.



9753
9754
9755
# File 'lib/kaltura_types.rb', line 9753

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



9757
9758
9759
# File 'lib/kaltura_types.rb', line 9757

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



9758
9759
9760
# File 'lib/kaltura_types.rb', line 9758

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



9756
9757
9758
# File 'lib/kaltura_types.rb', line 9756

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



9754
9755
9756
# File 'lib/kaltura_types.rb', line 9754

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



9759
9760
9761
# File 'lib/kaltura_types.rb', line 9759

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



9761
9762
9763
# File 'lib/kaltura_types.rb', line 9761

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9779
9780
9781
9782
9783
9784
9785
9786
9787
9788
9789
9790
9791
9792
9793
9794
9795
9796
9797
9798
9799
9800
9801
9802
9803
9804
9805
9806
9807
9808
9809
9810
9811
# File 'lib/kaltura_types.rb', line 9779

def from_xml(xml_element)
  super
  if xml_element.elements['id'] != nil
    self.id = xml_element.elements['id'].text
  end
  if xml_element.elements['name'] != nil
    self.name = xml_element.elements['name'].text
  end
  if xml_element.elements['systemName'] != nil
    self.system_name = xml_element.elements['systemName'].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['permissionNames'] != nil
    self.permission_names = xml_element.elements['permissionNames'].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