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

box / box-java-sdk-gen / #226

20 Jun 2025 03:14PM UTC coverage: 35.609% (-0.2%) from 35.816%
#226

push

github

web-flow
feat: Shorten builder names in Java (box/box-codegen#742) (#334)

367 of 1570 new or added lines in 984 files covered. (23.38%)

674 existing lines in 370 files now uncovered.

16125 of 45284 relevant lines covered (35.61%)

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/filefull/FileFullWatermarkInfoField.java
1
package com.box.sdkgen.schemas.filefull;
2

3
import com.box.sdkgen.internal.SerializableObject;
4
import com.fasterxml.jackson.annotation.JsonProperty;
5
import java.util.Objects;
6

7
public class FileFullWatermarkInfoField extends SerializableObject {
8

9
  @JsonProperty("is_watermarked")
10
  protected Boolean isWatermarked;
11

12
  public FileFullWatermarkInfoField() {
13
    super();
×
14
  }
×
15

16
  protected FileFullWatermarkInfoField(Builder builder) {
17
    super();
×
18
    this.isWatermarked = builder.isWatermarked;
×
19
  }
×
20

21
  public Boolean getIsWatermarked() {
22
    return isWatermarked;
×
23
  }
24

25
  @Override
26
  public boolean equals(Object o) {
27
    if (this == o) {
×
28
      return true;
×
29
    }
30
    if (o == null || getClass() != o.getClass()) {
×
31
      return false;
×
32
    }
33
    FileFullWatermarkInfoField casted = (FileFullWatermarkInfoField) o;
×
34
    return Objects.equals(isWatermarked, casted.isWatermarked);
×
35
  }
36

37
  @Override
38
  public int hashCode() {
39
    return Objects.hash(isWatermarked);
×
40
  }
41

42
  @Override
43
  public String toString() {
44
    return "FileFullWatermarkInfoField{" + "isWatermarked='" + isWatermarked + '\'' + "}";
×
45
  }
46

NEW
47
  public static class Builder {
×
48

49
    protected Boolean isWatermarked;
50

51
    public Builder isWatermarked(Boolean isWatermarked) {
52
      this.isWatermarked = isWatermarked;
×
53
      return this;
×
54
    }
55

56
    public FileFullWatermarkInfoField build() {
57
      return new FileFullWatermarkInfoField(this);
×
58
    }
59
  }
60
}
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