Class: Kaltura::KalturaSiteRestriction

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

#site_listObject

Comma separated list of sites (domains) to allow or deny



15410
15411
15412
# File 'lib/kaltura_types.rb', line 15410

def site_list
  @site_list
end

#site_restriction_typeObject

The site restriction type (allow or deny)



15408
15409
15410
# File 'lib/kaltura_types.rb', line 15408

def site_restriction_type
  @site_restriction_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



15416
15417
15418
15419
15420
15421
15422
15423
15424
# File 'lib/kaltura_types.rb', line 15416

def from_xml(xml_element)
	super
	if xml_element.elements['siteRestrictionType'] != nil
		self.site_restriction_type = xml_element.elements['siteRestrictionType'].text
	end
	if xml_element.elements['siteList'] != nil
		self.site_list = xml_element.elements['siteList'].text
	end
end