• 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

13.04
/src/main/java/com/box/sdkgen/schemas/files/Files.java
1
package com.box.sdkgen.schemas.files;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.box.sdkgen.schemas.filefull.FileFull;
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 files. */
12
@JsonFilter("nullablePropertyFilter")
13
public class Files extends SerializableObject {
14

15
  /** The number of files. */
16
  @JsonProperty("total_count")
17
  protected Long totalCount;
18

19
  /** A list of files. */
20
  protected List<FileFull> entries;
21

22
  public Files() {
23
    super();
1✔
24
  }
1✔
25

26
  protected Files(Builder builder) {
27
    super();
×
28
    this.totalCount = builder.totalCount;
×
29
    this.entries = builder.entries;
×
30
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
31
  }
×
32

33
  public Long getTotalCount() {
34
    return totalCount;
×
35
  }
36

37
  public List<FileFull> getEntries() {
38
    return entries;
1✔
39
  }
40

41
  @Override
42
  public boolean equals(Object o) {
43
    if (this == o) {
×
44
      return true;
×
45
    }
46
    if (o == null || getClass() != o.getClass()) {
×
47
      return false;
×
48
    }
49
    Files casted = (Files) o;
×
50
    return Objects.equals(totalCount, casted.totalCount) && Objects.equals(entries, casted.entries);
×
51
  }
52

53
  @Override
54
  public int hashCode() {
55
    return Objects.hash(totalCount, entries);
×
56
  }
57

58
  @Override
59
  public String toString() {
60
    return "Files{"
×
61
        + "totalCount='"
62
        + totalCount
63
        + '\''
64
        + ", "
65
        + "entries='"
66
        + entries
67
        + '\''
68
        + "}";
69
  }
70

71
  public static class Builder extends NullableFieldTracker {
×
72

73
    protected Long totalCount;
74

75
    protected List<FileFull> entries;
76

77
    public Builder totalCount(Long totalCount) {
78
      this.totalCount = totalCount;
×
79
      return this;
×
80
    }
81

82
    public Builder entries(List<FileFull> entries) {
83
      this.entries = entries;
×
84
      return this;
×
85
    }
86

87
    public Files build() {
88
      return new Files(this);
×
89
    }
90
  }
91
}
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