Skip to content

Commit 4fabd21

Browse files
Merge pull request #174 from rosette-api/WS-2219
WS-2219: fix events workspaceId non-nullable
2 parents f9ce478 + 09940eb commit 4fabd21

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

model/src/main/java/com/basistech/rosette/apimodel/EventsOptions.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
import lombok.Builder;
2121
import lombok.Value;
2222

23+
import javax.validation.constraints.NotBlank;
24+
2325
/**
2426
* Events options
2527
*/
@@ -35,7 +37,8 @@ public class EventsOptions extends Options {
3537
.build();
3638

3739
/**
38-
* @return the modelType to use.
40+
* workspaceId to use.
3941
*/
40-
private final String workspaceId;
42+
@NotBlank
43+
String workspaceId;
4144
}

0 commit comments

Comments
 (0)