Class: Kaltura::KalturaCondition

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

#descriptionObject

Returns the value of attribute description.



182
183
184
# File 'lib/kaltura_types.rb', line 182

def description
  @description
end

#notObject

Returns the value of attribute not.



183
184
185
# File 'lib/kaltura_types.rb', line 183

def not
  @not
end

#typeObject

The type of the access control condition



181
182
183
# File 'lib/kaltura_types.rb', line 181

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



189
190
191
192
193
194
195
196
197
198
199
200
# File 'lib/kaltura_types.rb', line 189

def from_xml(xml_element)
	super
	if xml_element.elements['type'] != nil
		self.type = xml_element.elements['type'].text
	end
	if xml_element.elements['description'] != nil
		self.description = xml_element.elements['description'].text
	end
	if xml_element.elements['not'] != nil
		self.not = xml_element.elements['not'].text
	end
end