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

box / box-java-sdk / #5762

01 Dec 2025 10:27AM UTC coverage: 13.282% (-0.02%) from 13.3%
#5762

push

github

web-flow
feat(boxsdkgen): Support new sign request metadata (box/box-openapi#565) (#1598)

0 of 48 new or added lines in 3 files covered. (0.0%)

15 existing lines in 9 files now uncovered.

8368 of 63001 relevant lines covered (13.28%)

0.13 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/signrequestsignerattachment/SignRequestSignerAttachment.java
1
package com.box.sdkgen.schemas.signrequestsignerattachment;
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 java.util.Objects;
8

9
/** Metadata describing a file uploaded by a signer as an attachment. */
10
@JsonFilter("nullablePropertyFilter")
11
public class SignRequestSignerAttachment extends SerializableObject {
12

13
  /** Identifier of the attachment file. */
14
  @Nullable protected String id;
15

16
  /** Display name of the attachment file. */
17
  @Nullable protected String name;
18

19
  public SignRequestSignerAttachment() {
NEW
20
    super();
×
NEW
21
  }
×
22

23
  protected SignRequestSignerAttachment(Builder builder) {
NEW
24
    super();
×
NEW
25
    this.id = builder.id;
×
NEW
26
    this.name = builder.name;
×
NEW
27
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
NEW
28
  }
×
29

30
  public String getId() {
NEW
31
    return id;
×
32
  }
33

34
  public String getName() {
NEW
35
    return name;
×
36
  }
37

38
  @Override
39
  public boolean equals(Object o) {
NEW
40
    if (this == o) {
×
NEW
41
      return true;
×
42
    }
NEW
43
    if (o == null || getClass() != o.getClass()) {
×
NEW
44
      return false;
×
45
    }
NEW
46
    SignRequestSignerAttachment casted = (SignRequestSignerAttachment) o;
×
NEW
47
    return Objects.equals(id, casted.id) && Objects.equals(name, casted.name);
×
48
  }
49

50
  @Override
51
  public int hashCode() {
NEW
52
    return Objects.hash(id, name);
×
53
  }
54

55
  @Override
56
  public String toString() {
NEW
57
    return "SignRequestSignerAttachment{"
×
58
        + "id='"
59
        + id
60
        + '\''
61
        + ", "
62
        + "name='"
63
        + name
64
        + '\''
65
        + "}";
66
  }
67

NEW
68
  public static class Builder extends NullableFieldTracker {
×
69

70
    protected String id;
71

72
    protected String name;
73

74
    public Builder id(String id) {
NEW
75
      this.id = id;
×
NEW
76
      this.markNullableFieldAsSet("id");
×
NEW
77
      return this;
×
78
    }
79

80
    public Builder name(String name) {
NEW
81
      this.name = name;
×
NEW
82
      this.markNullableFieldAsSet("name");
×
NEW
83
      return this;
×
84
    }
85

86
    public SignRequestSignerAttachment build() {
NEW
87
      return new SignRequestSignerAttachment(this);
×
88
    }
89
  }
90
}
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

© 2025 Coveralls, Inc