• 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

0.0
/src/main/java/com/box/sdkgen/managers/folders/UpdateFolderByIdRequestBodyCollectionsField.java
1
package com.box.sdkgen.managers.folders;
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 UpdateFolderByIdRequestBodyCollectionsField extends SerializableObject {
10

11
  protected String id;
12

13
  protected String type;
14

15
  public UpdateFolderByIdRequestBodyCollectionsField() {
UNCOV
16
    super();
×
17
  }
×
18

19
  protected UpdateFolderByIdRequestBodyCollectionsField(Builder builder) {
20
    super();
×
UNCOV
21
    this.id = builder.id;
×
UNCOV
22
    this.type = builder.type;
×
23
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
24
  }
×
25

26
  public String getId() {
27
    return id;
×
28
  }
29

30
  public String getType() {
UNCOV
31
    return type;
×
32
  }
33

34
  @Override
35
  public boolean equals(Object o) {
36
    if (this == o) {
×
UNCOV
37
      return true;
×
38
    }
UNCOV
39
    if (o == null || getClass() != o.getClass()) {
×
40
      return false;
×
41
    }
UNCOV
42
    UpdateFolderByIdRequestBodyCollectionsField casted =
×
43
        (UpdateFolderByIdRequestBodyCollectionsField) o;
UNCOV
44
    return Objects.equals(id, casted.id) && Objects.equals(type, casted.type);
×
45
  }
46

47
  @Override
48
  public int hashCode() {
UNCOV
49
    return Objects.hash(id, type);
×
50
  }
51

52
  @Override
53
  public String toString() {
UNCOV
54
    return "UpdateFolderByIdRequestBodyCollectionsField{"
×
55
        + "id='"
56
        + id
57
        + '\''
58
        + ", "
59
        + "type='"
60
        + type
61
        + '\''
62
        + "}";
63
  }
64

UNCOV
65
  public static class Builder extends NullableFieldTracker {
×
66

67
    protected String id;
68

69
    protected String type;
70

71
    public Builder id(String id) {
UNCOV
72
      this.id = id;
×
73
      return this;
×
74
    }
75

76
    public Builder type(String type) {
UNCOV
77
      this.type = type;
×
78
      return this;
×
79
    }
80

81
    public UpdateFolderByIdRequestBodyCollectionsField build() {
UNCOV
82
      return new UpdateFolderByIdRequestBodyCollectionsField(this);
×
83
    }
84
  }
85
}
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