Class: MetricAlarmExpression

Inherits:
AlarmExpression show all
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

Instance Method Summary collapse

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

#dynamicPropertyObject

Returns the value of attribute dynamicProperty.



3045
3046
3047
# File 'lib/vmware/soap/vim25.rb', line 3045

def dynamicProperty
  @dynamicProperty
end

#dynamicTypeObject

Returns the value of attribute dynamicType.



3044
3045
3046
# File 'lib/vmware/soap/vim25.rb', line 3044

def dynamicType
  @dynamicType
end

#metricObject

Returns the value of attribute metric.



3048
3049
3050
# File 'lib/vmware/soap/vim25.rb', line 3048

def metric
  @metric
end

#operatorObject

Returns the value of attribute operator.



3046
3047
3048
# File 'lib/vmware/soap/vim25.rb', line 3046

def operator
  @operator
end

#redObject

Returns the value of attribute red.



3050
3051
3052
# File 'lib/vmware/soap/vim25.rb', line 3050

def red
  @red
end

#typeObject

Returns the value of attribute type.



3047
3048
3049
# File 'lib/vmware/soap/vim25.rb', line 3047

def type
  @type
end

#yellowObject

Returns the value of attribute yellow.



3049
3050
3051
# File 'lib/vmware/soap/vim25.rb', line 3049

def yellow
  @yellow
end