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

box / box-java-sdk-gen / #301

26 Jun 2025 03:33PM UTC coverage: 35.681% (-0.04%) from 35.723%
#301

push

github

web-flow
feat: Add webhook validation(box/box-codegen#745) (#347)

Co-authored-by: box-sdk-build <box-sdk-build@box.com>

68 of 82 new or added lines in 2 files covered. (82.93%)

11818 existing lines in 631 files now uncovered.

16948 of 47499 relevant lines covered (35.68%)

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/skillinvocation/SkillInvocationEnterpriseField.java
1
package com.box.sdkgen.schemas.skillinvocation;
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.databind.annotation.JsonDeserialize;
8
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
9
import java.util.Objects;
10

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

14
  protected String id;
15

16
  @JsonDeserialize(
17
      using =
18
          SkillInvocationEnterpriseTypeField.SkillInvocationEnterpriseTypeFieldDeserializer.class)
19
  @JsonSerialize(
20
      using = SkillInvocationEnterpriseTypeField.SkillInvocationEnterpriseTypeFieldSerializer.class)
21
  protected EnumWrapper<SkillInvocationEnterpriseTypeField> type;
22

23
  protected String name;
24

25
  public SkillInvocationEnterpriseField() {
UNCOV
26
    super();
×
27
  }
×
28

29
  protected SkillInvocationEnterpriseField(Builder builder) {
30
    super();
×
31
    this.id = builder.id;
×
UNCOV
32
    this.type = builder.type;
×
UNCOV
33
    this.name = builder.name;
×
34
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
35
  }
×
36

37
  public String getId() {
38
    return id;
×
39
  }
40

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

45
  public String getName() {
UNCOV
46
    return name;
×
47
  }
48

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

63
  @Override
64
  public int hashCode() {
UNCOV
65
    return Objects.hash(id, type, name);
×
66
  }
67

68
  @Override
69
  public String toString() {
UNCOV
70
    return "SkillInvocationEnterpriseField{"
×
71
        + "id='"
72
        + id
73
        + '\''
74
        + ", "
75
        + "type='"
76
        + type
77
        + '\''
78
        + ", "
79
        + "name='"
80
        + name
81
        + '\''
82
        + "}";
83
  }
84

UNCOV
85
  public static class Builder extends NullableFieldTracker {
×
86

87
    protected String id;
88

89
    protected EnumWrapper<SkillInvocationEnterpriseTypeField> type;
90

91
    protected String name;
92

93
    public Builder id(String id) {
UNCOV
94
      this.id = id;
×
95
      return this;
×
96
    }
97

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

103
    public Builder type(EnumWrapper<SkillInvocationEnterpriseTypeField> type) {
UNCOV
104
      this.type = type;
×
105
      return this;
×
106
    }
107

108
    public Builder name(String name) {
UNCOV
109
      this.name = name;
×
110
      return this;
×
111
    }
112

113
    public SkillInvocationEnterpriseField build() {
UNCOV
114
      return new SkillInvocationEnterpriseField(this);
×
115
    }
116
  }
117
}
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