• 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

6.45
/src/main/java/com/box/sdkgen/schemas/workflow/WorkflowFlowsTriggerScopeField.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 WorkflowFlowsTriggerScopeField extends SerializableObject {
13

14
  /** The trigger scope's resource type. */
15
  @JsonDeserialize(
16
      using =
17
          WorkflowFlowsTriggerScopeTypeField.WorkflowFlowsTriggerScopeTypeFieldDeserializer.class)
18
  @JsonSerialize(
19
      using = WorkflowFlowsTriggerScopeTypeField.WorkflowFlowsTriggerScopeTypeFieldSerializer.class)
20
  protected EnumWrapper<WorkflowFlowsTriggerScopeTypeField> type;
21

22
  /** Indicates the path of the condition value to check. */
23
  protected String ref;
24

25
  /** The object the `ref` points to. */
26
  protected WorkflowFlowsTriggerScopeObjectField object;
27

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

32
  protected WorkflowFlowsTriggerScopeField(Builder builder) {
33
    super();
×
34
    this.type = builder.type;
×
35
    this.ref = builder.ref;
×
36
    this.object = builder.object;
×
37
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
38
  }
×
39

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

44
  public String getRef() {
45
    return ref;
×
46
  }
47

48
  public WorkflowFlowsTriggerScopeObjectField getObject() {
49
    return object;
×
50
  }
51

52
  @Override
53
  public boolean equals(Object o) {
54
    if (this == o) {
×
55
      return true;
×
56
    }
57
    if (o == null || getClass() != o.getClass()) {
×
58
      return false;
×
59
    }
60
    WorkflowFlowsTriggerScopeField casted = (WorkflowFlowsTriggerScopeField) o;
×
61
    return Objects.equals(type, casted.type)
×
62
        && Objects.equals(ref, casted.ref)
×
63
        && Objects.equals(object, casted.object);
×
64
  }
65

66
  @Override
67
  public int hashCode() {
68
    return Objects.hash(type, ref, object);
×
69
  }
70

71
  @Override
72
  public String toString() {
73
    return "WorkflowFlowsTriggerScopeField{"
×
74
        + "type='"
75
        + type
76
        + '\''
77
        + ", "
78
        + "ref='"
79
        + ref
80
        + '\''
81
        + ", "
82
        + "object='"
83
        + object
84
        + '\''
85
        + "}";
86
  }
87

88
  public static class Builder extends NullableFieldTracker {
×
89

90
    protected EnumWrapper<WorkflowFlowsTriggerScopeTypeField> type;
91

92
    protected String ref;
93

94
    protected WorkflowFlowsTriggerScopeObjectField object;
95

96
    public Builder type(WorkflowFlowsTriggerScopeTypeField type) {
97
      this.type = new EnumWrapper<WorkflowFlowsTriggerScopeTypeField>(type);
×
98
      return this;
×
99
    }
100

101
    public Builder type(EnumWrapper<WorkflowFlowsTriggerScopeTypeField> type) {
102
      this.type = type;
×
103
      return this;
×
104
    }
105

106
    public Builder ref(String ref) {
107
      this.ref = ref;
×
108
      return this;
×
109
    }
110

111
    public Builder object(WorkflowFlowsTriggerScopeObjectField object) {
112
      this.object = object;
×
113
      return this;
×
114
    }
115

116
    public WorkflowFlowsTriggerScopeField build() {
117
      return new WorkflowFlowsTriggerScopeField(this);
×
118
    }
119
  }
120
}
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