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

box / box-java-sdk-gen / #296

25 Jun 2025 10:12AM UTC coverage: 35.677% (-0.05%) from 35.723%
#296

Pull #348

github

web-flow
Merge d48b178e0 into d8480ee6c
Pull Request #348: chore: Update .codegen.json with commit hash of codegen and openapi spec

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

11820 existing lines in 631 files now uncovered.

16946 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/signtemplate/SignTemplateReadySignLinkField.java
1
package com.box.sdkgen.schemas.signtemplate;
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.fasterxml.jackson.annotation.JsonFilter;
7
import com.fasterxml.jackson.annotation.JsonProperty;
8
import java.util.Objects;
9

10
@JsonFilter("nullablePropertyFilter")
11
public class SignTemplateReadySignLinkField extends SerializableObject {
12

13
  protected String url;
14

15
  @Nullable protected String name;
16

17
  @Nullable protected String instructions;
18

19
  @JsonProperty("folder_id")
20
  @Nullable
21
  protected String folderId;
22

23
  @JsonProperty("is_notification_disabled")
24
  protected Boolean isNotificationDisabled;
25

26
  @JsonProperty("is_active")
27
  protected Boolean isActive;
28

29
  public SignTemplateReadySignLinkField() {
30
    super();
×
31
  }
×
32

33
  protected SignTemplateReadySignLinkField(Builder builder) {
34
    super();
×
35
    this.url = builder.url;
×
36
    this.name = builder.name;
×
UNCOV
37
    this.instructions = builder.instructions;
×
UNCOV
38
    this.folderId = builder.folderId;
×
39
    this.isNotificationDisabled = builder.isNotificationDisabled;
×
UNCOV
40
    this.isActive = builder.isActive;
×
UNCOV
41
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
42
  }
×
43

44
  public String getUrl() {
UNCOV
45
    return url;
×
46
  }
47

48
  public String getName() {
UNCOV
49
    return name;
×
50
  }
51

52
  public String getInstructions() {
UNCOV
53
    return instructions;
×
54
  }
55

56
  public String getFolderId() {
UNCOV
57
    return folderId;
×
58
  }
59

60
  public Boolean getIsNotificationDisabled() {
UNCOV
61
    return isNotificationDisabled;
×
62
  }
63

64
  public Boolean getIsActive() {
65
    return isActive;
×
66
  }
67

68
  @Override
69
  public boolean equals(Object o) {
70
    if (this == o) {
×
71
      return true;
×
72
    }
73
    if (o == null || getClass() != o.getClass()) {
×
74
      return false;
×
75
    }
76
    SignTemplateReadySignLinkField casted = (SignTemplateReadySignLinkField) o;
×
UNCOV
77
    return Objects.equals(url, casted.url)
×
UNCOV
78
        && Objects.equals(name, casted.name)
×
UNCOV
79
        && Objects.equals(instructions, casted.instructions)
×
UNCOV
80
        && Objects.equals(folderId, casted.folderId)
×
81
        && Objects.equals(isNotificationDisabled, casted.isNotificationDisabled)
×
UNCOV
82
        && Objects.equals(isActive, casted.isActive);
×
83
  }
84

85
  @Override
86
  public int hashCode() {
UNCOV
87
    return Objects.hash(url, name, instructions, folderId, isNotificationDisabled, isActive);
×
88
  }
89

90
  @Override
91
  public String toString() {
UNCOV
92
    return "SignTemplateReadySignLinkField{"
×
93
        + "url='"
94
        + url
95
        + '\''
96
        + ", "
97
        + "name='"
98
        + name
99
        + '\''
100
        + ", "
101
        + "instructions='"
102
        + instructions
103
        + '\''
104
        + ", "
105
        + "folderId='"
106
        + folderId
107
        + '\''
108
        + ", "
109
        + "isNotificationDisabled='"
110
        + isNotificationDisabled
111
        + '\''
112
        + ", "
113
        + "isActive='"
114
        + isActive
115
        + '\''
116
        + "}";
117
  }
118

UNCOV
119
  public static class Builder extends NullableFieldTracker {
×
120

121
    protected String url;
122

123
    protected String name;
124

125
    protected String instructions;
126

127
    protected String folderId;
128

129
    protected Boolean isNotificationDisabled;
130

131
    protected Boolean isActive;
132

133
    public Builder url(String url) {
134
      this.url = url;
×
UNCOV
135
      return this;
×
136
    }
137

138
    public Builder name(String name) {
139
      this.name = name;
×
UNCOV
140
      this.markNullableFieldAsSet("name");
×
UNCOV
141
      return this;
×
142
    }
143

144
    public Builder instructions(String instructions) {
UNCOV
145
      this.instructions = instructions;
×
UNCOV
146
      this.markNullableFieldAsSet("instructions");
×
UNCOV
147
      return this;
×
148
    }
149

150
    public Builder folderId(String folderId) {
UNCOV
151
      this.folderId = folderId;
×
UNCOV
152
      this.markNullableFieldAsSet("folder_id");
×
153
      return this;
×
154
    }
155

156
    public Builder isNotificationDisabled(Boolean isNotificationDisabled) {
UNCOV
157
      this.isNotificationDisabled = isNotificationDisabled;
×
158
      return this;
×
159
    }
160

161
    public Builder isActive(Boolean isActive) {
UNCOV
162
      this.isActive = isActive;
×
UNCOV
163
      return this;
×
164
    }
165

166
    public SignTemplateReadySignLinkField build() {
UNCOV
167
      return new SignTemplateReadySignLinkField(this);
×
168
    }
169
  }
170
}
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