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

15
  @JsonDeserialize(
16
      using =
17
          KeywordSkillCardInvocationTypeField.KeywordSkillCardInvocationTypeFieldDeserializer.class)
18
  @JsonSerialize(
19
      using =
20
          KeywordSkillCardInvocationTypeField.KeywordSkillCardInvocationTypeFieldSerializer.class)
21
  protected EnumWrapper<KeywordSkillCardInvocationTypeField> type;
22

23
  protected final String id;
24

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

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

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

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

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

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

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

78
  public static class Builder extends NullableFieldTracker {
79

80
    protected EnumWrapper<KeywordSkillCardInvocationTypeField> type;
81

82
    protected final String id;
83

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

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

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

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