• 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

8.0
/src/main/java/com/box/sdkgen/schemas/workflow/WorkflowFlowsTriggerScopeObjectField.java
1
package com.box.sdkgen.schemas.workflow;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.box.sdkgen.serialization.json.EnumWrapper;
6
import com.fasterxml.jackson.annotation.JsonFilter;
7
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
8
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
9
import java.util.Objects;
10

11
@JsonFilter("nullablePropertyFilter")
12
public class WorkflowFlowsTriggerScopeObjectField extends SerializableObject {
13

14
  /** The type of the object. */
15
  @JsonDeserialize(
16
      using =
17
          WorkflowFlowsTriggerScopeObjectTypeField
18
              .WorkflowFlowsTriggerScopeObjectTypeFieldDeserializer.class)
19
  @JsonSerialize(
20
      using =
21
          WorkflowFlowsTriggerScopeObjectTypeField
22
              .WorkflowFlowsTriggerScopeObjectTypeFieldSerializer.class)
23
  protected EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField> type;
24

25
  /** The id of the object. */
26
  protected String id;
27

28
  public WorkflowFlowsTriggerScopeObjectField() {
29
    super();
1✔
30
  }
1✔
31

32
  protected WorkflowFlowsTriggerScopeObjectField(Builder builder) {
33
    super();
×
34
    this.type = builder.type;
×
35
    this.id = builder.id;
×
36
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
37
  }
×
38

39
  public EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField> getType() {
40
    return type;
×
41
  }
42

43
  public String getId() {
44
    return id;
×
45
  }
46

47
  @Override
48
  public boolean equals(Object o) {
49
    if (this == o) {
×
50
      return true;
×
51
    }
52
    if (o == null || getClass() != o.getClass()) {
×
53
      return false;
×
54
    }
55
    WorkflowFlowsTriggerScopeObjectField casted = (WorkflowFlowsTriggerScopeObjectField) o;
×
56
    return Objects.equals(type, casted.type) && Objects.equals(id, casted.id);
×
57
  }
58

59
  @Override
60
  public int hashCode() {
61
    return Objects.hash(type, id);
×
62
  }
63

64
  @Override
65
  public String toString() {
66
    return "WorkflowFlowsTriggerScopeObjectField{"
×
67
        + "type='"
68
        + type
69
        + '\''
70
        + ", "
71
        + "id='"
72
        + id
73
        + '\''
74
        + "}";
75
  }
76

77
  public static class Builder extends NullableFieldTracker {
×
78

79
    protected EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField> type;
80

81
    protected String id;
82

83
    public Builder type(WorkflowFlowsTriggerScopeObjectTypeField type) {
84
      this.type = new EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField>(type);
×
85
      return this;
×
86
    }
87

88
    public Builder type(EnumWrapper<WorkflowFlowsTriggerScopeObjectTypeField> type) {
89
      this.type = type;
×
90
      return this;
×
91
    }
92

93
    public Builder id(String id) {
94
      this.id = id;
×
95
      return this;
×
96
    }
97

98
    public WorkflowFlowsTriggerScopeObjectField build() {
99
      return new WorkflowFlowsTriggerScopeObjectField(this);
×
100
    }
101
  }
102
}
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