• 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

20.0
/src/main/java/com/box/sdkgen/box/jwtauth/JwtConfigFile.java
1
package com.box.sdkgen.box.jwtauth;
2

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

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

12
  /** Enterprise ID */
13
  @JsonProperty("enterpriseID")
14
  protected String enterpriseId;
15

16
  /** User ID */
17
  @JsonProperty("userID")
18
  protected String userId;
19

20
  /** App settings */
21
  protected final JwtConfigAppSettings boxAppSettings;
22

23
  public JwtConfigFile(@JsonProperty("boxAppSettings") JwtConfigAppSettings boxAppSettings) {
24
    super();
1✔
25
    this.boxAppSettings = boxAppSettings;
1✔
26
  }
1✔
27

28
  protected JwtConfigFile(Builder builder) {
29
    super();
×
30
    this.enterpriseId = builder.enterpriseId;
×
31
    this.userId = builder.userId;
×
32
    this.boxAppSettings = builder.boxAppSettings;
×
33
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
34
  }
×
35

36
  public String getEnterpriseId() {
37
    return enterpriseId;
1✔
38
  }
39

40
  public String getUserId() {
41
    return userId;
1✔
42
  }
43

44
  public JwtConfigAppSettings getBoxAppSettings() {
45
    return boxAppSettings;
1✔
46
  }
47

48
  @Override
49
  public boolean equals(Object o) {
50
    if (this == o) {
×
51
      return true;
×
52
    }
53
    if (o == null || getClass() != o.getClass()) {
×
54
      return false;
×
55
    }
56
    JwtConfigFile casted = (JwtConfigFile) o;
×
57
    return Objects.equals(enterpriseId, casted.enterpriseId)
×
58
        && Objects.equals(userId, casted.userId)
×
59
        && Objects.equals(boxAppSettings, casted.boxAppSettings);
×
60
  }
61

62
  @Override
63
  public int hashCode() {
64
    return Objects.hash(enterpriseId, userId, boxAppSettings);
×
65
  }
66

67
  @Override
68
  public String toString() {
69
    return "JwtConfigFile{"
×
70
        + "enterpriseId='"
71
        + enterpriseId
72
        + '\''
73
        + ", "
74
        + "userId='"
75
        + userId
76
        + '\''
77
        + ", "
78
        + "boxAppSettings='"
79
        + boxAppSettings
80
        + '\''
81
        + "}";
82
  }
83

84
  public static class Builder extends NullableFieldTracker {
85

86
    protected String enterpriseId;
87

88
    protected String userId;
89

90
    protected final JwtConfigAppSettings boxAppSettings;
91

92
    public Builder(JwtConfigAppSettings boxAppSettings) {
93
      super();
×
94
      this.boxAppSettings = boxAppSettings;
×
95
    }
×
96

97
    public Builder enterpriseId(String enterpriseId) {
98
      this.enterpriseId = enterpriseId;
×
99
      return this;
×
100
    }
101

102
    public Builder userId(String userId) {
103
      this.userId = userId;
×
104
      return this;
×
105
    }
106

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