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.



9963
9964
9965
# File 'lib/kaltura_types.rb', line 9963

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



9958
9959
9960
# File 'lib/kaltura_types.rb', line 9958

def description
  @description
end

#idObject

Returns the value of attribute id.



9955
9956
9957
# File 'lib/kaltura_types.rb', line 9955

def id
  @id
end

#nameObject

Returns the value of attribute name.



9956
9957
9958
# File 'lib/kaltura_types.rb', line 9956

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



9960
9961
9962
# File 'lib/kaltura_types.rb', line 9960

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



9961
9962
9963
# File 'lib/kaltura_types.rb', line 9961

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



9959
9960
9961
# File 'lib/kaltura_types.rb', line 9959

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



9957
9958
9959
# File 'lib/kaltura_types.rb', line 9957

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



9962
9963
9964
# File 'lib/kaltura_types.rb', line 9962

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



9964
9965
9966
# File 'lib/kaltura_types.rb', line 9964

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9982
9983
9984
9985
9986
9987
9988
9989
9990
9991
9992
9993
9994
9995
9996
9997
9998
9999
10000
10001
10002
10003
10004
10005
10006
10007
10008
10009
10010
10011
10012
10013
10014
# File 'lib/kaltura_types.rb', line 9982

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