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

box / box-java-sdk-gen / #155

30 May 2025 01:03PM UTC coverage: 35.646% (+0.3%) from 35.311%
#155

push

github

web-flow
fix: Fix downscope token to use `retrieveToken` method for token retrieval (box/box-codegen#731) (#320)

4 of 4 new or added lines in 4 files covered. (100.0%)

2952 existing lines in 99 files now uncovered.

15628 of 43842 relevant lines covered (35.65%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

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

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

11
public class SignRequestPrefillTag extends SerializableObject {
12

13
  @JsonProperty("document_tag_id")
14
  protected String documentTagId;
15

16
  @JsonProperty("text_value")
17
  protected String textValue;
18

19
  @JsonProperty("checkbox_value")
20
  protected Boolean checkboxValue;
21

22
  @JsonProperty("date_value")
23
  @JsonSerialize(using = DateUtils.DateSerializer.class)
24
  @JsonDeserialize(using = DateUtils.DateDeserializer.class)
25
  protected Date dateValue;
26

27
  public SignRequestPrefillTag() {
28
    super();
1✔
29
  }
1✔
30

31
  protected SignRequestPrefillTag(SignRequestPrefillTagBuilder builder) {
32
    super();
1✔
33
    this.documentTagId = builder.documentTagId;
1✔
34
    this.textValue = builder.textValue;
1✔
35
    this.checkboxValue = builder.checkboxValue;
1✔
36
    this.dateValue = builder.dateValue;
1✔
37
  }
1✔
38

39
  public String getDocumentTagId() {
40
    return documentTagId;
1✔
41
  }
42

43
  public String getTextValue() {
44
    return textValue;
1✔
45
  }
46

47
  public Boolean getCheckboxValue() {
48
    return checkboxValue;
1✔
49
  }
50

51
  public Date getDateValue() {
52
    return dateValue;
1✔
53
  }
54

55
  @Override
56
  public boolean equals(Object o) {
57
    if (this == o) {
×
58
      return true;
×
59
    }
60
    if (o == null || getClass() != o.getClass()) {
×
61
      return false;
×
62
    }
UNCOV
63
    SignRequestPrefillTag casted = (SignRequestPrefillTag) o;
×
UNCOV
64
    return Objects.equals(documentTagId, casted.documentTagId)
×
UNCOV
65
        && Objects.equals(textValue, casted.textValue)
×
66
        && Objects.equals(checkboxValue, casted.checkboxValue)
×
UNCOV
67
        && Objects.equals(dateValue, casted.dateValue);
×
68
  }
69

70
  @Override
71
  public int hashCode() {
UNCOV
72
    return Objects.hash(documentTagId, textValue, checkboxValue, dateValue);
×
73
  }
74

75
  @Override
76
  public String toString() {
UNCOV
77
    return "SignRequestPrefillTag{"
×
78
        + "documentTagId='"
79
        + documentTagId
80
        + '\''
81
        + ", "
82
        + "textValue='"
83
        + textValue
84
        + '\''
85
        + ", "
86
        + "checkboxValue='"
87
        + checkboxValue
88
        + '\''
89
        + ", "
90
        + "dateValue='"
91
        + dateValue
92
        + '\''
93
        + "}";
94
  }
95

96
  public static class SignRequestPrefillTagBuilder {
1✔
97

98
    protected String documentTagId;
99

100
    protected String textValue;
101

102
    protected Boolean checkboxValue;
103

104
    protected Date dateValue;
105

106
    public SignRequestPrefillTagBuilder documentTagId(String documentTagId) {
107
      this.documentTagId = documentTagId;
1✔
108
      return this;
1✔
109
    }
110

111
    public SignRequestPrefillTagBuilder textValue(String textValue) {
112
      this.textValue = textValue;
×
UNCOV
113
      return this;
×
114
    }
115

116
    public SignRequestPrefillTagBuilder checkboxValue(Boolean checkboxValue) {
117
      this.checkboxValue = checkboxValue;
×
UNCOV
118
      return this;
×
119
    }
120

121
    public SignRequestPrefillTagBuilder dateValue(Date dateValue) {
122
      this.dateValue = dateValue;
1✔
123
      return this;
1✔
124
    }
125

126
    public SignRequestPrefillTag build() {
127
      return new SignRequestPrefillTag(this);
1✔
128
    }
129
  }
130
}
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