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.



10378
10379
10380
# File 'lib/kaltura_types.rb', line 10378

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



10373
10374
10375
# File 'lib/kaltura_types.rb', line 10373

def description
  @description
end

#idObject

Returns the value of attribute id.



10370
10371
10372
# File 'lib/kaltura_types.rb', line 10370

def id
  @id
end

#nameObject

Returns the value of attribute name.



10371
10372
10373
# File 'lib/kaltura_types.rb', line 10371

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



10375
10376
10377
# File 'lib/kaltura_types.rb', line 10375

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



10376
10377
10378
# File 'lib/kaltura_types.rb', line 10376

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



10374
10375
10376
# File 'lib/kaltura_types.rb', line 10374

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



10372
10373
10374
# File 'lib/kaltura_types.rb', line 10372

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



10377
10378
10379
# File 'lib/kaltura_types.rb', line 10377

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



10379
10380
10381
# File 'lib/kaltura_types.rb', line 10379

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10397
10398
10399
10400
10401
10402
10403
10404
10405
10406
10407
10408
10409
10410
10411
10412
10413
10414
10415
10416
10417
10418
10419
10420
10421
10422
10423
10424
10425
10426
10427
10428
10429
# File 'lib/kaltura_types.rb', line 10397

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