Class: Kaltura::KalturaGroupUser

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

Creation date as Unix timestamp (In seconds)



5796
5797
5798
# File 'lib/kaltura_types.rb', line 5796

def created_at
  @created_at
end

#creation_modeObject

Returns the value of attribute creation_mode.



5799
5800
5801
# File 'lib/kaltura_types.rb', line 5799

def creation_mode
  @creation_mode
end

#group_idObject

Returns the value of attribute group_id.



5792
5793
5794
# File 'lib/kaltura_types.rb', line 5792

def group_id
  @group_id
end

#idObject

Returns the value of attribute id.



5790
5791
5792
# File 'lib/kaltura_types.rb', line 5790

def id
  @id
end

#partner_idObject

Returns the value of attribute partner_id.



5794
5795
5796
# File 'lib/kaltura_types.rb', line 5794

def partner_id
  @partner_id
end

#statusObject

Returns the value of attribute status.



5793
5794
5795
# File 'lib/kaltura_types.rb', line 5793

def status
  @status
end

#updated_atObject

Last update date as Unix timestamp (In seconds)



5798
5799
5800
# File 'lib/kaltura_types.rb', line 5798

def updated_at
  @updated_at
end

#user_idObject

Returns the value of attribute user_id.



5791
5792
5793
# File 'lib/kaltura_types.rb', line 5791

def user_id
  @user_id
end

#user_roleObject

Returns the value of attribute user_role.



5800
5801
5802
# File 'lib/kaltura_types.rb', line 5800

def user_role
  @user_role
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
# File 'lib/kaltura_types.rb', line 5821

def from_xml(xml_element)
	super
	if xml_element.elements['id'] != nil
		self.id = xml_element.elements['id'].text
	end
	if xml_element.elements['userId'] != nil
		self.user_id = xml_element.elements['userId'].text
	end
	if xml_element.elements['groupId'] != nil
		self.group_id = xml_element.elements['groupId'].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['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
	if xml_element.elements['creationMode'] != nil
		self.creation_mode = xml_element.elements['creationMode'].text
	end
	if xml_element.elements['userRole'] != nil
		self.user_role = xml_element.elements['userRole'].text
	end
end