Class: Kaltura::KalturaCountryRestriction
- Inherits:
-
KalturaBaseRestriction
- Object
- KalturaObjectBase
- KalturaBaseRestriction
- Kaltura::KalturaCountryRestriction
- Defined in:
- lib/kaltura_types.rb
Instance Attribute Summary collapse
-
#country_list ⇒ Object
Comma separated list of country codes to allow to deny.
-
#country_restriction_type ⇒ Object
Country restriction type (Allow or deny).
Attributes inherited from KalturaObjectBase
#object_type, #related_objects
Instance Method Summary collapse
Methods inherited from KalturaObjectBase
Instance Attribute Details
#country_list ⇒ Object
Comma separated list of country codes to allow to deny
12353 12354 12355 |
# File 'lib/kaltura_types.rb', line 12353 def country_list @country_list end |
#country_restriction_type ⇒ Object
Country restriction type (Allow or deny)
12351 12352 12353 |
# File 'lib/kaltura_types.rb', line 12351 def country_restriction_type @country_restriction_type end |
Instance Method Details
#from_xml(xml_element) ⇒ Object
12359 12360 12361 12362 12363 12364 12365 12366 12367 |
# File 'lib/kaltura_types.rb', line 12359 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 |