• 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

28.57
/src/main/java/com/box/sdkgen/schemas/trashfilerestored/TrashFileRestoredPathCollectionField.java
1
package com.box.sdkgen.schemas.trashfilerestored;
2

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

10
@JsonFilter("nullablePropertyFilter")
11
public class TrashFileRestoredPathCollectionField extends SerializableObject {
12

13
  /** The number of folders in this list. */
14
  @JsonProperty("total_count")
15
  protected final long totalCount;
16

17
  /** The parent folders for this item. */
18
  protected final List<FolderMini> entries;
19

20
  public TrashFileRestoredPathCollectionField(
21
      @JsonProperty("total_count") long totalCount,
22
      @JsonProperty("entries") List<FolderMini> entries) {
23
    super();
1✔
24
    this.totalCount = totalCount;
1✔
25
    this.entries = entries;
1✔
26
  }
1✔
27

28
  public long getTotalCount() {
29
    return totalCount;
×
30
  }
31

32
  public List<FolderMini> getEntries() {
33
    return entries;
×
34
  }
35

36
  @Override
37
  public boolean equals(Object o) {
38
    if (this == o) {
×
39
      return true;
×
40
    }
41
    if (o == null || getClass() != o.getClass()) {
×
42
      return false;
×
43
    }
44
    TrashFileRestoredPathCollectionField casted = (TrashFileRestoredPathCollectionField) o;
×
45
    return Objects.equals(totalCount, casted.totalCount) && Objects.equals(entries, casted.entries);
×
46
  }
47

48
  @Override
49
  public int hashCode() {
50
    return Objects.hash(totalCount, entries);
×
51
  }
52

53
  @Override
54
  public String toString() {
55
    return "TrashFileRestoredPathCollectionField{"
×
56
        + "totalCount='"
57
        + totalCount
58
        + '\''
59
        + ", "
60
        + "entries='"
61
        + entries
62
        + '\''
63
        + "}";
64
  }
65
}
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