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

box / box-java-sdk-gen / #293

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

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

11794 existing lines in 627 files now uncovered.

16937 of 47495 relevant lines covered (35.66%)

0.36 hits per line

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

9.68
/src/main/java/com/box/sdkgen/schemas/invite/InviteInvitedToField.java
1
package com.box.sdkgen.schemas.invite;
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 InviteInvitedToField extends SerializableObject {
13

14
  protected String id;
15

16
  @JsonDeserialize(using = InviteInvitedToTypeField.InviteInvitedToTypeFieldDeserializer.class)
17
  @JsonSerialize(using = InviteInvitedToTypeField.InviteInvitedToTypeFieldSerializer.class)
18
  protected EnumWrapper<InviteInvitedToTypeField> type;
19

20
  protected String name;
21

22
  public InviteInvitedToField() {
23
    super();
1✔
24
  }
1✔
25

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

34
  public String getId() {
35
    return id;
1✔
36
  }
37

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

42
  public String getName() {
UNCOV
43
    return name;
×
44
  }
45

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

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

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

UNCOV
82
  public static class Builder extends NullableFieldTracker {
×
83

84
    protected String id;
85

86
    protected EnumWrapper<InviteInvitedToTypeField> type;
87

88
    protected String name;
89

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

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

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

105
    public Builder name(String name) {
UNCOV
106
      this.name = name;
×
107
      return this;
×
108
    }
109

110
    public InviteInvitedToField build() {
UNCOV
111
      return new InviteInvitedToField(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