public class BidRequest extends Object
Project
from the specified source Language
to the specified target
Language
s. A BidRequest
can specify what Vendor
s to request
bids from, can let Cloudwords choose the best Vendor
s automatically,
or both.Constructor and Description |
---|
BidRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Date |
getCreatedDate()
Get the date in which the bid request was created.
|
String |
getPath()
Get the API-accessible path to this
BidRequest . |
List<Vendor> |
getPreferredVendors()
Get the list of preferred
Vendor that are associated with this BidRequest . |
Integer |
getWinningBidId()
|
int |
hashCode() |
boolean |
isDoAutoSelectBidFromVendor()
Enables automatic selection of the submitted
Vendor bid for this BidRequest . |
boolean |
isDoLetCloudwordsChoose()
|
void |
setCreatedDate(Date createdDate)
Set the
Project created date. |
void |
setDoAutoSelectBidFromVendor(boolean doAutoSelectBidFromVendor)
Set the option to automatically select the submitted
Vendor bid for this
BidRequest . |
void |
setDoLetCloudwordsChoose(boolean doLetCloudwordsChoose)
|
void |
setPath(String path)
Set the API-accessible path to this
BidRequest . |
void |
setPreferredVendors(List<Vendor> preferredVendors)
Set the list of preferred
Vendor that are associated with this BidRequest . |
void |
setWinningBidId(Integer winningBidId)
|
String |
toString() |
public Date getCreatedDate()
Please refer to the API documentation for more information on date handling.
BidRequest
was createdpublic void setCreatedDate(Date createdDate)
Project
created date. (Note: BidRequest
created date is a read-only
field with the Cloudwords API - setting it and sending it to the API will have no effect.)createdDate
- public List<Vendor> getPreferredVendors()
Vendor
that are associated with this BidRequest
.Vendor
s requested in this BidRequest
public void setPreferredVendors(List<Vendor> preferredVendors)
Vendor
that are associated with this BidRequest
.preferredVendors
- The Vendor
s requested for this BidRequest
public boolean isDoLetCloudwordsChoose()
Vendor
s that best match customer's
Project
requirements.BidRequest
automatically chooses some or
all Vendor
spublic void setDoLetCloudwordsChoose(boolean doLetCloudwordsChoose)
Vendor
s that best match
a customer's Project
requirements.doLetCloudwordsChoose
- Whether the BidRequest
automatically chooses some or all Vendor
spublic boolean isDoAutoSelectBidFromVendor()
Vendor
bid for this BidRequest
.
This means that the Project
will instantly move into translation once the
Vendor
has submitted their bid, and therefore you will not have the ability to review
and reject the submitted Vendor
bid. However, you can always choose to cancel the
Project
at any time.Vendor
for this BidRequest
public void setDoAutoSelectBidFromVendor(boolean doAutoSelectBidFromVendor)
Vendor
bid for this
BidRequest
. This means that the Project
will instantly move into translation
once the Vendor
has provided their bid, and therefore you will not have the ability
to review and reject the submitted Vendor
bid. However, you can always choose to
cancel the Project
at any time.
Note: Setting This option is only possible for this BidRequest
if you select a single
preferred Vendor
and you DO NOT have the doLetCloudwordsChoose
option enabled.doAutoSelectBidFromVendor
- Whether to automatically select the bid provided by the Vendor
for this
BidRequest
public Integer getWinningBidId()
Vendor
CustomerBid
that was selected as the winner for this BidRequest
public void setWinningBidId(Integer winningBidId)
winningBidId
- The Vendor
CustomerBid
that was selected as the winner for this BidRequest
public String getPath()
BidRequest
. This is the HTTP accessible path to
perform a GET on the BidRequest
. Please refer to the API documentation for more detail.BidRequest
public void setPath(String path)
BidRequest
. (Note: The path is a read-only field
with Cloudwords API - Cloudwords will automatically calculate the API-accessible path on any
BidRequest
representation returned from the API).path
- The URL to this BidRequest
Copyright © 2016. All rights reserved.