Class: VirtualServerRule

Inherits:
Object
  • Object
show all
Defined in:
lib/api/virtualserver/VirtualServer.rb

Overview

/VirtualServer.Rule

name - SOAP::SOAPString
enabled - SOAP::SOAPBoolean
run_frequency - VirtualServerRuleRunFlag

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, enabled = nil, run_frequency = nil) ⇒ VirtualServerRule

Returns a new instance of VirtualServerRule.



67
68
69
70
71
# File 'lib/api/virtualserver/VirtualServer.rb', line 67

def initialize(name = nil, enabled = nil, run_frequency = nil)
  @name = name
  @enabled = enabled
  @run_frequency = run_frequency
end

Instance Attribute Details

#enabledObject

Returns the value of attribute enabled.



64
65
66
# File 'lib/api/virtualserver/VirtualServer.rb', line 64

def enabled
  @enabled
end

#nameObject

Returns the value of attribute name.



63
64
65
# File 'lib/api/virtualserver/VirtualServer.rb', line 63

def name
  @name
end

#run_frequencyObject

Returns the value of attribute run_frequency.



65
66
67
# File 'lib/api/virtualserver/VirtualServer.rb', line 65

def run_frequency
  @run_frequency
end