• 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

10.34
/src/main/java/com/box/sdkgen/schemas/metadataqueryresults/MetadataQueryResults.java
1
package com.box.sdkgen.schemas.metadataqueryresults;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.box.sdkgen.schemas.filefullorfolderfull.FileFullOrFolderFull;
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
@JsonFilter("nullablePropertyFilter")
12
public class MetadataQueryResults extends SerializableObject {
13

14
  protected List<FileFullOrFolderFull> entries;
15

16
  protected Long limit;
17

18
  @JsonProperty("next_marker")
19
  protected String nextMarker;
20

21
  public MetadataQueryResults() {
22
    super();
1✔
23
  }
1✔
24

25
  protected MetadataQueryResults(Builder builder) {
26
    super();
×
27
    this.entries = builder.entries;
×
UNCOV
28
    this.limit = builder.limit;
×
UNCOV
29
    this.nextMarker = builder.nextMarker;
×
UNCOV
30
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
31
  }
×
32

33
  public List<FileFullOrFolderFull> getEntries() {
34
    return entries;
1✔
35
  }
36

37
  public Long getLimit() {
38
    return limit;
×
39
  }
40

41
  public String getNextMarker() {
UNCOV
42
    return nextMarker;
×
43
  }
44

45
  @Override
46
  public boolean equals(Object o) {
47
    if (this == o) {
×
UNCOV
48
      return true;
×
49
    }
50
    if (o == null || getClass() != o.getClass()) {
×
51
      return false;
×
52
    }
UNCOV
53
    MetadataQueryResults casted = (MetadataQueryResults) o;
×
UNCOV
54
    return Objects.equals(entries, casted.entries)
×
UNCOV
55
        && Objects.equals(limit, casted.limit)
×
UNCOV
56
        && Objects.equals(nextMarker, casted.nextMarker);
×
57
  }
58

59
  @Override
60
  public int hashCode() {
UNCOV
61
    return Objects.hash(entries, limit, nextMarker);
×
62
  }
63

64
  @Override
65
  public String toString() {
UNCOV
66
    return "MetadataQueryResults{"
×
67
        + "entries='"
68
        + entries
69
        + '\''
70
        + ", "
71
        + "limit='"
72
        + limit
73
        + '\''
74
        + ", "
75
        + "nextMarker='"
76
        + nextMarker
77
        + '\''
78
        + "}";
79
  }
80

UNCOV
81
  public static class Builder extends NullableFieldTracker {
×
82

83
    protected List<FileFullOrFolderFull> entries;
84

85
    protected Long limit;
86

87
    protected String nextMarker;
88

89
    public Builder entries(List<FileFullOrFolderFull> entries) {
UNCOV
90
      this.entries = entries;
×
91
      return this;
×
92
    }
93

94
    public Builder limit(Long limit) {
UNCOV
95
      this.limit = limit;
×
96
      return this;
×
97
    }
98

99
    public Builder nextMarker(String nextMarker) {
UNCOV
100
      this.nextMarker = nextMarker;
×
101
      return this;
×
102
    }
103

104
    public MetadataQueryResults build() {
UNCOV
105
      return new MetadataQueryResults(this);
×
106
    }
107
  }
108
}
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