• 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

42.86
/src/main/java/com/box/sdkgen/managers/folderlocks/CreateFolderLockRequestBodyFolderField.java
1
package com.box.sdkgen.managers.folderlocks;
2

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

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

11
  /** The content type the lock is being applied to. Only `folder` is supported. */
12
  protected final String type;
13

14
  /** The ID of the folder. */
15
  protected final String id;
16

17
  public CreateFolderLockRequestBodyFolderField(
18
      @JsonProperty("type") String type, @JsonProperty("id") String id) {
19
    super();
1✔
20
    this.type = type;
1✔
21
    this.id = id;
1✔
22
  }
1✔
23

24
  public String getType() {
25
    return type;
1✔
26
  }
27

28
  public String getId() {
29
    return id;
1✔
30
  }
31

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

44
  @Override
45
  public int hashCode() {
46
    return Objects.hash(type, id);
×
47
  }
48

49
  @Override
50
  public String toString() {
51
    return "CreateFolderLockRequestBodyFolderField{"
×
52
        + "type='"
53
        + type
54
        + '\''
55
        + ", "
56
        + "id='"
57
        + id
58
        + '\''
59
        + "}";
60
  }
61
}
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