• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

box / box-java-sdk-gen / #293

24 Jun 2025 01:20PM UTC coverage: 35.661% (+0.03%) from 35.632%
#293

Pull #347

github

web-flow
Merge 2c100d09c into d8480ee6c
Pull Request #347: feat: Add Webhook Validation In Java (box/box-codegen#745)

68 of 82 new or added lines in 2 files covered. (82.93%)

11794 existing lines in 627 files now uncovered.

16937 of 47495 relevant lines covered (35.66%)

0.36 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
  @JsonDeserialize(
16
      using =
17
          TranscriptSkillCardInvocationTypeField.TranscriptSkillCardInvocationTypeFieldDeserializer
18
              .class)
19
  @JsonSerialize(
20
      using =
21
          TranscriptSkillCardInvocationTypeField.TranscriptSkillCardInvocationTypeFieldSerializer
22
              .class)
23
  protected EnumWrapper<TranscriptSkillCardInvocationTypeField> type;
24

25
  protected final String id;
26

27
  public TranscriptSkillCardInvocationField(@JsonProperty("id") String id) {
UNCOV
28
    super();
×
UNCOV
29
    this.id = id;
×
30
    this.type =
×
31
        new EnumWrapper<TranscriptSkillCardInvocationTypeField>(
32
            TranscriptSkillCardInvocationTypeField.SKILL_INVOCATION);
33
  }
×
34

35
  protected TranscriptSkillCardInvocationField(Builder builder) {
36
    super();
×
UNCOV
37
    this.type = builder.type;
×
UNCOV
38
    this.id = builder.id;
×
39
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
40
  }
×
41

42
  public EnumWrapper<TranscriptSkillCardInvocationTypeField> getType() {
43
    return type;
×
44
  }
45

46
  public String getId() {
UNCOV
47
    return id;
×
48
  }
49

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

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

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

80
  public static class Builder extends NullableFieldTracker {
81

82
    protected EnumWrapper<TranscriptSkillCardInvocationTypeField> type;
83

84
    protected final String id;
85

86
    public Builder(String id) {
87
      super();
×
UNCOV
88
      this.id = id;
×
UNCOV
89
      this.type =
×
90
          new EnumWrapper<TranscriptSkillCardInvocationTypeField>(
91
              TranscriptSkillCardInvocationTypeField.SKILL_INVOCATION);
UNCOV
92
    }
×
93

94
    public Builder type(TranscriptSkillCardInvocationTypeField type) {
95
      this.type = new EnumWrapper<TranscriptSkillCardInvocationTypeField>(type);
×
96
      return this;
×
97
    }
98

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

104
    public TranscriptSkillCardInvocationField build() {
UNCOV
105
      return new TranscriptSkillCardInvocationField(this);
×
106
    }
107
  }
108
}
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