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

box / box-java-sdk / #5444

27 Oct 2025 06:46PM UTC coverage: 13.323% (-0.3%) from 13.665%
#5444

Pull #1535

github

web-flow
Merge 90b12c620 into 85be887e9
Pull Request #1535: fix(boxsdkgen): remove enum types from GET enterprise configurations endpoint (box/box-openapi#560)

0 of 1572 new or added lines in 43 files covered. (0.0%)

231 existing lines in 1 file now uncovered.

8374 of 62853 relevant lines covered (13.32%)

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/keysafesettingsv2025r0/KeysafeSettingsV2025R0.java
1
package com.box.sdkgen.schemas.v2025r0.keysafesettingsv2025r0;
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 com.fasterxml.jackson.annotation.JsonProperty;
8
import java.util.Objects;
9

10
/** The KeySafe settings. */
11
@JsonFilter("nullablePropertyFilter")
12
public class KeysafeSettingsV2025R0 extends SerializableObject {
13

14
  /** Whether KeySafe addon is enabled for the enterprise. */
15
  @JsonProperty("keysafe_enabled")
16
  protected Boolean keysafeEnabled;
17

18
  /** The cloud provider. */
19
  @JsonProperty("cloud_provider")
20
  @Nullable
21
  protected String cloudProvider;
22

23
  /** The key ID. */
24
  @JsonProperty("key_id")
25
  @Nullable
26
  protected String keyId;
27

28
  /** The account ID. */
29
  @JsonProperty("account_id")
30
  @Nullable
31
  protected String accountId;
32

33
  /** The location ID. */
34
  @JsonProperty("location_id")
35
  @Nullable
36
  protected String locationId;
37

38
  /** The project ID. */
39
  @JsonProperty("project_id")
40
  @Nullable
41
  protected String projectId;
42

43
  /** The key ring ID. */
44
  @JsonProperty("keyring_id")
45
  @Nullable
46
  protected String keyringId;
47

48
  public KeysafeSettingsV2025R0() {
NEW
49
    super();
×
NEW
50
  }
×
51

52
  protected KeysafeSettingsV2025R0(Builder builder) {
NEW
53
    super();
×
NEW
54
    this.keysafeEnabled = builder.keysafeEnabled;
×
NEW
55
    this.cloudProvider = builder.cloudProvider;
×
NEW
56
    this.keyId = builder.keyId;
×
NEW
57
    this.accountId = builder.accountId;
×
NEW
58
    this.locationId = builder.locationId;
×
NEW
59
    this.projectId = builder.projectId;
×
NEW
60
    this.keyringId = builder.keyringId;
×
NEW
61
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
NEW
62
  }
×
63

64
  public Boolean getKeysafeEnabled() {
NEW
65
    return keysafeEnabled;
×
66
  }
67

68
  public String getCloudProvider() {
NEW
69
    return cloudProvider;
×
70
  }
71

72
  public String getKeyId() {
NEW
73
    return keyId;
×
74
  }
75

76
  public String getAccountId() {
NEW
77
    return accountId;
×
78
  }
79

80
  public String getLocationId() {
NEW
81
    return locationId;
×
82
  }
83

84
  public String getProjectId() {
NEW
85
    return projectId;
×
86
  }
87

88
  public String getKeyringId() {
NEW
89
    return keyringId;
×
90
  }
91

92
  @Override
93
  public boolean equals(Object o) {
NEW
94
    if (this == o) {
×
NEW
95
      return true;
×
96
    }
NEW
97
    if (o == null || getClass() != o.getClass()) {
×
NEW
98
      return false;
×
99
    }
NEW
100
    KeysafeSettingsV2025R0 casted = (KeysafeSettingsV2025R0) o;
×
NEW
101
    return Objects.equals(keysafeEnabled, casted.keysafeEnabled)
×
NEW
102
        && Objects.equals(cloudProvider, casted.cloudProvider)
×
NEW
103
        && Objects.equals(keyId, casted.keyId)
×
NEW
104
        && Objects.equals(accountId, casted.accountId)
×
NEW
105
        && Objects.equals(locationId, casted.locationId)
×
NEW
106
        && Objects.equals(projectId, casted.projectId)
×
NEW
107
        && Objects.equals(keyringId, casted.keyringId);
×
108
  }
109

110
  @Override
111
  public int hashCode() {
NEW
112
    return Objects.hash(
×
113
        keysafeEnabled, cloudProvider, keyId, accountId, locationId, projectId, keyringId);
114
  }
115

116
  @Override
117
  public String toString() {
NEW
118
    return "KeysafeSettingsV2025R0{"
×
119
        + "keysafeEnabled='"
120
        + keysafeEnabled
121
        + '\''
122
        + ", "
123
        + "cloudProvider='"
124
        + cloudProvider
125
        + '\''
126
        + ", "
127
        + "keyId='"
128
        + keyId
129
        + '\''
130
        + ", "
131
        + "accountId='"
132
        + accountId
133
        + '\''
134
        + ", "
135
        + "locationId='"
136
        + locationId
137
        + '\''
138
        + ", "
139
        + "projectId='"
140
        + projectId
141
        + '\''
142
        + ", "
143
        + "keyringId='"
144
        + keyringId
145
        + '\''
146
        + "}";
147
  }
148

NEW
149
  public static class Builder extends NullableFieldTracker {
×
150

151
    protected Boolean keysafeEnabled;
152

153
    protected String cloudProvider;
154

155
    protected String keyId;
156

157
    protected String accountId;
158

159
    protected String locationId;
160

161
    protected String projectId;
162

163
    protected String keyringId;
164

165
    public Builder keysafeEnabled(Boolean keysafeEnabled) {
NEW
166
      this.keysafeEnabled = keysafeEnabled;
×
NEW
167
      return this;
×
168
    }
169

170
    public Builder cloudProvider(String cloudProvider) {
NEW
171
      this.cloudProvider = cloudProvider;
×
NEW
172
      this.markNullableFieldAsSet("cloud_provider");
×
NEW
173
      return this;
×
174
    }
175

176
    public Builder keyId(String keyId) {
NEW
177
      this.keyId = keyId;
×
NEW
178
      this.markNullableFieldAsSet("key_id");
×
NEW
179
      return this;
×
180
    }
181

182
    public Builder accountId(String accountId) {
NEW
183
      this.accountId = accountId;
×
NEW
184
      this.markNullableFieldAsSet("account_id");
×
NEW
185
      return this;
×
186
    }
187

188
    public Builder locationId(String locationId) {
NEW
189
      this.locationId = locationId;
×
NEW
190
      this.markNullableFieldAsSet("location_id");
×
NEW
191
      return this;
×
192
    }
193

194
    public Builder projectId(String projectId) {
NEW
195
      this.projectId = projectId;
×
NEW
196
      this.markNullableFieldAsSet("project_id");
×
NEW
197
      return this;
×
198
    }
199

200
    public Builder keyringId(String keyringId) {
NEW
201
      this.keyringId = keyringId;
×
NEW
202
      this.markNullableFieldAsSet("keyring_id");
×
NEW
203
      return this;
×
204
    }
205

206
    public KeysafeSettingsV2025R0 build() {
NEW
207
      return new KeysafeSettingsV2025R0(this);
×
208
    }
209
  }
210
}
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