Class: Aws::ConnectScheduling::Types::GetTimeOffResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::ConnectScheduling::Types::GetTimeOffResponse
- Defined in:
- gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb
Overview
The response for GetTimeOff.
Constant Summary collapse
- SENSITIVE =
[:description]
Instance Attribute Summary collapse
-
#created_at ⇒ Time
The timestamp when the time off request was created.
-
#created_by ⇒ Types::ActorInfo
The identity that created the request.
-
#description ⇒ String
The description of the time off request.
-
#end_at ⇒ Time
The end of the time off window, exclusive, as sent to
CreateTimeOff. -
#shift_activity_id ⇒ String
The identifier of the shift activity for the time off request.
-
#start_at ⇒ Time
The start of the time off window, inclusive, as sent to
CreateTimeOff. -
#status ⇒ String
The status of the time off request.
-
#time_off_id ⇒ String
The identifier of the time off request.
-
#updated_at ⇒ Time
The timestamp when the time off request was last modified.
-
#updated_by ⇒ Types::ActorInfo
The identity that made the most recent
ApproveTimeOff,RejectTimeOff, orCancelTimeOffcall on the request, or took the same action in the Connect Customer admin website. -
#user_id ⇒ String
The identifier of the user the time off is for.
-
#validation_results ⇒ Array<Types::TimeOffValidationResult>
Warnings or failures produced while processing the time off request.
Instance Attribute Details
#created_at ⇒ Time
The timestamp when the time off request was created.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#created_by ⇒ Types::ActorInfo
The identity that created the request. Immutable for the life of the request.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#description ⇒ String
The description of the time off request. CreateTimeOff sets it,
and CancelTimeOff replaces or removes it. An edit in the Connect
Customer admin website can also change it. GetTimeOff doesn't
return descriptions sent with ApproveTimeOff or RejectTimeOff.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#end_at ⇒ Time
The end of the time off window, exclusive, as sent to
CreateTimeOff.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#shift_activity_id ⇒ String
The identifier of the shift activity for the time off request.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#start_at ⇒ Time
The start of the time off window, inclusive, as sent to
CreateTimeOff.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#status ⇒ String
The status of the time off request.
PENDING: Connect Customer is processing a change to the request, which then changes to another status. An edit in the Connect Customer admin website can also make a requestPENDING, so anAPPROVEDrequest can becomePENDINGand then endAPPROVEDorREJECTED.AWAITING_APPROVAL: the request is waiting for anApproveTimeOfforRejectTimeOffcall.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#time_off_id ⇒ String
The identifier of the time off request.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#updated_at ⇒ Time
The timestamp when the time off request was last modified.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#updated_by ⇒ Types::ActorInfo
The identity that made the most recent ApproveTimeOff,
RejectTimeOff, or CancelTimeOff call on the request, or took the
same action in the Connect Customer admin website. Absent until one
of those actions is taken, including after Connect Customer decides
an AUTOMATIC request. UpdatedAt also changes when a PENDING
request changes to another status and for other edits, which don't
set UpdatedBy.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#user_id ⇒ String
The identifier of the user the time off is for.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |
#validation_results ⇒ Array<Types::TimeOffValidationResult>
Warnings or failures produced while processing the time off request.
414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 |
# File 'gems/aws-sdk-connectscheduling/lib/aws-sdk-connectscheduling/types.rb', line 414 class GetTimeOffResponse < Struct.new( :time_off_id, :user_id, :shift_activity_id, :start_at, :end_at, :status, :description, :validation_results, :created_by, :created_at, :updated_by, :updated_at) SENSITIVE = [:description] include Aws::Structure end |