Class: Kaltura::KalturaAccessControlModifyRequestHostRegexAction

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

Instance Attribute Summary collapse

Attributes inherited from KalturaRuleAction

#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

#check_alive_timeout_msObject

Set this value if you want to check if the server is accessible before redirecting traffic to it (this value is in milliseconds)



10974
10975
10976
# File 'lib/kaltura_types.rb', line 10974

def check_alive_timeout_ms
  @check_alive_timeout_ms
end

#patternObject

Request host regex pattern



10968
10969
10970
# File 'lib/kaltura_types.rb', line 10968

def pattern
  @pattern
end

#replacementObject

Request host regex replacment



10970
10971
10972
# File 'lib/kaltura_types.rb', line 10970

def replacement
  @replacement
end

#replacmen_server_node_idObject

serverNodeId to generate replacment host from



10972
10973
10974
# File 'lib/kaltura_types.rb', line 10972

def replacmen_server_node_id
  @replacmen_server_node_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
# File 'lib/kaltura_types.rb', line 10983

def from_xml(xml_element)
	super
	if xml_element.elements['pattern'] != nil
		self.pattern = xml_element.elements['pattern'].text
	end
	if xml_element.elements['replacement'] != nil
		self.replacement = xml_element.elements['replacement'].text
	end
	if xml_element.elements['replacmenServerNodeId'] != nil
		self.replacmen_server_node_id = xml_element.elements['replacmenServerNodeId'].text
	end
	if xml_element.elements['checkAliveTimeoutMs'] != nil
		self.check_alive_timeout_ms = xml_element.elements['checkAliveTimeoutMs'].text
	end
end