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

box / box-java-sdk-gen / #294

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

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%)

11791 existing lines in 624 files now uncovered.

16939 of 47499 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/skillinvocation/SkillInvocationSkillField.java
1
package com.box.sdkgen.schemas.skillinvocation;
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 SkillInvocationSkillField extends SerializableObject {
14

15
  protected String id;
16

17
  @JsonDeserialize(
18
      using = SkillInvocationSkillTypeField.SkillInvocationSkillTypeFieldDeserializer.class)
19
  @JsonSerialize(
20
      using = SkillInvocationSkillTypeField.SkillInvocationSkillTypeFieldSerializer.class)
21
  protected EnumWrapper<SkillInvocationSkillTypeField> type;
22

23
  protected String name;
24

25
  @JsonProperty("api_key")
26
  protected String apiKey;
27

28
  public SkillInvocationSkillField() {
UNCOV
29
    super();
×
30
  }
×
31

32
  protected SkillInvocationSkillField(Builder builder) {
33
    super();
×
34
    this.id = builder.id;
×
35
    this.type = builder.type;
×
UNCOV
36
    this.name = builder.name;
×
UNCOV
37
    this.apiKey = builder.apiKey;
×
38
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
39
  }
×
40

41
  public String getId() {
42
    return id;
×
43
  }
44

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

49
  public String getName() {
50
    return name;
×
51
  }
52

53
  public String getApiKey() {
UNCOV
54
    return apiKey;
×
55
  }
56

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

72
  @Override
73
  public int hashCode() {
UNCOV
74
    return Objects.hash(id, type, name, apiKey);
×
75
  }
76

77
  @Override
78
  public String toString() {
UNCOV
79
    return "SkillInvocationSkillField{"
×
80
        + "id='"
81
        + id
82
        + '\''
83
        + ", "
84
        + "type='"
85
        + type
86
        + '\''
87
        + ", "
88
        + "name='"
89
        + name
90
        + '\''
91
        + ", "
92
        + "apiKey='"
93
        + apiKey
94
        + '\''
95
        + "}";
96
  }
97

UNCOV
98
  public static class Builder extends NullableFieldTracker {
×
99

100
    protected String id;
101

102
    protected EnumWrapper<SkillInvocationSkillTypeField> type;
103

104
    protected String name;
105

106
    protected String apiKey;
107

108
    public Builder id(String id) {
UNCOV
109
      this.id = id;
×
110
      return this;
×
111
    }
112

113
    public Builder type(SkillInvocationSkillTypeField type) {
UNCOV
114
      this.type = new EnumWrapper<SkillInvocationSkillTypeField>(type);
×
115
      return this;
×
116
    }
117

118
    public Builder type(EnumWrapper<SkillInvocationSkillTypeField> type) {
UNCOV
119
      this.type = type;
×
120
      return this;
×
121
    }
122

123
    public Builder name(String name) {
UNCOV
124
      this.name = name;
×
125
      return this;
×
126
    }
127

128
    public Builder apiKey(String apiKey) {
UNCOV
129
      this.apiKey = apiKey;
×
130
      return this;
×
131
    }
132

133
    public SkillInvocationSkillField build() {
UNCOV
134
      return new SkillInvocationSkillField(this);
×
135
    }
136
  }
137
}
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