• 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

43.59
/src/main/java/com/box/sdkgen/managers/skills/UpdateBoxSkillCardsOnFileRequestBody.java
1
package com.box.sdkgen.managers.skills;
2

3
import com.box.sdkgen.internal.NullableFieldTracker;
4
import com.box.sdkgen.internal.SerializableObject;
5
import com.box.sdkgen.schemas.keywordskillcard.KeywordSkillCard;
6
import com.box.sdkgen.schemas.skillcard.SkillCard;
7
import com.box.sdkgen.schemas.statusskillcard.StatusSkillCard;
8
import com.box.sdkgen.schemas.timelineskillcard.TimelineSkillCard;
9
import com.box.sdkgen.schemas.transcriptskillcard.TranscriptSkillCard;
10
import com.box.sdkgen.serialization.json.EnumWrapper;
11
import com.fasterxml.jackson.annotation.JsonFilter;
12
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
13
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
14
import java.util.Objects;
15

16
@JsonFilter("nullablePropertyFilter")
17
public class UpdateBoxSkillCardsOnFileRequestBody extends SerializableObject {
18

19
  @JsonDeserialize(
20
      using =
21
          UpdateBoxSkillCardsOnFileRequestBodyOpField
22
              .UpdateBoxSkillCardsOnFileRequestBodyOpFieldDeserializer.class)
23
  @JsonSerialize(
24
      using =
25
          UpdateBoxSkillCardsOnFileRequestBodyOpField
26
              .UpdateBoxSkillCardsOnFileRequestBodyOpFieldSerializer.class)
27
  protected EnumWrapper<UpdateBoxSkillCardsOnFileRequestBodyOpField> op;
28

29
  protected String path;
30

31
  protected SkillCard value;
32

33
  public UpdateBoxSkillCardsOnFileRequestBody() {
34
    super();
×
35
  }
×
36

37
  protected UpdateBoxSkillCardsOnFileRequestBody(Builder builder) {
38
    super();
1✔
39
    this.op = builder.op;
1✔
40
    this.path = builder.path;
1✔
41
    this.value = builder.value;
1✔
42
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
1✔
43
  }
1✔
44

45
  public EnumWrapper<UpdateBoxSkillCardsOnFileRequestBodyOpField> getOp() {
46
    return op;
1✔
47
  }
48

49
  public String getPath() {
50
    return path;
1✔
51
  }
52

53
  public SkillCard getValue() {
54
    return value;
1✔
55
  }
56

57
  @Override
58
  public boolean equals(Object o) {
59
    if (this == o) {
×
60
      return true;
×
61
    }
62
    if (o == null || getClass() != o.getClass()) {
×
63
      return false;
×
64
    }
65
    UpdateBoxSkillCardsOnFileRequestBody casted = (UpdateBoxSkillCardsOnFileRequestBody) o;
×
66
    return Objects.equals(op, casted.op)
×
67
        && Objects.equals(path, casted.path)
×
68
        && Objects.equals(value, casted.value);
×
69
  }
70

71
  @Override
72
  public int hashCode() {
73
    return Objects.hash(op, path, value);
×
74
  }
75

76
  @Override
77
  public String toString() {
78
    return "UpdateBoxSkillCardsOnFileRequestBody{"
×
79
        + "op='"
80
        + op
81
        + '\''
82
        + ", "
83
        + "path='"
84
        + path
85
        + '\''
86
        + ", "
87
        + "value='"
88
        + value
89
        + '\''
90
        + "}";
91
  }
92

93
  public static class Builder extends NullableFieldTracker {
1✔
94

95
    protected EnumWrapper<UpdateBoxSkillCardsOnFileRequestBodyOpField> op;
96

97
    protected String path;
98

99
    protected SkillCard value;
100

101
    public Builder op(UpdateBoxSkillCardsOnFileRequestBodyOpField op) {
102
      this.op = new EnumWrapper<UpdateBoxSkillCardsOnFileRequestBodyOpField>(op);
1✔
103
      return this;
1✔
104
    }
105

106
    public Builder op(EnumWrapper<UpdateBoxSkillCardsOnFileRequestBodyOpField> op) {
107
      this.op = op;
×
108
      return this;
×
109
    }
110

111
    public Builder path(String path) {
112
      this.path = path;
1✔
113
      return this;
1✔
114
    }
115

116
    public Builder value(KeywordSkillCard value) {
117
      this.value = new SkillCard(value);
1✔
118
      return this;
1✔
119
    }
120

121
    public Builder value(TimelineSkillCard value) {
UNCOV
122
      this.value = new SkillCard(value);
×
123
      return this;
×
124
    }
125

126
    public Builder value(TranscriptSkillCard value) {
UNCOV
127
      this.value = new SkillCard(value);
×
UNCOV
128
      return this;
×
129
    }
130

131
    public Builder value(StatusSkillCard value) {
UNCOV
132
      this.value = new SkillCard(value);
×
UNCOV
133
      return this;
×
134
    }
135

136
    public Builder value(SkillCard value) {
137
      this.value = value;
×
UNCOV
138
      return this;
×
139
    }
140

141
    public UpdateBoxSkillCardsOnFileRequestBody build() {
142
      return new UpdateBoxSkillCardsOnFileRequestBody(this);
1✔
143
    }
144
  }
145
}
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