Class: Kaltura::KalturaCategoryEntry

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



2967
2968
2969
# File 'lib/kaltura_types.rb', line 2967

def category_full_ids
  @category_full_ids
end

#category_idObject

Returns the value of attribute category_id.



2961
2962
2963
# File 'lib/kaltura_types.rb', line 2961

def category_id
  @category_id
end

#created_atObject

Creation date as Unix timestamp (In seconds)



2965
2966
2967
# File 'lib/kaltura_types.rb', line 2965

def created_at
  @created_at
end

#creator_user_idObject

CategroyEntry creator puser ID



2971
2972
2973
# File 'lib/kaltura_types.rb', line 2971

def creator_user_id
  @creator_user_id
end

#entry_idObject

entry id



2963
2964
2965
# File 'lib/kaltura_types.rb', line 2963

def entry_id
  @entry_id
end

#statusObject

CategroyEntry status



2969
2970
2971
# File 'lib/kaltura_types.rb', line 2969

def status
  @status
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
# File 'lib/kaltura_types.rb', line 2983

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['entryId'] != nil
		self.entry_id = xml_element.elements['entryId'].text
	end
	if xml_element.elements['createdAt'] != nil
		self.created_at = xml_element.elements['createdAt'].text
	end
	if xml_element.elements['categoryFullIds'] != nil
		self.category_full_ids = xml_element.elements['categoryFullIds'].text
	end
	if xml_element.elements['status'] != nil
		self.status = xml_element.elements['status'].text
	end
	if xml_element.elements['creatorUserId'] != nil
		self.creator_user_id = xml_element.elements['creatorUserId'].text
	end
end