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

box / box-java-sdk / #5076

07 Oct 2025 12:35PM UTC coverage: 37.132% (+0.007%) from 37.125%
#5076

push

github

web-flow
test: Change `Event.additionalDetails` field assertion in events test (box/box-codegen#858) (#1491)

18454 of 49699 relevant lines covered (37.13%)

0.37 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
  /** Name of the company. */
14
  @JsonProperty("company_name")
15
  @Nullable
16
  protected String companyName;
17

18
  /** Custom branding logo URI in the form of a base64 image. */
19
  @JsonProperty("logo_uri")
20
  @Nullable
21
  protected String logoUri;
22

23
  /** Custom branding color in hex. */
24
  @JsonProperty("branding_color")
25
  @Nullable
26
  protected String brandingColor;
27

28
  /** Content of the email footer. */
29
  @JsonProperty("email_footer_text")
30
  @Nullable
31
  protected String emailFooterText;
32

33
  public SignTemplateCustomBrandingField() {
34
    super();
×
35
  }
×
36

37
  protected SignTemplateCustomBrandingField(Builder builder) {
38
    super();
×
39
    this.companyName = builder.companyName;
×
40
    this.logoUri = builder.logoUri;
×
41
    this.brandingColor = builder.brandingColor;
×
42
    this.emailFooterText = builder.emailFooterText;
×
43
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
44
  }
×
45

46
  public String getCompanyName() {
47
    return companyName;
×
48
  }
49

50
  public String getLogoUri() {
51
    return logoUri;
×
52
  }
53

54
  public String getBrandingColor() {
55
    return brandingColor;
×
56
  }
57

58
  public String getEmailFooterText() {
59
    return emailFooterText;
×
60
  }
61

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

77
  @Override
78
  public int hashCode() {
79
    return Objects.hash(companyName, logoUri, brandingColor, emailFooterText);
×
80
  }
81

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

103
  public static class Builder extends NullableFieldTracker {
×
104

105
    protected String companyName;
106

107
    protected String logoUri;
108

109
    protected String brandingColor;
110

111
    protected String emailFooterText;
112

113
    public Builder companyName(String companyName) {
114
      this.companyName = companyName;
×
115
      this.markNullableFieldAsSet("company_name");
×
116
      return this;
×
117
    }
118

119
    public Builder logoUri(String logoUri) {
120
      this.logoUri = logoUri;
×
121
      this.markNullableFieldAsSet("logo_uri");
×
122
      return this;
×
123
    }
124

125
    public Builder brandingColor(String brandingColor) {
126
      this.brandingColor = brandingColor;
×
127
      this.markNullableFieldAsSet("branding_color");
×
128
      return this;
×
129
    }
130

131
    public Builder emailFooterText(String emailFooterText) {
132
      this.emailFooterText = emailFooterText;
×
133
      this.markNullableFieldAsSet("email_footer_text");
×
134
      return this;
×
135
    }
136

137
    public SignTemplateCustomBrandingField build() {
138
      return new SignTemplateCustomBrandingField(this);
×
139
    }
140
  }
141
}
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