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

box / box-java-sdk-gen / #295

24 Jun 2025 01:20PM UTC coverage: 35.661% (+0.03%) from 35.632%
#295

Pull #347

github

web-flow
Merge 2c100d09c into d8480ee6c
Pull Request #347: feat: Add Webhook Validation In Java (box/box-codegen#745)

68 of 82 new or added lines in 2 files covered. (82.93%)

11794 existing lines in 627 files now uncovered.

16937 of 47495 relevant lines covered (35.66%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/com/box/sdkgen/managers/classifications/AddClassificationRequestBodyDataField.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 AddClassificationRequestBodyDataField extends SerializableObject {
11

12
  protected final String key;
13

14
  protected AddClassificationRequestBodyDataStaticConfigField staticConfig;
15

16
  public AddClassificationRequestBodyDataField(@JsonProperty("key") String key) {
UNCOV
17
    super();
×
UNCOV
18
    this.key = key;
×
19
  }
×
20

21
  protected AddClassificationRequestBodyDataField(Builder builder) {
22
    super();
×
UNCOV
23
    this.key = builder.key;
×
UNCOV
24
    this.staticConfig = builder.staticConfig;
×
25
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
26
  }
×
27

28
  public String getKey() {
29
    return key;
×
30
  }
31

32
  public AddClassificationRequestBodyDataStaticConfigField getStaticConfig() {
UNCOV
33
    return staticConfig;
×
34
  }
35

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

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

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

66
  public static class Builder extends NullableFieldTracker {
67

68
    protected final String key;
69

70
    protected AddClassificationRequestBodyDataStaticConfigField staticConfig;
71

72
    public Builder(String key) {
73
      super();
×
74
      this.key = key;
×
UNCOV
75
    }
×
76

77
    public Builder staticConfig(AddClassificationRequestBodyDataStaticConfigField staticConfig) {
78
      this.staticConfig = staticConfig;
×
UNCOV
79
      return this;
×
80
    }
81

82
    public AddClassificationRequestBodyDataField build() {
UNCOV
83
      return new AddClassificationRequestBodyDataField(this);
×
84
    }
85
  }
86
}
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