• 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/StatusSkillCardInvocationField.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 StatusSkillCardInvocationField extends SerializableObject {
14

15
  /** The value will always be `skill_invocation`. */
16
  @JsonDeserialize(
17
      using =
18
          StatusSkillCardInvocationTypeField.StatusSkillCardInvocationTypeFieldDeserializer.class)
19
  @JsonSerialize(
20
      using = StatusSkillCardInvocationTypeField.StatusSkillCardInvocationTypeFieldSerializer.class)
21
  protected EnumWrapper<StatusSkillCardInvocationTypeField> type;
22

23
  /**
24
   * A custom identifier that represent the instance of the service that applied this metadata. For
25
   * example, if your `image-recognition-service` runs on multiple nodes, this field can be used to
26
   * identify the ID of the node that was used to apply the metadata.
27
   */
28
  protected final String id;
29

30
  public StatusSkillCardInvocationField(@JsonProperty("id") String id) {
31
    super();
×
32
    this.id = id;
×
33
    this.type =
×
34
        new EnumWrapper<StatusSkillCardInvocationTypeField>(
35
            StatusSkillCardInvocationTypeField.SKILL_INVOCATION);
36
  }
×
37

38
  protected StatusSkillCardInvocationField(Builder builder) {
39
    super();
×
40
    this.type = builder.type;
×
41
    this.id = builder.id;
×
42
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
43
  }
×
44

45
  public EnumWrapper<StatusSkillCardInvocationTypeField> getType() {
46
    return type;
×
47
  }
48

49
  public String getId() {
50
    return id;
×
51
  }
52

53
  @Override
54
  public boolean equals(Object o) {
55
    if (this == o) {
×
56
      return true;
×
57
    }
58
    if (o == null || getClass() != o.getClass()) {
×
59
      return false;
×
60
    }
61
    StatusSkillCardInvocationField casted = (StatusSkillCardInvocationField) o;
×
62
    return Objects.equals(type, casted.type) && Objects.equals(id, casted.id);
×
63
  }
64

65
  @Override
66
  public int hashCode() {
67
    return Objects.hash(type, id);
×
68
  }
69

70
  @Override
71
  public String toString() {
72
    return "StatusSkillCardInvocationField{"
×
73
        + "type='"
74
        + type
75
        + '\''
76
        + ", "
77
        + "id='"
78
        + id
79
        + '\''
80
        + "}";
81
  }
82

83
  public static class Builder extends NullableFieldTracker {
84

85
    protected EnumWrapper<StatusSkillCardInvocationTypeField> type;
86

87
    protected final String id;
88

89
    public Builder(String id) {
90
      super();
×
91
      this.id = id;
×
92
      this.type =
×
93
          new EnumWrapper<StatusSkillCardInvocationTypeField>(
94
              StatusSkillCardInvocationTypeField.SKILL_INVOCATION);
95
    }
×
96

97
    public Builder type(StatusSkillCardInvocationTypeField type) {
98
      this.type = new EnumWrapper<StatusSkillCardInvocationTypeField>(type);
×
99
      return this;
×
100
    }
101

102
    public Builder type(EnumWrapper<StatusSkillCardInvocationTypeField> type) {
103
      this.type = type;
×
104
      return this;
×
105
    }
106

107
    public StatusSkillCardInvocationField build() {
108
      return new StatusSkillCardInvocationField(this);
×
109
    }
110
  }
111
}
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