Skip to content

Commit 525a19d

Browse files
m.turkzb-sr
m.turk
authored andcommitted
Revert "rejected field optional"
This reverts commit 1641526.
1 parent 49d4026 commit 525a19d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/sdk/src/main/java/com/sportradar/mbs/sdk/entities/common/BetValidation.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class BetValidation {
1414
@JsonProperty("message")
1515
private String message;
1616
@JsonProperty("rejected")
17-
private Boolean rejected;
17+
private boolean rejected;
1818

1919
/**
2020
* Creates a new instance of the BetValidation class.
@@ -84,7 +84,7 @@ public void setMessage(String value) {
8484
*
8585
* @return The rejected boolean value of the bet validation.
8686
*/
87-
public Boolean isRejected() {
87+
public boolean isRejected() {
8888
return rejected;
8989
}
9090

@@ -93,7 +93,7 @@ public Boolean isRejected() {
9393
*
9494
* @param rejected The rejected boolean value of the bet validation.
9595
*/
96-
public void setRejected(Boolean rejected) {
96+
public void setRejected(boolean rejected) {
9797
this.rejected = rejected;
9898
}
9999

@@ -155,7 +155,7 @@ public Builder setMessage(String value) {
155155
* @param value The rejected boolean value of the bet validation.
156156
* @return The builder instance.
157157
*/
158-
public Builder setRejected(Boolean value) {
158+
public Builder setRejected(boolean value) {
159159
this.instance.setRejected(value);
160160
return this;
161161
}

0 commit comments

Comments
 (0)