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

box / box-java-sdk-gen / #296

25 Jun 2025 10:12AM UTC coverage: 35.677% (-0.05%) from 35.723%
#296

Pull #348

github

web-flow
Merge d48b178e0 into d8480ee6c
Pull Request #348: chore: Update .codegen.json with commit hash of codegen and openapi spec

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

11820 existing lines in 631 files now uncovered.

16946 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

33.33
/src/main/java/com/box/sdkgen/schemas/zipdownloadrequest/ZipDownloadRequestItemsField.java
1
package com.box.sdkgen.schemas.zipdownloadrequest;
2

3
import com.box.sdkgen.internal.SerializableObject;
4
import com.box.sdkgen.serialization.json.EnumWrapper;
5
import com.fasterxml.jackson.annotation.JsonFilter;
6
import com.fasterxml.jackson.annotation.JsonProperty;
7
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
8
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
9
import java.util.Objects;
10

11
@JsonFilter("nullablePropertyFilter")
12
public class ZipDownloadRequestItemsField extends SerializableObject {
13

14
  @JsonDeserialize(
15
      using = ZipDownloadRequestItemsTypeField.ZipDownloadRequestItemsTypeFieldDeserializer.class)
16
  @JsonSerialize(
17
      using = ZipDownloadRequestItemsTypeField.ZipDownloadRequestItemsTypeFieldSerializer.class)
18
  protected final EnumWrapper<ZipDownloadRequestItemsTypeField> type;
19

20
  protected final String id;
21

22
  public ZipDownloadRequestItemsField(
23
      @JsonProperty("type") EnumWrapper<ZipDownloadRequestItemsTypeField> type,
24
      @JsonProperty("id") String id) {
25
    super();
×
26
    this.type = type;
×
UNCOV
27
    this.id = id;
×
UNCOV
28
  }
×
29

30
  public ZipDownloadRequestItemsField(ZipDownloadRequestItemsTypeField type, String id) {
31
    super();
1✔
32
    this.type = new EnumWrapper<ZipDownloadRequestItemsTypeField>(type);
1✔
33
    this.id = id;
1✔
34
  }
1✔
35

36
  public EnumWrapper<ZipDownloadRequestItemsTypeField> getType() {
37
    return type;
1✔
38
  }
39

40
  public String getId() {
41
    return id;
1✔
42
  }
43

44
  @Override
45
  public boolean equals(Object o) {
UNCOV
46
    if (this == o) {
×
47
      return true;
×
48
    }
UNCOV
49
    if (o == null || getClass() != o.getClass()) {
×
50
      return false;
×
51
    }
UNCOV
52
    ZipDownloadRequestItemsField casted = (ZipDownloadRequestItemsField) o;
×
UNCOV
53
    return Objects.equals(type, casted.type) && Objects.equals(id, casted.id);
×
54
  }
55

56
  @Override
57
  public int hashCode() {
UNCOV
58
    return Objects.hash(type, id);
×
59
  }
60

61
  @Override
62
  public String toString() {
UNCOV
63
    return "ZipDownloadRequestItemsField{"
×
64
        + "type='"
65
        + type
66
        + '\''
67
        + ", "
68
        + "id='"
69
        + id
70
        + '\''
71
        + "}";
72
  }
73
}
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