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

box / box-java-sdk-gen / #541

05 Sep 2025 02:31PM UTC coverage: 7.451% (-29.2%) from 36.66%
#541

push

other

web-flow
chore: release version 0.8.1 (#437)

1 of 1 new or added line in 1 file covered. (100.0%)

14652 existing lines in 1191 files now uncovered.

3737 of 50151 relevant lines covered (7.45%)

0.07 hits per line

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

0.0
/src/main/java/com/box/sdkgen/schemas/invite/InviteInvitedToField.java
1
package com.box.sdkgen.schemas.webhookmini;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.box.sdkgen.serialization.json.EnumWrapper;
6
import com.fasterxml.jackson.annotation.JsonFilter;
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 WebhookMini extends SerializableObject {
13

14
  protected String id;
15

16
  @JsonDeserialize(using = WebhookMiniTypeField.WebhookMiniTypeFieldDeserializer.class)
17
  @JsonSerialize(using = WebhookMiniTypeField.WebhookMiniTypeFieldSerializer.class)
18
  protected EnumWrapper<WebhookMiniTypeField> type;
19

20
  protected WebhookMiniTargetField target;
21

22
  public WebhookMini() {
UNCOV
23
    super();
×
UNCOV
24
  }
×
25

26
  protected WebhookMini(Builder builder) {
27
    super();
×
28
    this.id = builder.id;
×
29
    this.type = builder.type;
×
30
    this.target = builder.target;
×
31
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
32
  }
×
33

34
  public String getId() {
UNCOV
35
    return id;
×
36
  }
37

38
  public EnumWrapper<WebhookMiniTypeField> getType() {
39
    return type;
×
40
  }
41

42
  public WebhookMiniTargetField getTarget() {
UNCOV
43
    return target;
×
44
  }
45

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

60
  @Override
61
  public int hashCode() {
62
    return Objects.hash(id, type, target);
×
63
  }
64

65
  @Override
66
  public String toString() {
67
    return "WebhookMini{"
×
68
        + "id='"
69
        + id
70
        + '\''
71
        + ", "
72
        + "type='"
73
        + type
74
        + '\''
75
        + ", "
76
        + "target='"
77
        + target
78
        + '\''
79
        + "}";
80
  }
81

82
  public static class Builder extends NullableFieldTracker {
×
83

84
    protected String id;
85

86
    protected EnumWrapper<WebhookMiniTypeField> type;
87

88
    protected WebhookMiniTargetField target;
89

90
    public Builder id(String id) {
91
      this.id = id;
×
92
      return this;
×
93
    }
94

95
    public Builder type(WebhookMiniTypeField type) {
96
      this.type = new EnumWrapper<WebhookMiniTypeField>(type);
×
97
      return this;
×
98
    }
99

100
    public Builder type(EnumWrapper<WebhookMiniTypeField> type) {
101
      this.type = type;
×
102
      return this;
×
103
    }
104

105
    public Builder target(WebhookMiniTargetField target) {
106
      this.target = target;
×
107
      return this;
×
108
    }
109

110
    public WebhookMini build() {
111
      return new WebhookMini(this);
×
112
    }
113
  }
114
}
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