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.



9869
9870
9871
# File 'lib/kaltura_types.rb', line 9869

def created_at
  @created_at
end

#descriptionObject

Returns the value of attribute description.



9864
9865
9866
# File 'lib/kaltura_types.rb', line 9864

def description
  @description
end

#idObject

Returns the value of attribute id.



9861
9862
9863
# File 'lib/kaltura_types.rb', line 9861

def id
  @id
end

#nameObject

Returns the value of attribute name.



9862
9863
9864
# File 'lib/kaltura_types.rb', line 9862

def name
  @name
end

#partner_idObject

Returns the value of attribute partner_id.



9866
9867
9868
# File 'lib/kaltura_types.rb', line 9866

def partner_id
  @partner_id
end

#permission_namesObject

Returns the value of attribute permission_names.



9867
9868
9869
# File 'lib/kaltura_types.rb', line 9867

def permission_names
  @permission_names
end

#statusObject

Returns the value of attribute status.



9865
9866
9867
# File 'lib/kaltura_types.rb', line 9865

def status
  @status
end

#system_nameObject

Returns the value of attribute system_name.



9863
9864
9865
# File 'lib/kaltura_types.rb', line 9863

def system_name
  @system_name
end

#tagsObject

Returns the value of attribute tags.



9868
9869
9870
# File 'lib/kaltura_types.rb', line 9868

def tags
  @tags
end

#updated_atObject

Returns the value of attribute updated_at.



9870
9871
9872
# File 'lib/kaltura_types.rb', line 9870

def updated_at
  @updated_at
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9888
9889
9890
9891
9892
9893
9894
9895
9896
9897
9898
9899
9900
9901
9902
9903
9904
9905
9906
9907
9908
9909
9910
9911
9912
9913
9914
9915
9916
9917
9918
9919
9920
# File 'lib/kaltura_types.rb', line 9888

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