• 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

42.86
/src/main/java/com/box/sdkgen/managers/sessiontermination/TerminateUsersSessionsRequestBody.java
1
package com.box.sdkgen.managers.sessiontermination;
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.List;
7
import java.util.Objects;
8

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

12
  /** A list of user IDs. */
13
  @JsonProperty("user_ids")
14
  protected final List<String> userIds;
15

16
  /** A list of user logins. */
17
  @JsonProperty("user_logins")
18
  protected final List<String> userLogins;
19

20
  public TerminateUsersSessionsRequestBody(
21
      @JsonProperty("user_ids") List<String> userIds,
22
      @JsonProperty("user_logins") List<String> userLogins) {
23
    super();
1✔
24
    this.userIds = userIds;
1✔
25
    this.userLogins = userLogins;
1✔
26
  }
1✔
27

28
  public List<String> getUserIds() {
29
    return userIds;
1✔
30
  }
31

32
  public List<String> getUserLogins() {
33
    return userLogins;
1✔
34
  }
35

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

48
  @Override
49
  public int hashCode() {
50
    return Objects.hash(userIds, userLogins);
×
51
  }
52

53
  @Override
54
  public String toString() {
55
    return "TerminateUsersSessionsRequestBody{"
×
56
        + "userIds='"
57
        + userIds
58
        + '\''
59
        + ", "
60
        + "userLogins='"
61
        + userLogins
62
        + '\''
63
        + "}";
64
  }
65
}
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