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

box / box-java-sdk-gen / #295

24 Jun 2025 01:20PM UTC coverage: 35.661% (+0.03%) from 35.632%
#295

Pull #347

github

web-flow
Merge 2c100d09c into d8480ee6c
Pull Request #347: feat: Add Webhook Validation In Java (box/box-codegen#745)

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

11794 existing lines in 627 files now uncovered.

16937 of 47495 relevant lines covered (35.66%)

0.36 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

17.24
/src/main/java/com/box/sdkgen/schemas/useravatar/UserAvatarPicUrlsField.java
1
package com.box.sdkgen.schemas.useravatar;
2

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

8
@JsonFilter("nullablePropertyFilter")
9
public class UserAvatarPicUrlsField extends SerializableObject {
10

11
  protected String small;
12

13
  protected String large;
14

15
  protected String preview;
16

17
  public UserAvatarPicUrlsField() {
18
    super();
1✔
19
  }
1✔
20

21
  protected UserAvatarPicUrlsField(Builder builder) {
22
    super();
×
23
    this.small = builder.small;
×
UNCOV
24
    this.large = builder.large;
×
UNCOV
25
    this.preview = builder.preview;
×
UNCOV
26
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
27
  }
×
28

29
  public String getSmall() {
30
    return small;
1✔
31
  }
32

33
  public String getLarge() {
34
    return large;
1✔
35
  }
36

37
  public String getPreview() {
38
    return preview;
1✔
39
  }
40

41
  @Override
42
  public boolean equals(Object o) {
43
    if (this == o) {
×
UNCOV
44
      return true;
×
45
    }
46
    if (o == null || getClass() != o.getClass()) {
×
47
      return false;
×
48
    }
UNCOV
49
    UserAvatarPicUrlsField casted = (UserAvatarPicUrlsField) o;
×
UNCOV
50
    return Objects.equals(small, casted.small)
×
UNCOV
51
        && Objects.equals(large, casted.large)
×
UNCOV
52
        && Objects.equals(preview, casted.preview);
×
53
  }
54

55
  @Override
56
  public int hashCode() {
UNCOV
57
    return Objects.hash(small, large, preview);
×
58
  }
59

60
  @Override
61
  public String toString() {
UNCOV
62
    return "UserAvatarPicUrlsField{"
×
63
        + "small='"
64
        + small
65
        + '\''
66
        + ", "
67
        + "large='"
68
        + large
69
        + '\''
70
        + ", "
71
        + "preview='"
72
        + preview
73
        + '\''
74
        + "}";
75
  }
76

UNCOV
77
  public static class Builder extends NullableFieldTracker {
×
78

79
    protected String small;
80

81
    protected String large;
82

83
    protected String preview;
84

85
    public Builder small(String small) {
UNCOV
86
      this.small = small;
×
87
      return this;
×
88
    }
89

90
    public Builder large(String large) {
UNCOV
91
      this.large = large;
×
92
      return this;
×
93
    }
94

95
    public Builder preview(String preview) {
UNCOV
96
      this.preview = preview;
×
97
      return this;
×
98
    }
99

100
    public UserAvatarPicUrlsField build() {
UNCOV
101
      return new UserAvatarPicUrlsField(this);
×
102
    }
103
  }
104
}
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