Package com.mypurecloud.sdk.v2.model
Class BuAlternativeShiftJobResponse
java.lang.Object
com.mypurecloud.sdk.v2.model.BuAlternativeShiftJobResponse
- All Implemented Interfaces:
Serializable
BuAlternativeShiftJobResponse
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe status of the alternative shift jobstatic enumThe type of job -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbulkUpdateTradesResults(AlternativeShiftBulkUpdateTradesResponseTemplate bulkUpdateTradesResults) Schema template for deserializing data returned from the downloadUrl.downloadUrl(String downloadUrl) The URL where completed results are available, only set if status == 'Complete'booleanAny error information, only set if the status == 'Error'getError()getId()getType()inthashCode()The globally unique identifier for the object.voidsetBulkUpdateTradesResults(AlternativeShiftBulkUpdateTradesResponseTemplate bulkUpdateTradesResults) voidsetDownloadUrl(String downloadUrl) voidvoidvoidvoidvoidsetViewOffersResults(AlternativeShiftOffersViewResponseTemplate viewOffersResults) voidsetViewTradesResults(AlternativeShiftTradesViewResponseTemplate viewTradesResults) The status of the alternative shift jobtoString()The type of jobviewOffersResults(AlternativeShiftOffersViewResponseTemplate viewOffersResults) Schema template for deserializing data returned from the downloadUrl.viewTradesResults(AlternativeShiftTradesViewResponseTemplate viewTradesResults) Schema template for deserializing data returned from the downloadUrl.
-
Constructor Details
-
BuAlternativeShiftJobResponse
public BuAlternativeShiftJobResponse() -
BuAlternativeShiftJobResponse
-
-
Method Details
-
id
The globally unique identifier for the object. -
getId
-
setId
-
status
The status of the alternative shift job -
getStatus
-
setStatus
-
type
The type of job -
getType
-
setType
-
downloadUrl
The URL where completed results are available, only set if status == 'Complete' -
getDownloadUrl
-
setDownloadUrl
-
error
Any error information, only set if the status == 'Error' -
getError
-
setError
-
viewOffersResults
public BuAlternativeShiftJobResponse viewOffersResults(AlternativeShiftOffersViewResponseTemplate viewOffersResults) Schema template for deserializing data returned from the downloadUrl. Use if type == 'ListOffers' or 'SearchOffers' -
getViewOffersResults
-
setViewOffersResults
-
viewTradesResults
public BuAlternativeShiftJobResponse viewTradesResults(AlternativeShiftTradesViewResponseTemplate viewTradesResults) Schema template for deserializing data returned from the downloadUrl. Use if type == 'ListUserTrades' or 'SearchTrades' -
getViewTradesResults
-
setViewTradesResults
-
bulkUpdateTradesResults
public BuAlternativeShiftJobResponse bulkUpdateTradesResults(AlternativeShiftBulkUpdateTradesResponseTemplate bulkUpdateTradesResults) Schema template for deserializing data returned from the downloadUrl. Use if type == 'BulkUpdateTrades' -
getBulkUpdateTradesResults
-
setBulkUpdateTradesResults
public void setBulkUpdateTradesResults(AlternativeShiftBulkUpdateTradesResponseTemplate bulkUpdateTradesResults) -
getSelfUri
-
equals
-
hashCode
public int hashCode() -
toString
-