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

box / box-java-sdk / #5417

24 Oct 2025 01:02PM UTC coverage: 13.302% (-0.4%) from 13.665%
#5417

Pull #1530

github

web-flow
Merge 9272f53bd into 85be887e9
Pull Request #1530: chore(boxsdkgen): Update `.codegen.json` with commit hash of `codegen` and `openapi` spec [skip ci]

0 of 1631 new or added lines in 44 files covered. (0.0%)

14 existing lines in 8 files now uncovered.

8368 of 62906 relevant lines covered (13.3%)

0.13 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/v2025r0/listuserv2025r0/ListUserV2025R0.java
1
package com.box.sdkgen.schemas.v2025r0.listuserv2025r0;
2

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

9
/** A user in allowlist or denylist. */
10
@JsonFilter("nullablePropertyFilter")
11
public class ListUserV2025R0 extends SerializableObject {
12

13
  /** The ID of the user. */
14
  @Nullable protected Long id;
15

16
  /** The name of the user. */
17
  @Nullable protected String name;
18

19
  /** The email of the user. */
20
  @Nullable protected String email;
21

22
  public ListUserV2025R0() {
NEW
23
    super();
×
NEW
24
  }
×
25

26
  protected ListUserV2025R0(Builder builder) {
NEW
27
    super();
×
NEW
28
    this.id = builder.id;
×
NEW
29
    this.name = builder.name;
×
NEW
30
    this.email = builder.email;
×
NEW
31
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
NEW
32
  }
×
33

34
  public Long getId() {
NEW
35
    return id;
×
36
  }
37

38
  public String getName() {
NEW
39
    return name;
×
40
  }
41

42
  public String getEmail() {
NEW
43
    return email;
×
44
  }
45

46
  @Override
47
  public boolean equals(Object o) {
NEW
48
    if (this == o) {
×
NEW
49
      return true;
×
50
    }
NEW
51
    if (o == null || getClass() != o.getClass()) {
×
NEW
52
      return false;
×
53
    }
NEW
54
    ListUserV2025R0 casted = (ListUserV2025R0) o;
×
NEW
55
    return Objects.equals(id, casted.id)
×
NEW
56
        && Objects.equals(name, casted.name)
×
NEW
57
        && Objects.equals(email, casted.email);
×
58
  }
59

60
  @Override
61
  public int hashCode() {
NEW
62
    return Objects.hash(id, name, email);
×
63
  }
64

65
  @Override
66
  public String toString() {
NEW
67
    return "ListUserV2025R0{"
×
68
        + "id='"
69
        + id
70
        + '\''
71
        + ", "
72
        + "name='"
73
        + name
74
        + '\''
75
        + ", "
76
        + "email='"
77
        + email
78
        + '\''
79
        + "}";
80
  }
81

NEW
82
  public static class Builder extends NullableFieldTracker {
×
83

84
    protected Long id;
85

86
    protected String name;
87

88
    protected String email;
89

90
    public Builder id(Long id) {
NEW
91
      this.id = id;
×
NEW
92
      this.markNullableFieldAsSet("id");
×
NEW
93
      return this;
×
94
    }
95

96
    public Builder name(String name) {
NEW
97
      this.name = name;
×
NEW
98
      this.markNullableFieldAsSet("name");
×
NEW
99
      return this;
×
100
    }
101

102
    public Builder email(String email) {
NEW
103
      this.email = email;
×
NEW
104
      this.markNullableFieldAsSet("email");
×
NEW
105
      return this;
×
106
    }
107

108
    public ListUserV2025R0 build() {
NEW
109
      return new ListUserV2025R0(this);
×
110
    }
111
  }
112
}
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

© 2025 Coveralls, Inc