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

box / box-java-sdk / #4746

19 Aug 2025 10:21AM UTC coverage: 38.831% (+0.7%) from 38.166%
#4746

push

github

web-flow
feat: Support external user deletion API

20 of 167 new or added lines in 8 files covered. (11.98%)

145 existing lines in 18 files now uncovered.

19109 of 49211 relevant lines covered (38.83%)

0.39 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

5.08
/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.skillcard.SkillCard;
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<SkillCard> cards;
39

40
  public SkillCardsMetadata() {
41
    super();
1✔
42
  }
1✔
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;
×
53
    this.version = builder.version;
×
54
    this.cards = builder.cards;
×
55
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
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() {
87
    return version;
×
88
  }
89

90
  public List<SkillCard> getCards() {
91
    return cards;
1✔
92
  }
93

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

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

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

UNCOV
160
  public static class Builder extends NullableFieldTracker {
×
161

162
    protected Boolean canEdit;
163

164
    protected String id;
165

166
    protected String parent;
167

168
    protected String scope;
169

170
    protected String template;
171

172
    protected String type;
173

174
    protected Long typeVersion;
175

176
    protected Long version;
177

178
    protected List<SkillCard> cards;
179

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

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

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

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

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

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

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

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

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

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

© 2025 Coveralls, Inc