Class: MetricAlarmExpression
- Inherits:
-
AlarmExpression
- Object
- DynamicData
- AlarmExpression
- MetricAlarmExpression
- Defined in:
- lib/vmware/soap/vim25.rb
Overview
urn:vim25MetricAlarmExpression
dynamicType - SOAP::SOAPString
dynamicProperty - DynamicProperty
operator - MetricAlarmOperator
type - SOAP::SOAPString
metric - PerfMetricId
yellow - SOAP::SOAPInt
red - SOAP::SOAPInt
Instance Attribute Summary collapse
-
#dynamicProperty ⇒ Object
Returns the value of attribute dynamicProperty.
-
#dynamicType ⇒ Object
Returns the value of attribute dynamicType.
-
#metric ⇒ Object
Returns the value of attribute metric.
-
#operator ⇒ Object
Returns the value of attribute operator.
-
#red ⇒ Object
Returns the value of attribute red.
-
#type ⇒ Object
Returns the value of attribute type.
-
#yellow ⇒ Object
Returns the value of attribute yellow.
Instance Method Summary collapse
-
#initialize(dynamicType = nil, dynamicProperty = [], operator = nil, type = nil, metric = nil, yellow = nil, red = nil) ⇒ MetricAlarmExpression
constructor
A new instance of MetricAlarmExpression.
Constructor Details
#initialize(dynamicType = nil, dynamicProperty = [], operator = nil, type = nil, metric = nil, yellow = nil, red = nil) ⇒ MetricAlarmExpression
Returns a new instance of MetricAlarmExpression.
3052 3053 3054 3055 3056 3057 3058 3059 3060 |
# File 'lib/vmware/soap/vim25.rb', line 3052 def initialize(dynamicType = nil, dynamicProperty = [], operator = nil, type = nil, metric = nil, yellow = nil, red = nil) @dynamicType = dynamicType @dynamicProperty = dynamicProperty @operator = operator @type = type @metric = metric @yellow = yellow @red = red end |
Instance Attribute Details
#dynamicProperty ⇒ Object
Returns the value of attribute dynamicProperty.
3045 3046 3047 |
# File 'lib/vmware/soap/vim25.rb', line 3045 def dynamicProperty @dynamicProperty end |
#dynamicType ⇒ Object
Returns the value of attribute dynamicType.
3044 3045 3046 |
# File 'lib/vmware/soap/vim25.rb', line 3044 def dynamicType @dynamicType end |
#metric ⇒ Object
Returns the value of attribute metric.
3048 3049 3050 |
# File 'lib/vmware/soap/vim25.rb', line 3048 def metric @metric end |
#operator ⇒ Object
Returns the value of attribute operator.
3046 3047 3048 |
# File 'lib/vmware/soap/vim25.rb', line 3046 def operator @operator end |
#red ⇒ Object
Returns the value of attribute red.
3050 3051 3052 |
# File 'lib/vmware/soap/vim25.rb', line 3050 def red @red end |
#type ⇒ Object
Returns the value of attribute type.
3047 3048 3049 |
# File 'lib/vmware/soap/vim25.rb', line 3047 def type @type end |
#yellow ⇒ Object
Returns the value of attribute yellow.
3049 3050 3051 |
# File 'lib/vmware/soap/vim25.rb', line 3049 def yellow @yellow end |