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

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

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

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

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

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

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

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

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

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

86
  public static class Builder extends NullableFieldTracker {
87

88
    protected EnumWrapper<TranscriptSkillCardInvocationTypeField> type;
89

90
    protected final String id;
91

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

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

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

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