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

box / box-java-sdk-gen / #294

24 Jun 2025 01:20PM UTC coverage: 35.662% (+0.03%) from 35.632%
#294

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%)

11791 existing lines in 624 files now uncovered.

16939 of 47499 relevant lines covered (35.66%)

0.36 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/taskassignments/TaskAssignments.java
1
package com.box.sdkgen.schemas.taskassignments;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.box.sdkgen.schemas.taskassignment.TaskAssignment;
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 TaskAssignments extends SerializableObject {
13

14
  @JsonProperty("total_count")
15
  protected Long totalCount;
16

17
  protected List<TaskAssignment> entries;
18

19
  public TaskAssignments() {
20
    super();
1✔
21
  }
1✔
22

23
  protected TaskAssignments(Builder builder) {
24
    super();
×
UNCOV
25
    this.totalCount = builder.totalCount;
×
UNCOV
26
    this.entries = builder.entries;
×
UNCOV
27
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
28
  }
×
29

30
  public Long getTotalCount() {
31
    return totalCount;
1✔
32
  }
33

34
  public List<TaskAssignment> getEntries() {
UNCOV
35
    return entries;
×
36
  }
37

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

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

55
  @Override
56
  public String toString() {
UNCOV
57
    return "TaskAssignments{"
×
58
        + "totalCount='"
59
        + totalCount
60
        + '\''
61
        + ", "
62
        + "entries='"
63
        + entries
64
        + '\''
65
        + "}";
66
  }
67

UNCOV
68
  public static class Builder extends NullableFieldTracker {
×
69

70
    protected Long totalCount;
71

72
    protected List<TaskAssignment> entries;
73

74
    public Builder totalCount(Long totalCount) {
UNCOV
75
      this.totalCount = totalCount;
×
76
      return this;
×
77
    }
78

79
    public Builder entries(List<TaskAssignment> entries) {
UNCOV
80
      this.entries = entries;
×
81
      return this;
×
82
    }
83

84
    public TaskAssignments build() {
UNCOV
85
      return new TaskAssignments(this);
×
86
    }
87
  }
88
}
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