• 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

40.0
/src/main/java/com/box/sdkgen/managers/invites/CreateInviteRequestBody.java
1
package com.box.sdkgen.managers.invites;
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 CreateInviteRequestBody extends SerializableObject {
10

11
  /** The enterprise to invite the user to. */
12
  protected final CreateInviteRequestBodyEnterpriseField enterprise;
13

14
  /** The user to invite. */
15
  @JsonProperty("actionable_by")
16
  protected final CreateInviteRequestBodyActionableByField actionableBy;
17

18
  public CreateInviteRequestBody(
19
      @JsonProperty("enterprise") CreateInviteRequestBodyEnterpriseField enterprise,
20
      @JsonProperty("actionable_by") CreateInviteRequestBodyActionableByField actionableBy) {
21
    super();
1✔
22
    this.enterprise = enterprise;
1✔
23
    this.actionableBy = actionableBy;
1✔
24
  }
1✔
25

26
  public CreateInviteRequestBodyEnterpriseField getEnterprise() {
27
    return enterprise;
1✔
28
  }
29

30
  public CreateInviteRequestBodyActionableByField getActionableBy() {
31
    return actionableBy;
1✔
32
  }
33

34
  @Override
35
  public boolean equals(Object o) {
36
    if (this == o) {
×
37
      return true;
×
38
    }
39
    if (o == null || getClass() != o.getClass()) {
×
40
      return false;
×
41
    }
42
    CreateInviteRequestBody casted = (CreateInviteRequestBody) o;
×
43
    return Objects.equals(enterprise, casted.enterprise)
×
44
        && Objects.equals(actionableBy, casted.actionableBy);
×
45
  }
46

47
  @Override
48
  public int hashCode() {
49
    return Objects.hash(enterprise, actionableBy);
×
50
  }
51

52
  @Override
53
  public String toString() {
54
    return "CreateInviteRequestBody{"
×
55
        + "enterprise='"
56
        + enterprise
57
        + '\''
58
        + ", "
59
        + "actionableBy='"
60
        + actionableBy
61
        + '\''
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