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

#patternObject

Request host regex pattern



10488
10489
10490
# File 'lib/kaltura_types.rb', line 10488

def pattern
  @pattern
end

#replacementObject

Request host regex replacment



10490
10491
10492
# File 'lib/kaltura_types.rb', line 10490

def replacement
  @replacement
end

#replacmen_server_node_idObject

serverNodeId to generate replacment host from



10492
10493
10494
# File 'lib/kaltura_types.rb', line 10492

def replacmen_server_node_id
  @replacmen_server_node_id
end

Instance Method Details

#from_xml(xml_element) ⇒ Object



10498
10499
10500
10501
10502
10503
10504
10505
10506
10507
10508
10509
# File 'lib/kaltura_types.rb', line 10498

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
end