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



14134
14135
14136
# File 'lib/kaltura_types.rb', line 14134

def flavor_params_ids
  @flavor_params_ids
end

#limit_flavors_restriction_typeObject

Limit flavors restriction type (Allow or deny)



14132
14133
14134
# File 'lib/kaltura_types.rb', line 14132

def limit_flavors_restriction_type
  @limit_flavors_restriction_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14140
14141
14142
14143
14144
14145
14146
14147
14148
# File 'lib/kaltura_types.rb', line 14140

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