• 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/managers/files/UpdateFileByIdRequestBodyCollectionsField.java
1
package com.box.sdkgen.managers.skills;
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 UpdateAllSkillCardsOnFileRequestBodyUsageField extends SerializableObject {
10

11
  /** The value will always be `file`. */
12
  protected String unit;
13

14
  /** Number of resources affected. */
15
  protected Double value;
16

17
  public UpdateAllSkillCardsOnFileRequestBodyUsageField() {
18
    super();
×
19
  }
×
20

21
  protected UpdateAllSkillCardsOnFileRequestBodyUsageField(Builder builder) {
22
    super();
×
23
    this.unit = builder.unit;
×
24
    this.value = builder.value;
×
25
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
26
  }
×
27

28
  public String getUnit() {
29
    return unit;
×
30
  }
31

32
  public Double getValue() {
33
    return value;
×
34
  }
35

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

49
  @Override
50
  public int hashCode() {
51
    return Objects.hash(unit, value);
×
52
  }
53

54
  @Override
55
  public String toString() {
56
    return "UpdateAllSkillCardsOnFileRequestBodyUsageField{"
×
57
        + "unit='"
58
        + unit
59
        + '\''
60
        + ", "
61
        + "value='"
62
        + value
63
        + '\''
64
        + "}";
65
  }
66

67
  public static class Builder extends NullableFieldTracker {
×
68

69
    protected String unit;
70

71
    protected Double value;
72

73
    public Builder unit(String unit) {
74
      this.unit = unit;
×
75
      return this;
×
76
    }
77

78
    public Builder value(Double value) {
79
      this.value = value;
×
80
      return this;
×
81
    }
82

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