Class: VirtualServerRule
- Inherits:
-
Object
- Object
- VirtualServerRule
- Defined in:
- lib/api/virtualserver/VirtualServer.rb
Overview
/VirtualServer.Rule
name - SOAP::SOAPString
enabled - SOAP::SOAPBoolean
run_frequency - VirtualServerRuleRunFlag
Instance Attribute Summary collapse
-
#enabled ⇒ Object
Returns the value of attribute enabled.
-
#name ⇒ Object
Returns the value of attribute name.
-
#run_frequency ⇒ Object
Returns the value of attribute run_frequency.
Instance Method Summary collapse
-
#initialize(name = nil, enabled = nil, run_frequency = nil) ⇒ VirtualServerRule
constructor
A new instance of VirtualServerRule.
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
#enabled ⇒ Object
Returns the value of attribute enabled.
64 65 66 |
# File 'lib/api/virtualserver/VirtualServer.rb', line 64 def enabled @enabled end |
#name ⇒ Object
Returns the value of attribute name.
63 64 65 |
# File 'lib/api/virtualserver/VirtualServer.rb', line 63 def name @name end |
#run_frequency ⇒ Object
Returns the value of attribute run_frequency.
65 66 67 |
# File 'lib/api/virtualserver/VirtualServer.rb', line 65 def run_frequency @run_frequency end |