• 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

10.81
/src/main/java/com/box/sdkgen/schemas/aimultipleagentresponse/AiMultipleAgentResponse.java
1
package com.box.sdkgen.schemas.aimultipleagentresponse;
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.aisingleagentresponsefull.AiSingleAgentResponseFull;
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
/** List of AI Agents with pagination. */
13
@JsonFilter("nullablePropertyFilter")
14
public class AiMultipleAgentResponse extends SerializableObject {
15

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

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

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

32
  /** The list of AI Agents. */
33
  protected final List<AiSingleAgentResponseFull> entries;
34

35
  public AiMultipleAgentResponse(@JsonProperty("entries") List<AiSingleAgentResponseFull> entries) {
36
    super();
1✔
37
    this.entries = entries;
1✔
38
  }
1✔
39

40
  protected AiMultipleAgentResponse(Builder builder) {
41
    super();
×
42
    this.limit = builder.limit;
×
43
    this.nextMarker = builder.nextMarker;
×
44
    this.prevMarker = builder.prevMarker;
×
45
    this.entries = builder.entries;
×
46
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
47
  }
×
48

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

53
  public String getNextMarker() {
54
    return nextMarker;
×
55
  }
56

57
  public String getPrevMarker() {
58
    return prevMarker;
×
59
  }
60

61
  public List<AiSingleAgentResponseFull> getEntries() {
62
    return entries;
1✔
63
  }
64

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

80
  @Override
81
  public int hashCode() {
82
    return Objects.hash(limit, nextMarker, prevMarker, entries);
×
83
  }
84

85
  @Override
86
  public String toString() {
87
    return "AiMultipleAgentResponse{"
×
88
        + "limit='"
89
        + limit
90
        + '\''
91
        + ", "
92
        + "nextMarker='"
93
        + nextMarker
94
        + '\''
95
        + ", "
96
        + "prevMarker='"
97
        + prevMarker
98
        + '\''
99
        + ", "
100
        + "entries='"
101
        + entries
102
        + '\''
103
        + "}";
104
  }
105

106
  public static class Builder extends NullableFieldTracker {
107

108
    protected Long limit;
109

110
    protected String nextMarker;
111

112
    protected String prevMarker;
113

114
    protected final List<AiSingleAgentResponseFull> entries;
115

116
    public Builder(List<AiSingleAgentResponseFull> entries) {
117
      super();
×
118
      this.entries = entries;
×
119
    }
×
120

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

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

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

138
    public AiMultipleAgentResponse build() {
139
      return new AiMultipleAgentResponse(this);
×
140
    }
141
  }
142
}
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