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

box / box-java-sdk-gen / #541

05 Sep 2025 02:31PM UTC coverage: 7.451% (-29.2%) from 36.66%
#541

push

other

web-flow
chore: release version 0.8.1 (#437)

1 of 1 new or added line in 1 file covered. (100.0%)

14652 existing lines in 1191 files now uncovered.

3737 of 50151 relevant lines covered (7.45%)

0.07 hits per line

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

0.0
/src/main/java/com/box/sdkgen/schemas/file/FileSharedLinkPermissionsField.java
1
package com.box.sdkgen.schemas.weblink;
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 WebLinkSharedLinkPermissionsField extends SerializableObject {
10

11
  @JsonProperty("can_download")
12
  protected final boolean canDownload;
13

14
  @JsonProperty("can_preview")
15
  protected final boolean canPreview;
16

17
  @JsonProperty("can_edit")
18
  protected final boolean canEdit;
19

20
  public WebLinkSharedLinkPermissionsField(
21
      @JsonProperty("can_download") boolean canDownload,
22
      @JsonProperty("can_preview") boolean canPreview,
23
      @JsonProperty("can_edit") boolean canEdit) {
UNCOV
24
    super();
×
UNCOV
25
    this.canDownload = canDownload;
×
UNCOV
26
    this.canPreview = canPreview;
×
UNCOV
27
    this.canEdit = canEdit;
×
UNCOV
28
  }
×
29

30
  public boolean getCanDownload() {
31
    return canDownload;
×
32
  }
33

34
  public boolean getCanPreview() {
35
    return canPreview;
×
36
  }
37

38
  public boolean getCanEdit() {
39
    return canEdit;
×
40
  }
41

42
  @Override
43
  public boolean equals(Object o) {
44
    if (this == o) {
×
45
      return true;
×
46
    }
47
    if (o == null || getClass() != o.getClass()) {
×
48
      return false;
×
49
    }
50
    WebLinkSharedLinkPermissionsField casted = (WebLinkSharedLinkPermissionsField) o;
×
51
    return Objects.equals(canDownload, casted.canDownload)
×
52
        && Objects.equals(canPreview, casted.canPreview)
×
53
        && Objects.equals(canEdit, casted.canEdit);
×
54
  }
55

56
  @Override
57
  public int hashCode() {
58
    return Objects.hash(canDownload, canPreview, canEdit);
×
59
  }
60

61
  @Override
62
  public String toString() {
63
    return "WebLinkSharedLinkPermissionsField{"
×
64
        + "canDownload='"
65
        + canDownload
66
        + '\''
67
        + ", "
68
        + "canPreview='"
69
        + canPreview
70
        + '\''
71
        + ", "
72
        + "canEdit='"
73
        + canEdit
74
        + '\''
75
        + "}";
76
  }
77
}
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