• 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

33.33
/src/main/java/com/box/sdkgen/managers/emailaliases/CreateUserEmailAliasRequestBody.java
1
package com.box.sdkgen.managers.emailaliases;
2

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

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

11
  /**
12
   * The email address to add to the account as an alias.
13
   *
14
   * <p>Note: The domain of the email alias needs to be registered to your enterprise. See the
15
   * [domain verification guide](
16
   * https://support.box.com/hc/en-us/articles/4408619650579-Domain-Verification ) for steps to add
17
   * a new domain.
18
   */
19
  protected final String email;
20

21
  public CreateUserEmailAliasRequestBody(@JsonProperty("email") String email) {
22
    super();
1✔
23
    this.email = email;
1✔
24
  }
1✔
25

26
  public String getEmail() {
27
    return email;
1✔
28
  }
29

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

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

47
  @Override
48
  public String toString() {
49
    return "CreateUserEmailAliasRequestBody{" + "email='" + email + '\'' + "}";
×
50
  }
51
}
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