• 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

52.0
/src/main/java/com/box/sdkgen/schemas/zipdownloadrequest/ZipDownloadRequest.java
1
package com.box.sdkgen.schemas.zipdownloadrequest;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
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 ZipDownloadRequest extends SerializableObject {
12

13
  protected final List<ZipDownloadRequestItemsField> items;
14

15
  @JsonProperty("download_file_name")
16
  protected String downloadFileName;
17

18
  public ZipDownloadRequest(@JsonProperty("items") List<ZipDownloadRequestItemsField> items) {
UNCOV
19
    super();
×
UNCOV
20
    this.items = items;
×
UNCOV
21
  }
×
22

23
  protected ZipDownloadRequest(Builder builder) {
24
    super();
1✔
25
    this.items = builder.items;
1✔
26
    this.downloadFileName = builder.downloadFileName;
1✔
27
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
1✔
28
  }
1✔
29

30
  public List<ZipDownloadRequestItemsField> getItems() {
31
    return items;
1✔
32
  }
33

34
  public String getDownloadFileName() {
35
    return downloadFileName;
1✔
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()) {
×
44
      return false;
×
45
    }
UNCOV
46
    ZipDownloadRequest casted = (ZipDownloadRequest) o;
×
UNCOV
47
    return Objects.equals(items, casted.items)
×
UNCOV
48
        && Objects.equals(downloadFileName, casted.downloadFileName);
×
49
  }
50

51
  @Override
52
  public int hashCode() {
UNCOV
53
    return Objects.hash(items, downloadFileName);
×
54
  }
55

56
  @Override
57
  public String toString() {
UNCOV
58
    return "ZipDownloadRequest{"
×
59
        + "items='"
60
        + items
61
        + '\''
62
        + ", "
63
        + "downloadFileName='"
64
        + downloadFileName
65
        + '\''
66
        + "}";
67
  }
68

69
  public static class Builder extends NullableFieldTracker {
70

71
    protected final List<ZipDownloadRequestItemsField> items;
72

73
    protected String downloadFileName;
74

75
    public Builder(List<ZipDownloadRequestItemsField> items) {
76
      super();
1✔
77
      this.items = items;
1✔
78
    }
1✔
79

80
    public Builder downloadFileName(String downloadFileName) {
81
      this.downloadFileName = downloadFileName;
1✔
82
      return this;
1✔
83
    }
84

85
    public ZipDownloadRequest build() {
86
      return new ZipDownloadRequest(this);
1✔
87
    }
88
  }
89
}
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