Class: Aws::Connect::Types::ContactMetricValue
- Inherits:
-
Struct
- Object
- Struct
- Aws::Connect::Types::ContactMetricValue
- Defined in:
- gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb
Overview
Note:
ContactMetricValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ContactMetricValue corresponding to the set member.
Contains the numeric value of a contact metric result.
Defined Under Namespace
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#number ⇒ Float
The numeric value of the metric result.
-
#unknown ⇒ Object
Returns the value of attribute unknown.
Instance Attribute Details
#number ⇒ Float
The numeric value of the metric result. For POSITION_IN_QUEUE, this represents the contact's current position in the queue (e.g., 3.00 means third in line). For ESTIMATED_WAIT_TIME, this represents the predicted wait time in seconds (e.g., 120.00 means approximately 2 minutes).
4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 4540 class ContactMetricValue < Struct.new( :number, :unknown) SENSITIVE = [] include Aws::Structure include Aws::Structure::Union class Number < ContactMetricValue; end class Unknown < ContactMetricValue; end end |
#unknown ⇒ Object
Returns the value of attribute unknown
4540 4541 4542 |
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 4540 def unknown @unknown end |