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



9114
9115
9116
# File 'lib/kaltura_types.rb', line 9114

def flavor_params_ids
  @flavor_params_ids
end

#limit_flavors_restriction_typeObject

Limit flavors restriction type (Allow or deny)



9111
9112
9113
# File 'lib/kaltura_types.rb', line 9111

def limit_flavors_restriction_type
  @limit_flavors_restriction_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



9120
9121
9122
9123
9124
# File 'lib/kaltura_types.rb', line 9120

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