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.



152
153
154
# File 'lib/kaltura_types.rb', line 152

def description
  @description
end

#notObject

Returns the value of attribute not.



153
154
155
# File 'lib/kaltura_types.rb', line 153

def not
  @not
end

#typeObject

The type of the access control condition



151
152
153
# File 'lib/kaltura_types.rb', line 151

def type
  @type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



159
160
161
162
163
164
# File 'lib/kaltura_types.rb', line 159

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