Class: Kaltura::KalturaCategoryUser

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

#category_full_idsObject

The full ids of the Category



3024
3025
3026
# File 'lib/kaltura_types.rb', line 3024

def category_full_ids
  @category_full_ids
end

#category_idObject

Returns the value of attribute category_id.



3008
3009
3010
# File 'lib/kaltura_types.rb', line 3008

def category_id
  @category_id
end

#created_atObject

CategoryUser creation date as Unix timestamp (In seconds)



3018
3019
3020
# File 'lib/kaltura_types.rb', line 3018

def created_at
  @created_at
end

#partner_idObject

Partner id



3012
3013
3014
# File 'lib/kaltura_types.rb', line 3012

def partner_id
  @partner_id
end

#permission_levelObject

Permission level



3014
3015
3016
# File 'lib/kaltura_types.rb', line 3014

def permission_level
  @permission_level
end

#permission_namesObject

Set of category-related permissions for the current category user.



3026
3027
3028
# File 'lib/kaltura_types.rb', line 3026

def permission_names
  @permission_names
end

#statusObject

Status



3016
3017
3018
# File 'lib/kaltura_types.rb', line 3016

def status
  @status
end

#update_methodObject

Update method can be either manual or automatic to distinguish between manual operations (for example in KMC) on automatic - using bulk upload



3022
3023
3024
# File 'lib/kaltura_types.rb', line 3022

def update_method
  @update_method
end

#updated_atObject

CategoryUser update date as Unix timestamp (In seconds)



3020
3021
3022
# File 'lib/kaltura_types.rb', line 3020

def updated_at
  @updated_at
end

#user_idObject

User id



3010
3011
3012
# File 'lib/kaltura_types.rb', line 3010

def user_id
  @user_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
# File 'lib/kaltura_types.rb', line 3050

def from_xml(xml_element)
	super
	if xml_element.elements['categoryId'] != nil
		self.category_id = xml_element.elements['categoryId'].text
	end
	if xml_element.elements['userId'] != nil
		self.user_id = xml_element.elements['userId'].text
	end
	if xml_element.elements['partnerId'] != nil
		self.partner_id = xml_element.elements['partnerId'].text
	end
	if xml_element.elements['permissionLevel'] != nil
		self.permission_level = xml_element.elements['permissionLevel'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].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['updateMethod'] != nil
		self.update_method = xml_element.elements['updateMethod'].text
	end
	if xml_element.elements['categoryFullIds'] != nil
		self.category_full_ids = xml_element.elements['categoryFullIds'].text
	end
	if xml_element.elements['permissionNames'] != nil
		self.permission_names = xml_element.elements['permissionNames'].text
	end
end