• 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

55.26
/src/main/java/com/box/sdkgen/schemas/signrequestprefilltag/SignRequestPrefillTag.java
1
package com.box.sdkgen.schemas.signrequestprefilltag;
2

3
import com.box.sdkgen.internal.Nullable;
4
import com.box.sdkgen.internal.NullableFieldTracker;
5
import com.box.sdkgen.internal.SerializableObject;
6
import com.box.sdkgen.internal.utils.DateUtils;
7
import com.fasterxml.jackson.annotation.JsonFilter;
8
import com.fasterxml.jackson.annotation.JsonProperty;
9
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
10
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
11
import java.util.Date;
12
import java.util.Objects;
13

14
@JsonFilter("nullablePropertyFilter")
15
public class SignRequestPrefillTag extends SerializableObject {
16

17
  @JsonProperty("document_tag_id")
18
  @Nullable
19
  protected String documentTagId;
20

21
  @JsonProperty("text_value")
22
  @Nullable
23
  protected String textValue;
24

25
  @JsonProperty("checkbox_value")
26
  @Nullable
27
  protected Boolean checkboxValue;
28

29
  @JsonProperty("date_value")
30
  @JsonSerialize(using = DateUtils.DateSerializer.class)
31
  @JsonDeserialize(using = DateUtils.DateDeserializer.class)
32
  @Nullable
33
  protected Date dateValue;
34

35
  public SignRequestPrefillTag() {
36
    super();
1✔
37
  }
1✔
38

39
  protected SignRequestPrefillTag(Builder builder) {
40
    super();
1✔
41
    this.documentTagId = builder.documentTagId;
1✔
42
    this.textValue = builder.textValue;
1✔
43
    this.checkboxValue = builder.checkboxValue;
1✔
44
    this.dateValue = builder.dateValue;
1✔
45
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
1✔
46
  }
1✔
47

48
  public String getDocumentTagId() {
49
    return documentTagId;
1✔
50
  }
51

52
  public String getTextValue() {
53
    return textValue;
1✔
54
  }
55

56
  public Boolean getCheckboxValue() {
57
    return checkboxValue;
1✔
58
  }
59

60
  public Date getDateValue() {
61
    return dateValue;
1✔
62
  }
63

64
  @Override
65
  public boolean equals(Object o) {
66
    if (this == o) {
×
67
      return true;
×
68
    }
UNCOV
69
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
70
      return false;
×
71
    }
72
    SignRequestPrefillTag casted = (SignRequestPrefillTag) o;
×
UNCOV
73
    return Objects.equals(documentTagId, casted.documentTagId)
×
UNCOV
74
        && Objects.equals(textValue, casted.textValue)
×
UNCOV
75
        && Objects.equals(checkboxValue, casted.checkboxValue)
×
UNCOV
76
        && Objects.equals(dateValue, casted.dateValue);
×
77
  }
78

79
  @Override
80
  public int hashCode() {
UNCOV
81
    return Objects.hash(documentTagId, textValue, checkboxValue, dateValue);
×
82
  }
83

84
  @Override
85
  public String toString() {
UNCOV
86
    return "SignRequestPrefillTag{"
×
87
        + "documentTagId='"
88
        + documentTagId
89
        + '\''
90
        + ", "
91
        + "textValue='"
92
        + textValue
93
        + '\''
94
        + ", "
95
        + "checkboxValue='"
96
        + checkboxValue
97
        + '\''
98
        + ", "
99
        + "dateValue='"
100
        + dateValue
101
        + '\''
102
        + "}";
103
  }
104

105
  public static class Builder extends NullableFieldTracker {
1✔
106

107
    protected String documentTagId;
108

109
    protected String textValue;
110

111
    protected Boolean checkboxValue;
112

113
    protected Date dateValue;
114

115
    public Builder documentTagId(String documentTagId) {
116
      this.documentTagId = documentTagId;
1✔
117
      this.markNullableFieldAsSet("document_tag_id");
1✔
118
      return this;
1✔
119
    }
120

121
    public Builder textValue(String textValue) {
UNCOV
122
      this.textValue = textValue;
×
UNCOV
123
      this.markNullableFieldAsSet("text_value");
×
UNCOV
124
      return this;
×
125
    }
126

127
    public Builder checkboxValue(Boolean checkboxValue) {
UNCOV
128
      this.checkboxValue = checkboxValue;
×
UNCOV
129
      this.markNullableFieldAsSet("checkbox_value");
×
UNCOV
130
      return this;
×
131
    }
132

133
    public Builder dateValue(Date dateValue) {
134
      this.dateValue = dateValue;
1✔
135
      this.markNullableFieldAsSet("date_value");
1✔
136
      return this;
1✔
137
    }
138

139
    public SignRequestPrefillTag build() {
140
      return new SignRequestPrefillTag(this);
1✔
141
    }
142
  }
143
}
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