Class: Aws::ConnectScheduling::Types::Duration
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConnectScheduling::Types::Duration
- Defined in:
- gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb
Overview
A length of time, expressed as a value and the unit it is counted in.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#unit ⇒ String
The unit the value is counted in.
-
#value ⇒ Integer
The number of units of time.
Instance Attribute Details
#unit ⇒ String
The unit the value is counted in.
301 302 303 304 305 306 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 301 class Duration < Struct.new( :value, :unit) SENSITIVE = [] include Aws::Structure end |
#value ⇒ Integer
The number of units of time. You can use a negative value to report
an overdrawn balance. The value must be within 876,000 hours (100
years) of zero: at most 52,560,000 MINUTES, 876,000 HOURS, or
36,500 DAYS.
301 302 303 304 305 306 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 301 class Duration < Struct.new( :value, :unit) SENSITIVE = [] include Aws::Structure end |