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

box / box-java-sdk-gen / #301

26 Jun 2025 03:33PM UTC coverage: 35.681% (-0.04%) from 35.723%
#301

push

github

web-flow
feat: Add webhook validation(box/box-codegen#745) (#347)

Co-authored-by: box-sdk-build <box-sdk-build@box.com>

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

11818 existing lines in 631 files now uncovered.

16948 of 47499 relevant lines covered (35.68%)

0.36 hits per line

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

8.33
/src/main/java/com/box/sdkgen/schemas/recentitems/RecentItems.java
1
package com.box.sdkgen.schemas.storagepolicyassignments;
2

3
import com.box.sdkgen.internal.Nullable;
4
import com.box.sdkgen.internal.NullableFieldTracker;
5
import com.box.sdkgen.internal.SerializableObject;
6
import com.box.sdkgen.schemas.storagepolicyassignment.StoragePolicyAssignment;
7
import com.fasterxml.jackson.annotation.JsonFilter;
8
import com.fasterxml.jackson.annotation.JsonProperty;
9
import java.util.List;
10
import java.util.Objects;
11

12
@JsonFilter("nullablePropertyFilter")
13
public class StoragePolicyAssignments extends SerializableObject {
14

15
  protected Long limit;
16

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

21
  @JsonProperty("prev_marker")
22
  @Nullable
23
  protected String prevMarker;
24

25
  protected List<StoragePolicyAssignment> entries;
26

27
  public StoragePolicyAssignments() {
28
    super();
1✔
29
  }
1✔
30

31
  protected StoragePolicyAssignments(Builder builder) {
UNCOV
32
    super();
×
UNCOV
33
    this.limit = builder.limit;
×
34
    this.nextMarker = builder.nextMarker;
×
UNCOV
35
    this.prevMarker = builder.prevMarker;
×
UNCOV
36
    this.entries = builder.entries;
×
UNCOV
37
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
38
  }
×
39

40
  public Long getLimit() {
UNCOV
41
    return limit;
×
42
  }
43

44
  public String getNextMarker() {
UNCOV
45
    return nextMarker;
×
46
  }
47

48
  public String getPrevMarker() {
UNCOV
49
    return prevMarker;
×
50
  }
51

52
  public List<StoragePolicyAssignment> getEntries() {
53
    return entries;
1✔
54
  }
55

56
  @Override
57
  public boolean equals(Object o) {
58
    if (this == o) {
×
59
      return true;
×
60
    }
61
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
62
      return false;
×
63
    }
UNCOV
64
    StoragePolicyAssignments casted = (StoragePolicyAssignments) o;
×
UNCOV
65
    return Objects.equals(limit, casted.limit)
×
66
        && Objects.equals(nextMarker, casted.nextMarker)
×
UNCOV
67
        && Objects.equals(prevMarker, casted.prevMarker)
×
UNCOV
68
        && Objects.equals(entries, casted.entries);
×
69
  }
70

71
  @Override
72
  public int hashCode() {
UNCOV
73
    return Objects.hash(limit, nextMarker, prevMarker, entries);
×
74
  }
75

76
  @Override
77
  public String toString() {
UNCOV
78
    return "StoragePolicyAssignments{"
×
79
        + "limit='"
80
        + limit
81
        + '\''
82
        + ", "
83
        + "nextMarker='"
84
        + nextMarker
85
        + '\''
86
        + ", "
87
        + "prevMarker='"
88
        + prevMarker
89
        + '\''
90
        + ", "
91
        + "entries='"
92
        + entries
93
        + '\''
94
        + "}";
95
  }
96

UNCOV
97
  public static class Builder extends NullableFieldTracker {
×
98

99
    protected Long limit;
100

101
    protected String nextMarker;
102

103
    protected String prevMarker;
104

105
    protected List<StoragePolicyAssignment> entries;
106

107
    public Builder limit(Long limit) {
UNCOV
108
      this.limit = limit;
×
UNCOV
109
      return this;
×
110
    }
111

112
    public Builder nextMarker(String nextMarker) {
UNCOV
113
      this.nextMarker = nextMarker;
×
UNCOV
114
      this.markNullableFieldAsSet("next_marker");
×
UNCOV
115
      return this;
×
116
    }
117

118
    public Builder prevMarker(String prevMarker) {
UNCOV
119
      this.prevMarker = prevMarker;
×
UNCOV
120
      this.markNullableFieldAsSet("prev_marker");
×
121
      return this;
×
122
    }
123

124
    public Builder entries(List<StoragePolicyAssignment> entries) {
UNCOV
125
      this.entries = entries;
×
UNCOV
126
      return this;
×
127
    }
128

129
    public StoragePolicyAssignments build() {
UNCOV
130
      return new StoragePolicyAssignments(this);
×
131
    }
132
  }
133
}
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