• 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

0.0
/src/main/java/com/box/sdkgen/schemas/folderfull/FolderFullClassificationField.java
1
package com.box.sdkgen.schemas.folderfull;
2

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

8
@JsonFilter("nullablePropertyFilter")
9
public class FolderFullClassificationField extends SerializableObject {
10

11
  /** The name of the classification. */
12
  protected String name;
13

14
  /** An explanation of the meaning of this classification. */
15
  protected String definition;
16

17
  /**
18
   * The color that is used to display the classification label in a user-interface. Colors are
19
   * defined by the admin or co-admin who created the classification in the Box web app.
20
   */
21
  protected String color;
22

23
  public FolderFullClassificationField() {
24
    super();
×
25
  }
×
26

27
  protected FolderFullClassificationField(Builder builder) {
28
    super();
×
29
    this.name = builder.name;
×
30
    this.definition = builder.definition;
×
31
    this.color = builder.color;
×
32
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
33
  }
×
34

35
  public String getName() {
36
    return name;
×
37
  }
38

39
  public String getDefinition() {
40
    return definition;
×
41
  }
42

43
  public String getColor() {
44
    return color;
×
45
  }
46

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

61
  @Override
62
  public int hashCode() {
63
    return Objects.hash(name, definition, color);
×
64
  }
65

66
  @Override
67
  public String toString() {
68
    return "FolderFullClassificationField{"
×
69
        + "name='"
70
        + name
71
        + '\''
72
        + ", "
73
        + "definition='"
74
        + definition
75
        + '\''
76
        + ", "
77
        + "color='"
78
        + color
79
        + '\''
80
        + "}";
81
  }
82

83
  public static class Builder extends NullableFieldTracker {
×
84

85
    protected String name;
86

87
    protected String definition;
88

89
    protected String color;
90

91
    public Builder name(String name) {
92
      this.name = name;
×
93
      return this;
×
94
    }
95

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

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

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