• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-java-sdk-gen / #293

24 Jun 2025 01:20PM UTC coverage: 35.661% (+0.03%) from 35.632%
#293

Pull #347

github

web-flow
Merge 2c100d09c into d8480ee6c
Pull Request #347: feat: Add Webhook Validation In Java (box/box-codegen#745)

68 of 82 new or added lines in 2 files covered. (82.93%)

11794 existing lines in 627 files now uncovered.

16937 of 47495 relevant lines covered (35.66%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

56.52
/src/main/java/com/box/sdkgen/managers/workflows/StartWorkflowRequestBodyFlowField.java
1
package com.box.sdkgen.managers.workflows;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.fasterxml.jackson.annotation.JsonFilter;
6
import java.util.Objects;
7

8
@JsonFilter("nullablePropertyFilter")
9
public class StartWorkflowRequestBodyFlowField extends SerializableObject {
10

11
  protected String type;
12

13
  protected String id;
14

15
  public StartWorkflowRequestBodyFlowField() {
UNCOV
16
    super();
×
UNCOV
17
  }
×
18

19
  protected StartWorkflowRequestBodyFlowField(Builder builder) {
20
    super();
1✔
21
    this.type = builder.type;
1✔
22
    this.id = builder.id;
1✔
23
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
1✔
24
  }
1✔
25

26
  public String getType() {
27
    return type;
1✔
28
  }
29

30
  public String getId() {
31
    return id;
1✔
32
  }
33

34
  @Override
35
  public boolean equals(Object o) {
36
    if (this == o) {
×
UNCOV
37
      return true;
×
38
    }
39
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
40
      return false;
×
41
    }
UNCOV
42
    StartWorkflowRequestBodyFlowField casted = (StartWorkflowRequestBodyFlowField) o;
×
UNCOV
43
    return Objects.equals(type, casted.type) && Objects.equals(id, casted.id);
×
44
  }
45

46
  @Override
47
  public int hashCode() {
UNCOV
48
    return Objects.hash(type, id);
×
49
  }
50

51
  @Override
52
  public String toString() {
UNCOV
53
    return "StartWorkflowRequestBodyFlowField{"
×
54
        + "type='"
55
        + type
56
        + '\''
57
        + ", "
58
        + "id='"
59
        + id
60
        + '\''
61
        + "}";
62
  }
63

64
  public static class Builder extends NullableFieldTracker {
1✔
65

66
    protected String type;
67

68
    protected String id;
69

70
    public Builder type(String type) {
71
      this.type = type;
1✔
72
      return this;
1✔
73
    }
74

75
    public Builder id(String id) {
76
      this.id = id;
1✔
77
      return this;
1✔
78
    }
79

80
    public StartWorkflowRequestBodyFlowField build() {
81
      return new StartWorkflowRequestBodyFlowField(this);
1✔
82
    }
83
  }
84
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc