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.



10145
10146
10147
# File 'lib/kaltura_types.rb', line 10145

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



10140
10141
10142
# File 'lib/kaltura_types.rb', line 10140

def description
  @description
end

#idObject

Returns the value of attribute id.



10137
10138
10139
# File 'lib/kaltura_types.rb', line 10137

def id
  @id
end

#nameObject

Returns the value of attribute name.



10138
10139
10140
# File 'lib/kaltura_types.rb', line 10138

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



10142
10143
10144
# File 'lib/kaltura_types.rb', line 10142

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



10143
10144
10145
# File 'lib/kaltura_types.rb', line 10143

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



10141
10142
10143
# File 'lib/kaltura_types.rb', line 10141

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



10139
10140
10141
# File 'lib/kaltura_types.rb', line 10139

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



10144
10145
10146
# File 'lib/kaltura_types.rb', line 10144

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



10146
10147
10148
# File 'lib/kaltura_types.rb', line 10146

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10164
10165
10166
10167
10168
10169
10170
10171
10172
10173
10174
10175
10176
10177
10178
10179
10180
10181
10182
10183
10184
10185
10186
10187
10188
10189
10190
10191
10192
10193
10194
10195
10196
# File 'lib/kaltura_types.rb', line 10164

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