Skip to content

Commit a54b84a

Browse files
Change StateId field from String to Integer in Prediacte.class (AST-81676) (#400)
* Add notify step to release.yml (AST-000) * fix input to inputs * fix input to inputs * fix input to inputs * fix input to inputs * fix input to inputs * fix input to inputs * change if condition to notify job * Add custom states support * Add custom states support * Add tests * ignore added test * refactor * refactor * Change stateId from Long to String * revert if case in push satate in triage update command * Change id from Long to Integer * Change StateId field from String to Integer --------- Co-authored-by: AlvoBen <[email protected]>
1 parent 38ff1f1 commit a54b84a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/com/checkmarx/ast/predicate/Predicate.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,14 +30,14 @@ public class Predicate {
3030
String createdBy;
3131
String createdAt;
3232
String updatedAt;
33-
String stateId;
33+
Integer stateId;
3434

3535
@JsonCreator
3636
public Predicate(@JsonProperty("ID") String id, @JsonProperty("SimilarityID") String similarityId,
3737
@JsonProperty("ProjectID") String projectId, @JsonProperty("State") String state,
3838
@JsonProperty("Severity") String severity, @JsonProperty("Comment") String comment,
3939
@JsonProperty("CreatedBy") String createdBy, @JsonProperty("CreatedAt") String createdAt,
40-
@JsonProperty("UpdatedAt") String updatedAt, @JsonProperty("StateId") String stateId) {
40+
@JsonProperty("UpdatedAt") String updatedAt, @JsonProperty("StateId") Integer stateId) {
4141
this.id = id;
4242
this.similarityId = similarityId;
4343
this.projectId = projectId;

0 commit comments

Comments
 (0)