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.



10311
10312
10313
# File 'lib/kaltura_types.rb', line 10311

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



10306
10307
10308
# File 'lib/kaltura_types.rb', line 10306

def description
  @description
end

#idObject

Returns the value of attribute id.



10303
10304
10305
# File 'lib/kaltura_types.rb', line 10303

def id
  @id
end

#nameObject

Returns the value of attribute name.



10304
10305
10306
# File 'lib/kaltura_types.rb', line 10304

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



10308
10309
10310
# File 'lib/kaltura_types.rb', line 10308

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



10309
10310
10311
# File 'lib/kaltura_types.rb', line 10309

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



10307
10308
10309
# File 'lib/kaltura_types.rb', line 10307

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



10305
10306
10307
# File 'lib/kaltura_types.rb', line 10305

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



10310
10311
10312
# File 'lib/kaltura_types.rb', line 10310

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



10312
10313
10314
# File 'lib/kaltura_types.rb', line 10312

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10330
10331
10332
10333
10334
10335
10336
10337
10338
10339
10340
10341
10342
10343
10344
10345
10346
10347
10348
10349
10350
10351
10352
10353
10354
10355
10356
10357
10358
10359
10360
10361
10362
# File 'lib/kaltura_types.rb', line 10330

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