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

box / box-java-sdk / #5076

07 Oct 2025 12:35PM UTC coverage: 37.132% (+0.007%) from 37.125%
#5076

push

github

web-flow
test: Change `Event.additionalDetails` field assertion in events test (box/box-codegen#858) (#1491)

18454 of 49699 relevant lines covered (37.13%)

0.37 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
  /** The type of the flow object. */
12
  protected String type;
13

14
  /** The id of the flow. */
15
  protected String id;
16

17
  public StartWorkflowRequestBodyFlowField() {
18
    super();
×
19
  }
×
20

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

28
  public String getType() {
29
    return type;
1✔
30
  }
31

32
  public String getId() {
33
    return id;
1✔
34
  }
35

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

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

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

66
  public static class Builder extends NullableFieldTracker {
1✔
67

68
    protected String type;
69

70
    protected String id;
71

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

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

82
    public StartWorkflowRequestBodyFlowField build() {
83
      return new StartWorkflowRequestBodyFlowField(this);
1✔
84
    }
85
  }
86
}
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