• 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/statusskillcard/StatusSkillCardSkillField.java
1
package com.box.sdkgen.schemas.statusskillcard;
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.annotation.JsonProperty;
8
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
9
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
10
import java.util.Objects;
11

12
@JsonFilter("nullablePropertyFilter")
13
public class StatusSkillCardSkillField extends SerializableObject {
14

15
  /** The value will always be `service`. */
16
  @JsonDeserialize(
17
      using = StatusSkillCardSkillTypeField.StatusSkillCardSkillTypeFieldDeserializer.class)
18
  @JsonSerialize(
19
      using = StatusSkillCardSkillTypeField.StatusSkillCardSkillTypeFieldSerializer.class)
20
  protected EnumWrapper<StatusSkillCardSkillTypeField> type;
21

22
  /** A custom identifier that represent the service that applied this metadata. */
23
  protected final String id;
24

25
  public StatusSkillCardSkillField(@JsonProperty("id") String id) {
26
    super();
×
27
    this.id = id;
×
28
    this.type =
×
29
        new EnumWrapper<StatusSkillCardSkillTypeField>(StatusSkillCardSkillTypeField.SERVICE);
30
  }
×
31

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

39
  public EnumWrapper<StatusSkillCardSkillTypeField> 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
    StatusSkillCardSkillField casted = (StatusSkillCardSkillField) o;
×
56
    return Objects.equals(type, casted.type) && Objects.equals(id, casted.id);
×
57
  }
58

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

64
  @Override
65
  public String toString() {
66
    return "StatusSkillCardSkillField{" + "type='" + type + '\'' + ", " + "id='" + id + '\'' + "}";
×
67
  }
68

69
  public static class Builder extends NullableFieldTracker {
70

71
    protected EnumWrapper<StatusSkillCardSkillTypeField> type;
72

73
    protected final String id;
74

75
    public Builder(String id) {
76
      super();
×
77
      this.id = id;
×
78
      this.type =
×
79
          new EnumWrapper<StatusSkillCardSkillTypeField>(StatusSkillCardSkillTypeField.SERVICE);
80
    }
×
81

82
    public Builder type(StatusSkillCardSkillTypeField type) {
83
      this.type = new EnumWrapper<StatusSkillCardSkillTypeField>(type);
×
84
      return this;
×
85
    }
86

87
    public Builder type(EnumWrapper<StatusSkillCardSkillTypeField> type) {
88
      this.type = type;
×
89
      return this;
×
90
    }
91

92
    public StatusSkillCardSkillField build() {
93
      return new StatusSkillCardSkillField(this);
×
94
    }
95
  }
96
}
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