• 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/signtemplate/SignTemplateCustomBrandingField.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 SignTemplateCustomBrandingField extends SerializableObject {
12

13
  @JsonProperty("company_name")
14
  @Nullable
15
  protected String companyName;
16

17
  @JsonProperty("logo_uri")
18
  @Nullable
19
  protected String logoUri;
20

21
  @JsonProperty("branding_color")
22
  @Nullable
23
  protected String brandingColor;
24

25
  @JsonProperty("email_footer_text")
26
  @Nullable
27
  protected String emailFooterText;
28

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

33
  protected SignTemplateCustomBrandingField(Builder builder) {
34
    super();
×
UNCOV
35
    this.companyName = builder.companyName;
×
UNCOV
36
    this.logoUri = builder.logoUri;
×
UNCOV
37
    this.brandingColor = builder.brandingColor;
×
38
    this.emailFooterText = builder.emailFooterText;
×
UNCOV
39
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
40
  }
×
41

42
  public String getCompanyName() {
UNCOV
43
    return companyName;
×
44
  }
45

46
  public String getLogoUri() {
UNCOV
47
    return logoUri;
×
48
  }
49

50
  public String getBrandingColor() {
51
    return brandingColor;
×
52
  }
53

54
  public String getEmailFooterText() {
55
    return emailFooterText;
×
56
  }
57

58
  @Override
59
  public boolean equals(Object o) {
60
    if (this == o) {
×
61
      return true;
×
62
    }
UNCOV
63
    if (o == null || getClass() != o.getClass()) {
×
UNCOV
64
      return false;
×
65
    }
66
    SignTemplateCustomBrandingField casted = (SignTemplateCustomBrandingField) o;
×
UNCOV
67
    return Objects.equals(companyName, casted.companyName)
×
UNCOV
68
        && Objects.equals(logoUri, casted.logoUri)
×
UNCOV
69
        && Objects.equals(brandingColor, casted.brandingColor)
×
UNCOV
70
        && Objects.equals(emailFooterText, casted.emailFooterText);
×
71
  }
72

73
  @Override
74
  public int hashCode() {
UNCOV
75
    return Objects.hash(companyName, logoUri, brandingColor, emailFooterText);
×
76
  }
77

78
  @Override
79
  public String toString() {
UNCOV
80
    return "SignTemplateCustomBrandingField{"
×
81
        + "companyName='"
82
        + companyName
83
        + '\''
84
        + ", "
85
        + "logoUri='"
86
        + logoUri
87
        + '\''
88
        + ", "
89
        + "brandingColor='"
90
        + brandingColor
91
        + '\''
92
        + ", "
93
        + "emailFooterText='"
94
        + emailFooterText
95
        + '\''
96
        + "}";
97
  }
98

UNCOV
99
  public static class Builder extends NullableFieldTracker {
×
100

101
    protected String companyName;
102

103
    protected String logoUri;
104

105
    protected String brandingColor;
106

107
    protected String emailFooterText;
108

109
    public Builder companyName(String companyName) {
UNCOV
110
      this.companyName = companyName;
×
111
      this.markNullableFieldAsSet("company_name");
×
112
      return this;
×
113
    }
114

115
    public Builder logoUri(String logoUri) {
116
      this.logoUri = logoUri;
×
117
      this.markNullableFieldAsSet("logo_uri");
×
UNCOV
118
      return this;
×
119
    }
120

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

127
    public Builder emailFooterText(String emailFooterText) {
UNCOV
128
      this.emailFooterText = emailFooterText;
×
UNCOV
129
      this.markNullableFieldAsSet("email_footer_text");
×
UNCOV
130
      return this;
×
131
    }
132

133
    public SignTemplateCustomBrandingField build() {
UNCOV
134
      return new SignTemplateCustomBrandingField(this);
×
135
    }
136
  }
137
}
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