class Kaltura::KalturaCountryRestriction
Attributes
country_list[RW]
Comma separated list of country codes to allow to deny
country_restriction_type[RW]
Country restriction type (Allow or deny)
Public Instance Methods
country_restriction_type=(val)
click to toggle source
# File lib/kaltura_types.rb, line 12483 def country_restriction_type=(val) @country_restriction_type = val.to_i end
from_xml(xml_element)
click to toggle source
Calls superclass method
Kaltura::KalturaBaseRestriction#from_xml
# File lib/kaltura_types.rb, line 12487 def from_xml(xml_element) super if xml_element.elements['countryRestrictionType'] != nil self.country_restriction_type = xml_element.elements['countryRestrictionType'].text end if xml_element.elements['countryList'] != nil self.country_list = xml_element.elements['countryList'].text end end