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.



10039
10040
10041
# File 'lib/kaltura_types.rb', line 10039

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



10034
10035
10036
# File 'lib/kaltura_types.rb', line 10034

def description
  @description
end

#idObject

Returns the value of attribute id.



10031
10032
10033
# File 'lib/kaltura_types.rb', line 10031

def id
  @id
end

#nameObject

Returns the value of attribute name.



10032
10033
10034
# File 'lib/kaltura_types.rb', line 10032

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



10036
10037
10038
# File 'lib/kaltura_types.rb', line 10036

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



10037
10038
10039
# File 'lib/kaltura_types.rb', line 10037

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



10035
10036
10037
# File 'lib/kaltura_types.rb', line 10035

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



10033
10034
10035
# File 'lib/kaltura_types.rb', line 10033

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



10038
10039
10040
# File 'lib/kaltura_types.rb', line 10038

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



10040
10041
10042
# File 'lib/kaltura_types.rb', line 10040

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10058
10059
10060
10061
10062
10063
10064
10065
10066
10067
10068
10069
10070
10071
10072
10073
10074
10075
10076
10077
10078
10079
10080
10081
10082
10083
10084
10085
10086
10087
10088
10089
10090
# File 'lib/kaltura_types.rb', line 10058

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