• 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.82
/src/main/java/com/box/sdkgen/schemas/devicepinners/DevicePinners.java
1
package com.box.sdkgen.schemas.devicepinners;
2

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

11
/** A list of device pins. */
12
@JsonFilter("nullablePropertyFilter")
13
public class DevicePinners extends SerializableObject {
14

15
  /** A list of device pins. */
16
  protected List<DevicePinner> entries;
17

18
  /**
19
   * The limit that was used for these entries. This will be the same as the `limit` query parameter
20
   * unless that value exceeded the maximum value allowed.
21
   */
22
  protected Long limit;
23

24
  /** The marker for the start of the next page of results. */
25
  @JsonProperty("next_marker")
26
  protected Long nextMarker;
27

28
  /** The order by which items are returned. */
29
  protected List<DevicePinnersOrderField> order;
30

31
  public DevicePinners() {
32
    super();
1✔
33
  }
1✔
34

35
  protected DevicePinners(Builder builder) {
36
    super();
×
37
    this.entries = builder.entries;
×
38
    this.limit = builder.limit;
×
39
    this.nextMarker = builder.nextMarker;
×
40
    this.order = builder.order;
×
41
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
42
  }
×
43

44
  public List<DevicePinner> getEntries() {
45
    return entries;
1✔
46
  }
47

48
  public Long getLimit() {
49
    return limit;
×
50
  }
51

52
  public Long getNextMarker() {
53
    return nextMarker;
×
54
  }
55

56
  public List<DevicePinnersOrderField> getOrder() {
57
    return order;
×
58
  }
59

60
  @Override
61
  public boolean equals(Object o) {
62
    if (this == o) {
×
63
      return true;
×
64
    }
65
    if (o == null || getClass() != o.getClass()) {
×
66
      return false;
×
67
    }
68
    DevicePinners casted = (DevicePinners) o;
×
69
    return Objects.equals(entries, casted.entries)
×
70
        && Objects.equals(limit, casted.limit)
×
71
        && Objects.equals(nextMarker, casted.nextMarker)
×
72
        && Objects.equals(order, casted.order);
×
73
  }
74

75
  @Override
76
  public int hashCode() {
77
    return Objects.hash(entries, limit, nextMarker, order);
×
78
  }
79

80
  @Override
81
  public String toString() {
82
    return "DevicePinners{"
×
83
        + "entries='"
84
        + entries
85
        + '\''
86
        + ", "
87
        + "limit='"
88
        + limit
89
        + '\''
90
        + ", "
91
        + "nextMarker='"
92
        + nextMarker
93
        + '\''
94
        + ", "
95
        + "order='"
96
        + order
97
        + '\''
98
        + "}";
99
  }
100

101
  public static class Builder extends NullableFieldTracker {
×
102

103
    protected List<DevicePinner> entries;
104

105
    protected Long limit;
106

107
    protected Long nextMarker;
108

109
    protected List<DevicePinnersOrderField> order;
110

111
    public Builder entries(List<DevicePinner> entries) {
112
      this.entries = entries;
×
113
      return this;
×
114
    }
115

116
    public Builder limit(Long limit) {
117
      this.limit = limit;
×
118
      return this;
×
119
    }
120

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

126
    public Builder order(List<DevicePinnersOrderField> order) {
127
      this.order = order;
×
128
      return this;
×
129
    }
130

131
    public DevicePinners build() {
132
      return new DevicePinners(this);
×
133
    }
134
  }
135
}
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