• 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/managers/users/UpdateUserByIdRequestBodyNotificationEmailField.java
1
package com.box.sdkgen.managers.users;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.fasterxml.jackson.annotation.JsonFilter;
6
import java.util.Objects;
7

8
@JsonFilter("nullablePropertyFilter")
9
public class UpdateUserByIdRequestBodyNotificationEmailField extends SerializableObject {
10

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

14
  public UpdateUserByIdRequestBodyNotificationEmailField() {
15
    super();
×
16
  }
×
17

18
  protected UpdateUserByIdRequestBodyNotificationEmailField(Builder builder) {
19
    super();
×
20
    this.email = builder.email;
×
21
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
22
  }
×
23

24
  public String getEmail() {
25
    return email;
×
26
  }
27

28
  @Override
29
  public boolean equals(Object o) {
30
    if (this == o) {
×
31
      return true;
×
32
    }
33
    if (o == null || getClass() != o.getClass()) {
×
34
      return false;
×
35
    }
36
    UpdateUserByIdRequestBodyNotificationEmailField casted =
×
37
        (UpdateUserByIdRequestBodyNotificationEmailField) o;
38
    return Objects.equals(email, casted.email);
×
39
  }
40

41
  @Override
42
  public int hashCode() {
43
    return Objects.hash(email);
×
44
  }
45

46
  @Override
47
  public String toString() {
48
    return "UpdateUserByIdRequestBodyNotificationEmailField{" + "email='" + email + '\'' + "}";
×
49
  }
50

51
  public static class Builder extends NullableFieldTracker {
×
52

53
    protected String email;
54

55
    public Builder email(String email) {
56
      this.email = email;
×
57
      return this;
×
58
    }
59

60
    public UpdateUserByIdRequestBodyNotificationEmailField build() {
61
      return new UpdateUserByIdRequestBodyNotificationEmailField(this);
×
62
    }
63
  }
64
}
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