• 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/skills/UpdateAllSkillCardsOnFileRequestBodyFileField.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.box.sdkgen.serialization.json.EnumWrapper;
6
import com.fasterxml.jackson.annotation.JsonFilter;
7
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
8
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
9
import java.util.Objects;
10

11
@JsonFilter("nullablePropertyFilter")
12
public class UpdateAllSkillCardsOnFileRequestBodyFileField extends SerializableObject {
13

14
  /** The value will always be `file`. */
15
  @JsonDeserialize(
16
      using =
17
          UpdateAllSkillCardsOnFileRequestBodyFileTypeField
18
              .UpdateAllSkillCardsOnFileRequestBodyFileTypeFieldDeserializer.class)
19
  @JsonSerialize(
20
      using =
21
          UpdateAllSkillCardsOnFileRequestBodyFileTypeField
22
              .UpdateAllSkillCardsOnFileRequestBodyFileTypeFieldSerializer.class)
23
  protected EnumWrapper<UpdateAllSkillCardsOnFileRequestBodyFileTypeField> type;
24

25
  /** The ID of the file. */
26
  protected String id;
27

28
  public UpdateAllSkillCardsOnFileRequestBodyFileField() {
29
    super();
×
30
  }
×
31

32
  protected UpdateAllSkillCardsOnFileRequestBodyFileField(Builder builder) {
33
    super();
×
34
    this.type = builder.type;
×
35
    this.id = builder.id;
×
36
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
37
  }
×
38

39
  public EnumWrapper<UpdateAllSkillCardsOnFileRequestBodyFileTypeField> getType() {
40
    return type;
×
41
  }
42

43
  public String getId() {
44
    return id;
×
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
    UpdateAllSkillCardsOnFileRequestBodyFileField casted =
×
56
        (UpdateAllSkillCardsOnFileRequestBodyFileField) o;
57
    return Objects.equals(type, casted.type) && Objects.equals(id, casted.id);
×
58
  }
59

60
  @Override
61
  public int hashCode() {
62
    return Objects.hash(type, id);
×
63
  }
64

65
  @Override
66
  public String toString() {
67
    return "UpdateAllSkillCardsOnFileRequestBodyFileField{"
×
68
        + "type='"
69
        + type
70
        + '\''
71
        + ", "
72
        + "id='"
73
        + id
74
        + '\''
75
        + "}";
76
  }
77

78
  public static class Builder extends NullableFieldTracker {
×
79

80
    protected EnumWrapper<UpdateAllSkillCardsOnFileRequestBodyFileTypeField> type;
81

82
    protected String id;
83

84
    public Builder type(UpdateAllSkillCardsOnFileRequestBodyFileTypeField type) {
85
      this.type = new EnumWrapper<UpdateAllSkillCardsOnFileRequestBodyFileTypeField>(type);
×
86
      return this;
×
87
    }
88

89
    public Builder type(EnumWrapper<UpdateAllSkillCardsOnFileRequestBodyFileTypeField> type) {
90
      this.type = type;
×
91
      return this;
×
92
    }
93

94
    public Builder id(String id) {
95
      this.id = id;
×
96
      return this;
×
97
    }
98

99
    public UpdateAllSkillCardsOnFileRequestBodyFileField build() {
100
      return new UpdateAllSkillCardsOnFileRequestBodyFileField(this);
×
101
    }
102
  }
103
}
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