• 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/timelineskillcard/TimelineSkillCardInvocationField.java
1
package com.box.sdkgen.schemas.timelineskillcard;
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 TimelineSkillCardInvocationField extends SerializableObject {
14

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

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

32
  public TimelineSkillCardInvocationField(@JsonProperty("id") String id) {
33
    super();
×
34
    this.id = id;
×
35
    this.type =
×
36
        new EnumWrapper<TimelineSkillCardInvocationTypeField>(
37
            TimelineSkillCardInvocationTypeField.SKILL_INVOCATION);
38
  }
×
39

40
  protected TimelineSkillCardInvocationField(Builder builder) {
41
    super();
×
42
    this.type = builder.type;
×
43
    this.id = builder.id;
×
44
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
45
  }
×
46

47
  public EnumWrapper<TimelineSkillCardInvocationTypeField> getType() {
48
    return type;
×
49
  }
50

51
  public String getId() {
52
    return id;
×
53
  }
54

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

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

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

85
  public static class Builder extends NullableFieldTracker {
86

87
    protected EnumWrapper<TimelineSkillCardInvocationTypeField> type;
88

89
    protected final String id;
90

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

99
    public Builder type(TimelineSkillCardInvocationTypeField type) {
100
      this.type = new EnumWrapper<TimelineSkillCardInvocationTypeField>(type);
×
101
      return this;
×
102
    }
103

104
    public Builder type(EnumWrapper<TimelineSkillCardInvocationTypeField> type) {
105
      this.type = type;
×
106
      return this;
×
107
    }
108

109
    public TimelineSkillCardInvocationField build() {
110
      return new TimelineSkillCardInvocationField(this);
×
111
    }
112
  }
113
}
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