Class: Kaltura::KalturaLimitFlavorsRestriction

Inherits:
KalturaBaseRestriction 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

#flavor_params_idsObject

Comma separated list of flavor params ids to allow to deny



13719
13720
13721
# File 'lib/kaltura_types.rb', line 13719

def flavor_params_ids
  @flavor_params_ids
end

#limit_flavors_restriction_typeObject

Limit flavors restriction type (Allow or deny)



13717
13718
13719
# File 'lib/kaltura_types.rb', line 13717

def limit_flavors_restriction_type
  @limit_flavors_restriction_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



13725
13726
13727
13728
13729
13730
13731
13732
13733
# File 'lib/kaltura_types.rb', line 13725

def from_xml(xml_element)
	super
	if xml_element.elements['limitFlavorsRestrictionType'] != nil
		self.limit_flavors_restriction_type = xml_element.elements['limitFlavorsRestrictionType'].text
	end
	if xml_element.elements['flavorParamsIds'] != nil
		self.flavor_params_ids = xml_element.elements['flavorParamsIds'].text
	end
end