• 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

15.91
/src/main/java/com/box/sdkgen/schemas/uploadsession/UploadSessionSessionEndpointsField.java
1
package com.box.sdkgen.schemas.uploadsession;
2

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

9
@JsonFilter("nullablePropertyFilter")
10
public class UploadSessionSessionEndpointsField extends SerializableObject {
11

12
  /** The URL to upload parts to. */
13
  @JsonProperty("upload_part")
14
  protected String uploadPart;
15

16
  /** The URL used to commit the file. */
17
  protected String commit;
18

19
  /** The URL for used to abort the session. */
20
  protected String abort;
21

22
  /** The URL users to list all parts. */
23
  @JsonProperty("list_parts")
24
  protected String listParts;
25

26
  /** The URL used to get the status of the upload. */
27
  protected String status;
28

29
  /** The URL used to get the upload log from. */
30
  @JsonProperty("log_event")
31
  protected String logEvent;
32

33
  public UploadSessionSessionEndpointsField() {
34
    super();
1✔
35
  }
1✔
36

37
  protected UploadSessionSessionEndpointsField(Builder builder) {
38
    super();
×
39
    this.uploadPart = builder.uploadPart;
×
40
    this.commit = builder.commit;
×
41
    this.abort = builder.abort;
×
42
    this.listParts = builder.listParts;
×
43
    this.status = builder.status;
×
44
    this.logEvent = builder.logEvent;
×
45
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
46
  }
×
47

48
  public String getUploadPart() {
49
    return uploadPart;
1✔
50
  }
51

52
  public String getCommit() {
53
    return commit;
1✔
54
  }
55

56
  public String getAbort() {
57
    return abort;
1✔
58
  }
59

60
  public String getListParts() {
61
    return listParts;
1✔
62
  }
63

64
  public String getStatus() {
65
    return status;
1✔
66
  }
67

68
  public String getLogEvent() {
69
    return logEvent;
×
70
  }
71

72
  @Override
73
  public boolean equals(Object o) {
74
    if (this == o) {
×
75
      return true;
×
76
    }
77
    if (o == null || getClass() != o.getClass()) {
×
78
      return false;
×
79
    }
80
    UploadSessionSessionEndpointsField casted = (UploadSessionSessionEndpointsField) o;
×
81
    return Objects.equals(uploadPart, casted.uploadPart)
×
82
        && Objects.equals(commit, casted.commit)
×
83
        && Objects.equals(abort, casted.abort)
×
84
        && Objects.equals(listParts, casted.listParts)
×
85
        && Objects.equals(status, casted.status)
×
86
        && Objects.equals(logEvent, casted.logEvent);
×
87
  }
88

89
  @Override
90
  public int hashCode() {
91
    return Objects.hash(uploadPart, commit, abort, listParts, status, logEvent);
×
92
  }
93

94
  @Override
95
  public String toString() {
96
    return "UploadSessionSessionEndpointsField{"
×
97
        + "uploadPart='"
98
        + uploadPart
99
        + '\''
100
        + ", "
101
        + "commit='"
102
        + commit
103
        + '\''
104
        + ", "
105
        + "abort='"
106
        + abort
107
        + '\''
108
        + ", "
109
        + "listParts='"
110
        + listParts
111
        + '\''
112
        + ", "
113
        + "status='"
114
        + status
115
        + '\''
116
        + ", "
117
        + "logEvent='"
118
        + logEvent
119
        + '\''
120
        + "}";
121
  }
122

123
  public static class Builder extends NullableFieldTracker {
×
124

125
    protected String uploadPart;
126

127
    protected String commit;
128

129
    protected String abort;
130

131
    protected String listParts;
132

133
    protected String status;
134

135
    protected String logEvent;
136

137
    public Builder uploadPart(String uploadPart) {
138
      this.uploadPart = uploadPart;
×
139
      return this;
×
140
    }
141

142
    public Builder commit(String commit) {
143
      this.commit = commit;
×
144
      return this;
×
145
    }
146

147
    public Builder abort(String abort) {
148
      this.abort = abort;
×
149
      return this;
×
150
    }
151

152
    public Builder listParts(String listParts) {
153
      this.listParts = listParts;
×
154
      return this;
×
155
    }
156

157
    public Builder status(String status) {
158
      this.status = status;
×
159
      return this;
×
160
    }
161

162
    public Builder logEvent(String logEvent) {
163
      this.logEvent = logEvent;
×
164
      return this;
×
165
    }
166

167
    public UploadSessionSessionEndpointsField build() {
168
      return new UploadSessionSessionEndpointsField(this);
×
169
    }
170
  }
171
}
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