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

box / box-java-sdk-gen / #295

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

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/skillcardsmetadata/SkillCardsMetadata.java
1
package com.box.sdkgen.schemas.skillcardsmetadata;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.box.sdkgen.schemas.keywordskillcardorstatusskillcardortimelineskillcardortranscriptskillcard.KeywordSkillCardOrStatusSkillCardOrTimelineSkillCardOrTranscriptSkillCard;
6
import com.fasterxml.jackson.annotation.JsonFilter;
7
import com.fasterxml.jackson.annotation.JsonProperty;
8
import java.util.List;
9
import java.util.Objects;
10

11
@JsonFilter("nullablePropertyFilter")
12
public class SkillCardsMetadata extends SerializableObject {
13

14
  @JsonProperty("$canEdit")
15
  protected Boolean canEdit;
16

17
  @JsonProperty("$id")
18
  protected String id;
19

20
  @JsonProperty("$parent")
21
  protected String parent;
22

23
  @JsonProperty("$scope")
24
  protected String scope;
25

26
  @JsonProperty("$template")
27
  protected String template;
28

29
  @JsonProperty("$type")
30
  protected String type;
31

32
  @JsonProperty("$typeVersion")
33
  protected Long typeVersion;
34

35
  @JsonProperty("$version")
36
  protected Long version;
37

38
  protected List<KeywordSkillCardOrStatusSkillCardOrTimelineSkillCardOrTranscriptSkillCard> cards;
39

40
  public SkillCardsMetadata() {
UNCOV
41
    super();
×
42
  }
×
43

44
  protected SkillCardsMetadata(Builder builder) {
45
    super();
×
46
    this.canEdit = builder.canEdit;
×
47
    this.id = builder.id;
×
48
    this.parent = builder.parent;
×
49
    this.scope = builder.scope;
×
50
    this.template = builder.template;
×
51
    this.type = builder.type;
×
52
    this.typeVersion = builder.typeVersion;
×
UNCOV
53
    this.version = builder.version;
×
UNCOV
54
    this.cards = builder.cards;
×
55
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
56
  }
×
57

58
  public Boolean getCanEdit() {
59
    return canEdit;
×
60
  }
61

62
  public String getId() {
63
    return id;
×
64
  }
65

66
  public String getParent() {
67
    return parent;
×
68
  }
69

70
  public String getScope() {
71
    return scope;
×
72
  }
73

74
  public String getTemplate() {
75
    return template;
×
76
  }
77

78
  public String getType() {
79
    return type;
×
80
  }
81

82
  public Long getTypeVersion() {
83
    return typeVersion;
×
84
  }
85

86
  public Long getVersion() {
UNCOV
87
    return version;
×
88
  }
89

90
  public List<KeywordSkillCardOrStatusSkillCardOrTimelineSkillCardOrTranscriptSkillCard>
91
      getCards() {
UNCOV
92
    return cards;
×
93
  }
94

95
  @Override
96
  public boolean equals(Object o) {
97
    if (this == o) {
×
UNCOV
98
      return true;
×
99
    }
100
    if (o == null || getClass() != o.getClass()) {
×
101
      return false;
×
102
    }
103
    SkillCardsMetadata casted = (SkillCardsMetadata) o;
×
104
    return Objects.equals(canEdit, casted.canEdit)
×
105
        && Objects.equals(id, casted.id)
×
106
        && Objects.equals(parent, casted.parent)
×
107
        && Objects.equals(scope, casted.scope)
×
108
        && Objects.equals(template, casted.template)
×
UNCOV
109
        && Objects.equals(type, casted.type)
×
UNCOV
110
        && Objects.equals(typeVersion, casted.typeVersion)
×
UNCOV
111
        && Objects.equals(version, casted.version)
×
UNCOV
112
        && Objects.equals(cards, casted.cards);
×
113
  }
114

115
  @Override
116
  public int hashCode() {
UNCOV
117
    return Objects.hash(canEdit, id, parent, scope, template, type, typeVersion, version, cards);
×
118
  }
119

120
  @Override
121
  public String toString() {
UNCOV
122
    return "SkillCardsMetadata{"
×
123
        + "canEdit='"
124
        + canEdit
125
        + '\''
126
        + ", "
127
        + "id='"
128
        + id
129
        + '\''
130
        + ", "
131
        + "parent='"
132
        + parent
133
        + '\''
134
        + ", "
135
        + "scope='"
136
        + scope
137
        + '\''
138
        + ", "
139
        + "template='"
140
        + template
141
        + '\''
142
        + ", "
143
        + "type='"
144
        + type
145
        + '\''
146
        + ", "
147
        + "typeVersion='"
148
        + typeVersion
149
        + '\''
150
        + ", "
151
        + "version='"
152
        + version
153
        + '\''
154
        + ", "
155
        + "cards='"
156
        + cards
157
        + '\''
158
        + "}";
159
  }
160

UNCOV
161
  public static class Builder extends NullableFieldTracker {
×
162

163
    protected Boolean canEdit;
164

165
    protected String id;
166

167
    protected String parent;
168

169
    protected String scope;
170

171
    protected String template;
172

173
    protected String type;
174

175
    protected Long typeVersion;
176

177
    protected Long version;
178

179
    protected List<KeywordSkillCardOrStatusSkillCardOrTimelineSkillCardOrTranscriptSkillCard> cards;
180

181
    public Builder canEdit(Boolean canEdit) {
UNCOV
182
      this.canEdit = canEdit;
×
183
      return this;
×
184
    }
185

186
    public Builder id(String id) {
UNCOV
187
      this.id = id;
×
188
      return this;
×
189
    }
190

191
    public Builder parent(String parent) {
UNCOV
192
      this.parent = parent;
×
193
      return this;
×
194
    }
195

196
    public Builder scope(String scope) {
UNCOV
197
      this.scope = scope;
×
198
      return this;
×
199
    }
200

201
    public Builder template(String template) {
UNCOV
202
      this.template = template;
×
203
      return this;
×
204
    }
205

206
    public Builder type(String type) {
UNCOV
207
      this.type = type;
×
208
      return this;
×
209
    }
210

211
    public Builder typeVersion(Long typeVersion) {
UNCOV
212
      this.typeVersion = typeVersion;
×
213
      return this;
×
214
    }
215

216
    public Builder version(Long version) {
UNCOV
217
      this.version = version;
×
UNCOV
218
      return this;
×
219
    }
220

221
    public Builder cards(
222
        List<KeywordSkillCardOrStatusSkillCardOrTimelineSkillCardOrTranscriptSkillCard> cards) {
UNCOV
223
      this.cards = cards;
×
224
      return this;
×
225
    }
226

227
    public SkillCardsMetadata build() {
UNCOV
228
      return new SkillCardsMetadata(this);
×
229
    }
230
  }
231
}
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