• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-java-sdk-gen / #226

20 Jun 2025 03:14PM UTC coverage: 35.609% (-0.2%) from 35.816%
#226

push

github

web-flow
feat: Shorten builder names in Java (box/box-codegen#742) (#334)

367 of 1570 new or added lines in 984 files covered. (23.38%)

674 existing lines in 370 files now uncovered.

16125 of 45284 relevant lines covered (35.61%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

11.76
/src/main/java/com/box/sdkgen/schemas/aimultipleagentresponse/AiMultipleAgentResponse.java
1
package com.box.sdkgen.schemas.aimultipleagentresponse;
2

3
import com.box.sdkgen.internal.SerializableObject;
4
import com.box.sdkgen.schemas.aisingleagentresponsefull.AiSingleAgentResponseFull;
5
import com.fasterxml.jackson.annotation.JsonProperty;
6
import java.util.List;
7
import java.util.Objects;
8

9
public class AiMultipleAgentResponse extends SerializableObject {
10

11
  protected Long limit;
12

13
  @JsonProperty("next_marker")
14
  protected String nextMarker;
15

16
  @JsonProperty("prev_marker")
17
  protected String prevMarker;
18

19
  protected final List<AiSingleAgentResponseFull> entries;
20

21
  public AiMultipleAgentResponse(@JsonProperty("entries") List<AiSingleAgentResponseFull> entries) {
22
    super();
1✔
23
    this.entries = entries;
1✔
24
  }
1✔
25

26
  protected AiMultipleAgentResponse(Builder builder) {
27
    super();
×
28
    this.limit = builder.limit;
×
29
    this.nextMarker = builder.nextMarker;
×
30
    this.prevMarker = builder.prevMarker;
×
31
    this.entries = builder.entries;
×
32
  }
×
33

34
  public Long getLimit() {
35
    return limit;
×
36
  }
37

38
  public String getNextMarker() {
39
    return nextMarker;
×
40
  }
41

42
  public String getPrevMarker() {
43
    return prevMarker;
×
44
  }
45

46
  public List<AiSingleAgentResponseFull> getEntries() {
47
    return entries;
1✔
48
  }
49

50
  @Override
51
  public boolean equals(Object o) {
52
    if (this == o) {
×
53
      return true;
×
54
    }
55
    if (o == null || getClass() != o.getClass()) {
×
56
      return false;
×
57
    }
58
    AiMultipleAgentResponse casted = (AiMultipleAgentResponse) o;
×
59
    return Objects.equals(limit, casted.limit)
×
60
        && Objects.equals(nextMarker, casted.nextMarker)
×
61
        && Objects.equals(prevMarker, casted.prevMarker)
×
62
        && Objects.equals(entries, casted.entries);
×
63
  }
64

65
  @Override
66
  public int hashCode() {
67
    return Objects.hash(limit, nextMarker, prevMarker, entries);
×
68
  }
69

70
  @Override
71
  public String toString() {
72
    return "AiMultipleAgentResponse{"
×
73
        + "limit='"
74
        + limit
75
        + '\''
76
        + ", "
77
        + "nextMarker='"
78
        + nextMarker
79
        + '\''
80
        + ", "
81
        + "prevMarker='"
82
        + prevMarker
83
        + '\''
84
        + ", "
85
        + "entries='"
86
        + entries
87
        + '\''
88
        + "}";
89
  }
90

91
  public static class Builder {
92

93
    protected Long limit;
94

95
    protected String nextMarker;
96

97
    protected String prevMarker;
98

99
    protected final List<AiSingleAgentResponseFull> entries;
100

NEW
101
    public Builder(List<AiSingleAgentResponseFull> entries) {
×
102
      this.entries = entries;
×
103
    }
×
104

105
    public Builder limit(Long limit) {
106
      this.limit = limit;
×
107
      return this;
×
108
    }
109

110
    public Builder nextMarker(String nextMarker) {
111
      this.nextMarker = nextMarker;
×
112
      return this;
×
113
    }
114

115
    public Builder prevMarker(String prevMarker) {
116
      this.prevMarker = prevMarker;
×
117
      return this;
×
118
    }
119

120
    public AiMultipleAgentResponse build() {
121
      return new AiMultipleAgentResponse(this);
×
122
    }
123
  }
124
}
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