• 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.33
/src/main/java/com/box/sdkgen/schemas/workflows/Workflows.java
1
package com.box.sdkgen.schemas.workflows;
2

3
import com.box.sdkgen.internal.Nullable;
4
import com.box.sdkgen.internal.NullableFieldTracker;
5
import com.box.sdkgen.internal.SerializableObject;
6
import com.box.sdkgen.schemas.workflow.Workflow;
7
import com.fasterxml.jackson.annotation.JsonFilter;
8
import com.fasterxml.jackson.annotation.JsonProperty;
9
import java.util.List;
10
import java.util.Objects;
11

12
/**
13
 * A list of workflows.
14
 *
15
 * <p>You application must be authorized to use the `Manage Box Relay` application scope within the
16
 * developer console in order to use this resource.
17
 */
18
@JsonFilter("nullablePropertyFilter")
19
public class Workflows extends SerializableObject {
20

21
  /**
22
   * The limit that was used for these entries. This will be the same as the `limit` query parameter
23
   * unless that value exceeded the maximum value allowed. The maximum value varies by API.
24
   */
25
  protected Long limit;
26

27
  /** The marker for the start of the next page of results. */
28
  @JsonProperty("next_marker")
29
  @Nullable
30
  protected String nextMarker;
31

32
  /** The marker for the start of the previous page of results. */
33
  @JsonProperty("prev_marker")
34
  @Nullable
35
  protected String prevMarker;
36

37
  /** A list of workflows. */
38
  protected List<Workflow> entries;
39

40
  public Workflows() {
41
    super();
1✔
42
  }
1✔
43

44
  protected Workflows(Builder builder) {
45
    super();
×
46
    this.limit = builder.limit;
×
47
    this.nextMarker = builder.nextMarker;
×
48
    this.prevMarker = builder.prevMarker;
×
49
    this.entries = builder.entries;
×
50
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
51
  }
×
52

53
  public Long getLimit() {
54
    return limit;
×
55
  }
56

57
  public String getNextMarker() {
58
    return nextMarker;
×
59
  }
60

61
  public String getPrevMarker() {
62
    return prevMarker;
×
63
  }
64

65
  public List<Workflow> getEntries() {
66
    return entries;
1✔
67
  }
68

69
  @Override
70
  public boolean equals(Object o) {
71
    if (this == o) {
×
72
      return true;
×
73
    }
74
    if (o == null || getClass() != o.getClass()) {
×
75
      return false;
×
76
    }
77
    Workflows casted = (Workflows) o;
×
78
    return Objects.equals(limit, casted.limit)
×
79
        && Objects.equals(nextMarker, casted.nextMarker)
×
80
        && Objects.equals(prevMarker, casted.prevMarker)
×
81
        && Objects.equals(entries, casted.entries);
×
82
  }
83

84
  @Override
85
  public int hashCode() {
86
    return Objects.hash(limit, nextMarker, prevMarker, entries);
×
87
  }
88

89
  @Override
90
  public String toString() {
91
    return "Workflows{"
×
92
        + "limit='"
93
        + limit
94
        + '\''
95
        + ", "
96
        + "nextMarker='"
97
        + nextMarker
98
        + '\''
99
        + ", "
100
        + "prevMarker='"
101
        + prevMarker
102
        + '\''
103
        + ", "
104
        + "entries='"
105
        + entries
106
        + '\''
107
        + "}";
108
  }
109

110
  public static class Builder extends NullableFieldTracker {
×
111

112
    protected Long limit;
113

114
    protected String nextMarker;
115

116
    protected String prevMarker;
117

118
    protected List<Workflow> entries;
119

120
    public Builder limit(Long limit) {
121
      this.limit = limit;
×
122
      return this;
×
123
    }
124

125
    public Builder nextMarker(String nextMarker) {
126
      this.nextMarker = nextMarker;
×
127
      this.markNullableFieldAsSet("next_marker");
×
128
      return this;
×
129
    }
130

131
    public Builder prevMarker(String prevMarker) {
132
      this.prevMarker = prevMarker;
×
133
      this.markNullableFieldAsSet("prev_marker");
×
134
      return this;
×
135
    }
136

137
    public Builder entries(List<Workflow> entries) {
138
      this.entries = entries;
×
139
      return this;
×
140
    }
141

142
    public Workflows build() {
143
      return new Workflows(this);
×
144
    }
145
  }
146
}
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