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

box / box-java-sdk / #5076

07 Oct 2025 12:35PM UTC coverage: 37.132% (+0.007%) from 37.125%
#5076

push

github

web-flow
test: Change `Event.additionalDetails` field assertion in events test (box/box-codegen#858) (#1491)

18454 of 49699 relevant lines covered (37.13%)

0.37 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/user/UserNotificationEmailField.java
1
package com.box.sdkgen.schemas.user;
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.Objects;
8

9
@JsonFilter("nullablePropertyFilter")
10
public class UserNotificationEmailField extends SerializableObject {
11

12
  /** The email address to send the notifications to. */
13
  protected String email;
14

15
  /** Specifies if this email address has been confirmed. */
16
  @JsonProperty("is_confirmed")
17
  protected Boolean isConfirmed;
18

19
  public UserNotificationEmailField() {
20
    super();
×
21
  }
×
22

23
  protected UserNotificationEmailField(Builder builder) {
24
    super();
×
25
    this.email = builder.email;
×
26
    this.isConfirmed = builder.isConfirmed;
×
27
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
28
  }
×
29

30
  public String getEmail() {
31
    return email;
×
32
  }
33

34
  public Boolean getIsConfirmed() {
35
    return isConfirmed;
×
36
  }
37

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

50
  @Override
51
  public int hashCode() {
52
    return Objects.hash(email, isConfirmed);
×
53
  }
54

55
  @Override
56
  public String toString() {
57
    return "UserNotificationEmailField{"
×
58
        + "email='"
59
        + email
60
        + '\''
61
        + ", "
62
        + "isConfirmed='"
63
        + isConfirmed
64
        + '\''
65
        + "}";
66
  }
67

68
  public static class Builder extends NullableFieldTracker {
×
69

70
    protected String email;
71

72
    protected Boolean isConfirmed;
73

74
    public Builder email(String email) {
75
      this.email = email;
×
76
      return this;
×
77
    }
78

79
    public Builder isConfirmed(Boolean isConfirmed) {
80
      this.isConfirmed = isConfirmed;
×
81
      return this;
×
82
    }
83

84
    public UserNotificationEmailField build() {
85
      return new UserNotificationEmailField(this);
×
86
    }
87
  }
88
}
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