• 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

54.17
/src/main/java/com/box/sdkgen/managers/classifications/UpdateClassificationRequestBodyDataField.java
1
package com.box.sdkgen.managers.classifications;
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 UpdateClassificationRequestBodyDataField extends SerializableObject {
11

12
  /** A new label for the classification, as it will be shown in the web and mobile interfaces. */
13
  protected final String key;
14

15
  /** A static configuration for the classification. */
16
  protected UpdateClassificationRequestBodyDataStaticConfigField staticConfig;
17

18
  public UpdateClassificationRequestBodyDataField(@JsonProperty("key") String key) {
19
    super();
×
20
    this.key = key;
×
21
  }
×
22

23
  protected UpdateClassificationRequestBodyDataField(Builder builder) {
24
    super();
1✔
25
    this.key = builder.key;
1✔
26
    this.staticConfig = builder.staticConfig;
1✔
27
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
1✔
28
  }
1✔
29

30
  public String getKey() {
31
    return key;
1✔
32
  }
33

34
  public UpdateClassificationRequestBodyDataStaticConfigField getStaticConfig() {
35
    return staticConfig;
1✔
36
  }
37

38
  @Override
39
  public boolean equals(Object o) {
40
    if (this == o) {
×
41
      return true;
×
42
    }
43
    if (o == null || getClass() != o.getClass()) {
×
44
      return false;
×
45
    }
46
    UpdateClassificationRequestBodyDataField casted = (UpdateClassificationRequestBodyDataField) o;
×
47
    return Objects.equals(key, casted.key) && Objects.equals(staticConfig, casted.staticConfig);
×
48
  }
49

50
  @Override
51
  public int hashCode() {
52
    return Objects.hash(key, staticConfig);
×
53
  }
54

55
  @Override
56
  public String toString() {
57
    return "UpdateClassificationRequestBodyDataField{"
×
58
        + "key='"
59
        + key
60
        + '\''
61
        + ", "
62
        + "staticConfig='"
63
        + staticConfig
64
        + '\''
65
        + "}";
66
  }
67

68
  public static class Builder extends NullableFieldTracker {
69

70
    protected final String key;
71

72
    protected UpdateClassificationRequestBodyDataStaticConfigField staticConfig;
73

74
    public Builder(String key) {
75
      super();
1✔
76
      this.key = key;
1✔
77
    }
1✔
78

79
    public Builder staticConfig(UpdateClassificationRequestBodyDataStaticConfigField staticConfig) {
80
      this.staticConfig = staticConfig;
1✔
81
      return this;
1✔
82
    }
83

84
    public UpdateClassificationRequestBodyDataField build() {
85
      return new UpdateClassificationRequestBodyDataField(this);
1✔
86
    }
87
  }
88
}
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