Class PostTradeBankModel
- java.lang.Object
-
- app.cybrid.cybrid_api_bank.client.model.PostTradeBankModel
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-11-29T14:16:54.653486Z[Etc/UTC]") public class PostTradeBankModel extends Object
PostTradeBankModel
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classPostTradeBankModel.ExpectedErrorEnumThe optional expected error to simulate trade failure.
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_EXPECTED_ERRORstatic StringJSON_PROPERTY_LABELSstatic StringJSON_PROPERTY_QUOTE_GUID
-
Constructor Summary
Constructors Constructor Description PostTradeBankModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PostTradeBankModeladdLabelsItem(String labelsItem)booleanequals(Object o)PostTradeBankModelexpectedError(PostTradeBankModel.ExpectedErrorEnum expectedError)PostTradeBankModel.ExpectedErrorEnumgetExpectedError()The optional expected error to simulate trade failure.List<String>getLabels()The labels associated with the trade.StringgetQuoteGuid()The associated quote's identifier.inthashCode()PostTradeBankModellabels(List<String> labels)PostTradeBankModelquoteGuid(String quoteGuid)voidsetExpectedError(PostTradeBankModel.ExpectedErrorEnum expectedError)voidsetLabels(List<String> labels)voidsetQuoteGuid(String quoteGuid)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_QUOTE_GUID
public static final String JSON_PROPERTY_QUOTE_GUID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_EXPECTED_ERROR
public static final String JSON_PROPERTY_EXPECTED_ERROR
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LABELS
public static final String JSON_PROPERTY_LABELS
- See Also:
- Constant Field Values
-
-
Method Detail
-
quoteGuid
public PostTradeBankModel quoteGuid(String quoteGuid)
-
getQuoteGuid
@Nonnull public String getQuoteGuid()
The associated quote's identifier.- Returns:
- quoteGuid
-
setQuoteGuid
public void setQuoteGuid(String quoteGuid)
-
expectedError
public PostTradeBankModel expectedError(PostTradeBankModel.ExpectedErrorEnum expectedError)
-
getExpectedError
@Nullable public PostTradeBankModel.ExpectedErrorEnum getExpectedError()
The optional expected error to simulate trade failure.- Returns:
- expectedError
-
setExpectedError
public void setExpectedError(PostTradeBankModel.ExpectedErrorEnum expectedError)
-
labels
public PostTradeBankModel labels(List<String> labels)
-
addLabelsItem
public PostTradeBankModel addLabelsItem(String labelsItem)
-
getLabels
@Nullable public List<String> getLabels()
The labels associated with the trade.- Returns:
- labels
-
-