• 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

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
  /** The location of a small-sized avatar. */
12
  protected String small;
13

14
  /** The location of a large-sized avatar. */
15
  protected String large;
16

17
  /** The location of the avatar preview. */
18
  protected String preview;
19

20
  public UserAvatarPicUrlsField() {
21
    super();
1✔
22
  }
1✔
23

24
  protected UserAvatarPicUrlsField(Builder builder) {
25
    super();
×
26
    this.small = builder.small;
×
27
    this.large = builder.large;
×
28
    this.preview = builder.preview;
×
29
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
30
  }
×
31

32
  public String getSmall() {
33
    return small;
1✔
34
  }
35

36
  public String getLarge() {
37
    return large;
1✔
38
  }
39

40
  public String getPreview() {
41
    return preview;
1✔
42
  }
43

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

58
  @Override
59
  public int hashCode() {
60
    return Objects.hash(small, large, preview);
×
61
  }
62

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

80
  public static class Builder extends NullableFieldTracker {
×
81

82
    protected String small;
83

84
    protected String large;
85

86
    protected String preview;
87

88
    public Builder small(String small) {
89
      this.small = small;
×
90
      return this;
×
91
    }
92

93
    public Builder large(String large) {
94
      this.large = large;
×
95
      return this;
×
96
    }
97

98
    public Builder preview(String preview) {
99
      this.preview = preview;
×
100
      return this;
×
101
    }
102

103
    public UserAvatarPicUrlsField build() {
104
      return new UserAvatarPicUrlsField(this);
×
105
    }
106
  }
107
}
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