Class: Kaltura::KalturaIpAddressCondition

Inherits:
KalturaMatchCondition show all
Defined in:
lib/kaltura_types.rb

Instance Attribute Summary collapse

Attributes inherited from KalturaMatchCondition

#match_type, #values

Attributes inherited from KalturaCondition

#description, #not, #type

Attributes inherited from KalturaObjectBase

#object_type, #related_objects

Instance Method Summary collapse

Methods inherited from KalturaObjectBase

#camelcase, #to_b, #to_params

Instance Attribute Details

#accept_internal_ipsObject

allow internal ips



16867
16868
16869
# File 'lib/kaltura_types.rb', line 16867

def accept_internal_ips
  @accept_internal_ips
end

#http_headerObject

http header name for extracting the ip



16869
16870
16871
# File 'lib/kaltura_types.rb', line 16869

def http_header
  @http_header
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



16875
16876
16877
16878
16879
16880
16881
16882
16883
# File 'lib/kaltura_types.rb', line 16875

def from_xml(xml_element)
	super
	if xml_element.elements['acceptInternalIps'] != nil
		self.accept_internal_ips = xml_element.elements['acceptInternalIps'].text
	end
	if xml_element.elements['httpHeader'] != nil
		self.http_header = xml_element.elements['httpHeader'].text
	end
end