--- title: ShiftTradeResponse --- :::error **The Ruby SDK is deprecated as of 9/16/2020** The Genesys Cloud Ruby SDK (v96.0.0) will be frozen at its current version level. Any new enhancements to our API or bug fixes will not be backported. If you do need to take advantage of new features or bug fixes outside the Genesys Cloud Ruby SDK, you will need to use the Genesys Cloud REST endpoints directly. More information can be found in the [Official Announcement](https://developer.mypurecloud.com/forum/t/announcement-genesys-cloud-ruby-sdk-end-of-life/8850). ::: ## PureCloud::ShiftTradeResponse ## Properties |Name | Type | Description | Notes| |------------ | ------------- | ------------- | -------------| | **id** | **String** | The ID of this shift trade | [optional] | | **week_date** | **Date** | The start week date of the associated schedule in yyyy-MM-dd format. Dates are represented as an ISO-8601 string. For example: yyyy-MM-dd | [optional] | | **schedule** | [**BuScheduleReferenceForMuRoute**](BuScheduleReferenceForMuRoute.html) | A reference to the associated schedule | [optional] | | **state** | **String** | The state of this shift trade | [optional] | | **initiating_user** | [**UserReference**](UserReference.html) | The user who initiated this trade | [optional] | | **initiating_shift_id** | **String** | The ID of the shift offered for trade by the initiating user | [optional] | | **initiating_shift_start** | **DateTime** | The start date/time of the shift being offered for trade. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] | | **initiating_shift_end** | **DateTime** | The end date/time of the shift being offered for trade. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] | | **receiving_user** | [**UserReference**](UserReference.html) | The user matching the trade, or if the state is not Matched, the user to whom the trade request was sent | [optional] | | **receiving_shift_id** | **String** | The ID of the shift being exchanged for the initiating shift, null if the receiving user is picking up a shift | [optional] | | **receiving_shift_start** | **DateTime** | The start date/time of the receiving shift. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] | | **receiving_shift_end** | **DateTime** | The end date/time of the receiving shift. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] | | **expiration** | **DateTime** | When this shift trade offer will expire if not matched or approved. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] | | **one_sided** | **BOOLEAN** | Whether this is a one-sided shift trade (e.g. the initiating user is not asking for a shift in return) | [optional] | | **acceptable_intervals** | **Array<String>** | | [optional] | | **reviewed_by** | [**UserReference**](UserReference.html) | The user who reviewed this shift trade | [optional] | | **reviewed_date** | **DateTime** | The timestamp when this shift trade was reviewed. Date time is represented as an ISO-8601 string. For example: yyyy-MM-ddTHH:mm:ss.SSSZ | [optional] | | **metadata** | [**WfmVersionedEntityMetadata**](WfmVersionedEntityMetadata.html) | Version data for this trade | [optional] | {: class="table table-striped"}