• 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/eventsource/EventSourceClassificationField.java
1
package com.box.sdkgen.schemas.eventsource;
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 EventSourceClassificationField extends SerializableObject {
10

11
  /** The classification's name. */
12
  protected String name;
13

14
  public EventSourceClassificationField() {
15
    super();
×
16
  }
×
17

18
  protected EventSourceClassificationField(Builder builder) {
19
    super();
×
20
    this.name = builder.name;
×
21
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
22
  }
×
23

24
  public String getName() {
25
    return name;
×
26
  }
27

28
  @Override
29
  public boolean equals(Object o) {
30
    if (this == o) {
×
31
      return true;
×
32
    }
33
    if (o == null || getClass() != o.getClass()) {
×
34
      return false;
×
35
    }
36
    EventSourceClassificationField casted = (EventSourceClassificationField) o;
×
37
    return Objects.equals(name, casted.name);
×
38
  }
39

40
  @Override
41
  public int hashCode() {
42
    return Objects.hash(name);
×
43
  }
44

45
  @Override
46
  public String toString() {
47
    return "EventSourceClassificationField{" + "name='" + name + '\'' + "}";
×
48
  }
49

50
  public static class Builder extends NullableFieldTracker {
×
51

52
    protected String name;
53

54
    public Builder name(String name) {
55
      this.name = name;
×
56
      return this;
×
57
    }
58

59
    public EventSourceClassificationField build() {
60
      return new EventSourceClassificationField(this);
×
61
    }
62
  }
63
}
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