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

box / box-java-sdk-gen / #290

24 Jun 2025 01:20PM UTC coverage: 35.757% (+0.1%) from 35.632%
#290

Pull #347

github

web-flow
Merge 2c100d09c into d8480ee6c
Pull Request #347: feat: Add Webhook Validation In Java (box/box-codegen#745)

68 of 82 new or added lines in 2 files covered. (82.93%)

11777 existing lines in 624 files now uncovered.

16984 of 47499 relevant lines covered (35.76%)

0.36 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/file/FilePathCollectionField.java
1
package com.box.sdkgen.schemas.file;
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 FilePathCollectionField extends SerializableObject {
12

13
  @JsonProperty("total_count")
14
  protected final long totalCount;
15

16
  protected final List<FolderMini> entries;
17

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

26
  public long getTotalCount() {
UNCOV
27
    return totalCount;
×
28
  }
29

30
  public List<FolderMini> getEntries() {
UNCOV
31
    return entries;
×
32
  }
33

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

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

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