Class: Kaltura::KalturaIpAddressRestriction

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

#ip_address_listObject

Comma separated list of ip address to allow to deny



14096
14097
14098
# File 'lib/kaltura_types.rb', line 14096

def ip_address_list
  @ip_address_list
end

#ip_address_restriction_typeObject

Ip address restriction type (Allow or deny)



14094
14095
14096
# File 'lib/kaltura_types.rb', line 14094

def ip_address_restriction_type
  @ip_address_restriction_type
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



14102
14103
14104
14105
14106
14107
14108
14109
14110
# File 'lib/kaltura_types.rb', line 14102

def from_xml(xml_element)
	super
	if xml_element.elements['ipAddressRestrictionType'] != nil
		self.ip_address_restriction_type = xml_element.elements['ipAddressRestrictionType'].text
	end
	if xml_element.elements['ipAddressList'] != nil
		self.ip_address_list = xml_element.elements['ipAddressList'].text
	end
end