• 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/commentbase/CommentBase.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 WebhookMiniTargetField extends SerializableObject {
13

14
  protected String id;
15

16
  @JsonDeserialize(using = WebhookMiniTargetTypeField.WebhookMiniTargetTypeFieldDeserializer.class)
17
  @JsonSerialize(using = WebhookMiniTargetTypeField.WebhookMiniTargetTypeFieldSerializer.class)
18
  protected EnumWrapper<WebhookMiniTargetTypeField> type;
19

20
  public WebhookMiniTargetField() {
UNCOV
21
    super();
×
UNCOV
22
  }
×
23

24
  protected WebhookMiniTargetField(Builder builder) {
25
    super();
×
26
    this.id = builder.id;
×
27
    this.type = builder.type;
×
28
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
29
  }
×
30

31
  public String getId() {
UNCOV
32
    return id;
×
33
  }
34

35
  public EnumWrapper<WebhookMiniTargetTypeField> getType() {
UNCOV
36
    return type;
×
37
  }
38

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

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

56
  @Override
57
  public String toString() {
58
    return "WebhookMiniTargetField{" + "id='" + id + '\'' + ", " + "type='" + type + '\'' + "}";
×
59
  }
60

61
  public static class Builder extends NullableFieldTracker {
×
62

63
    protected String id;
64

65
    protected EnumWrapper<WebhookMiniTargetTypeField> type;
66

67
    public Builder id(String id) {
68
      this.id = id;
×
69
      return this;
×
70
    }
71

72
    public Builder type(WebhookMiniTargetTypeField type) {
73
      this.type = new EnumWrapper<WebhookMiniTargetTypeField>(type);
×
74
      return this;
×
75
    }
76

77
    public Builder type(EnumWrapper<WebhookMiniTargetTypeField> type) {
78
      this.type = type;
×
79
      return this;
×
80
    }
81

82
    public WebhookMiniTargetField build() {
83
      return new WebhookMiniTargetField(this);
×
84
    }
85
  }
86
}
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