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

box / box-java-sdk-gen / #290

24 Jun 2025 01:20PM UTC coverage: 35.757% (+0.1%) from 35.632%
#290

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

11777 existing lines in 624 files now uncovered.

16984 of 47499 relevant lines covered (35.76%)

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/statusskillcard/StatusSkillCardInvocationField.java
1
package com.box.sdkgen.schemas.statusskillcard;
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 StatusSkillCardInvocationField extends SerializableObject {
14

15
  @JsonDeserialize(
16
      using =
17
          StatusSkillCardInvocationTypeField.StatusSkillCardInvocationTypeFieldDeserializer.class)
18
  @JsonSerialize(
19
      using = StatusSkillCardInvocationTypeField.StatusSkillCardInvocationTypeFieldSerializer.class)
20
  protected EnumWrapper<StatusSkillCardInvocationTypeField> type;
21

22
  protected final String id;
23

24
  public StatusSkillCardInvocationField(@JsonProperty("id") String id) {
UNCOV
25
    super();
×
UNCOV
26
    this.id = id;
×
27
    this.type =
×
28
        new EnumWrapper<StatusSkillCardInvocationTypeField>(
29
            StatusSkillCardInvocationTypeField.SKILL_INVOCATION);
30
  }
×
31

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

39
  public EnumWrapper<StatusSkillCardInvocationTypeField> getType() {
40
    return type;
×
41
  }
42

43
  public String getId() {
UNCOV
44
    return id;
×
45
  }
46

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

59
  @Override
60
  public int hashCode() {
UNCOV
61
    return Objects.hash(type, id);
×
62
  }
63

64
  @Override
65
  public String toString() {
UNCOV
66
    return "StatusSkillCardInvocationField{"
×
67
        + "type='"
68
        + type
69
        + '\''
70
        + ", "
71
        + "id='"
72
        + id
73
        + '\''
74
        + "}";
75
  }
76

77
  public static class Builder extends NullableFieldTracker {
78

79
    protected EnumWrapper<StatusSkillCardInvocationTypeField> type;
80

81
    protected final String id;
82

83
    public Builder(String id) {
84
      super();
×
UNCOV
85
      this.id = id;
×
UNCOV
86
      this.type =
×
87
          new EnumWrapper<StatusSkillCardInvocationTypeField>(
88
              StatusSkillCardInvocationTypeField.SKILL_INVOCATION);
UNCOV
89
    }
×
90

91
    public Builder type(StatusSkillCardInvocationTypeField type) {
92
      this.type = new EnumWrapper<StatusSkillCardInvocationTypeField>(type);
×
93
      return this;
×
94
    }
95

96
    public Builder type(EnumWrapper<StatusSkillCardInvocationTypeField> type) {
97
      this.type = type;
×
UNCOV
98
      return this;
×
99
    }
100

101
    public StatusSkillCardInvocationField build() {
UNCOV
102
      return new StatusSkillCardInvocationField(this);
×
103
    }
104
  }
105
}
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