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

box / box-java-sdk-gen / #294

24 Jun 2025 01:20PM UTC coverage: 35.662% (+0.03%) from 35.632%
#294

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%)

11791 existing lines in 624 files now uncovered.

16939 of 47499 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/schemas/folderfull/FolderFullPermissionsField.java
1
package com.box.sdkgen.schemas.folderfull;
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 FolderFullPermissionsField extends SerializableObject {
10

11
  @JsonProperty("can_delete")
12
  protected final boolean canDelete;
13

14
  @JsonProperty("can_download")
15
  protected final boolean canDownload;
16

17
  @JsonProperty("can_invite_collaborator")
18
  protected final boolean canInviteCollaborator;
19

20
  @JsonProperty("can_rename")
21
  protected final boolean canRename;
22

23
  @JsonProperty("can_set_share_access")
24
  protected final boolean canSetShareAccess;
25

26
  @JsonProperty("can_share")
27
  protected final boolean canShare;
28

29
  @JsonProperty("can_upload")
30
  protected final boolean canUpload;
31

32
  public FolderFullPermissionsField(
33
      @JsonProperty("can_delete") boolean canDelete,
34
      @JsonProperty("can_download") boolean canDownload,
35
      @JsonProperty("can_invite_collaborator") boolean canInviteCollaborator,
36
      @JsonProperty("can_rename") boolean canRename,
37
      @JsonProperty("can_set_share_access") boolean canSetShareAccess,
38
      @JsonProperty("can_share") boolean canShare,
39
      @JsonProperty("can_upload") boolean canUpload) {
40
    super();
×
41
    this.canDelete = canDelete;
×
42
    this.canDownload = canDownload;
×
43
    this.canInviteCollaborator = canInviteCollaborator;
×
44
    this.canRename = canRename;
×
45
    this.canSetShareAccess = canSetShareAccess;
×
46
    this.canShare = canShare;
×
UNCOV
47
    this.canUpload = canUpload;
×
UNCOV
48
  }
×
49

50
  public boolean getCanDelete() {
UNCOV
51
    return canDelete;
×
52
  }
53

54
  public boolean getCanDownload() {
UNCOV
55
    return canDownload;
×
56
  }
57

58
  public boolean getCanInviteCollaborator() {
UNCOV
59
    return canInviteCollaborator;
×
60
  }
61

62
  public boolean getCanRename() {
UNCOV
63
    return canRename;
×
64
  }
65

66
  public boolean getCanSetShareAccess() {
UNCOV
67
    return canSetShareAccess;
×
68
  }
69

70
  public boolean getCanShare() {
UNCOV
71
    return canShare;
×
72
  }
73

74
  public boolean getCanUpload() {
UNCOV
75
    return canUpload;
×
76
  }
77

78
  @Override
79
  public boolean equals(Object o) {
UNCOV
80
    if (this == o) {
×
81
      return true;
×
82
    }
UNCOV
83
    if (o == null || getClass() != o.getClass()) {
×
84
      return false;
×
85
    }
86
    FolderFullPermissionsField casted = (FolderFullPermissionsField) o;
×
87
    return Objects.equals(canDelete, casted.canDelete)
×
88
        && Objects.equals(canDownload, casted.canDownload)
×
89
        && Objects.equals(canInviteCollaborator, casted.canInviteCollaborator)
×
90
        && Objects.equals(canRename, casted.canRename)
×
91
        && Objects.equals(canSetShareAccess, casted.canSetShareAccess)
×
UNCOV
92
        && Objects.equals(canShare, casted.canShare)
×
UNCOV
93
        && Objects.equals(canUpload, casted.canUpload);
×
94
  }
95

96
  @Override
97
  public int hashCode() {
98
    return Objects.hash(
×
99
        canDelete,
×
100
        canDownload,
×
101
        canInviteCollaborator,
×
102
        canRename,
×
103
        canSetShareAccess,
×
UNCOV
104
        canShare,
×
UNCOV
105
        canUpload);
×
106
  }
107

108
  @Override
109
  public String toString() {
UNCOV
110
    return "FolderFullPermissionsField{"
×
111
        + "canDelete='"
112
        + canDelete
113
        + '\''
114
        + ", "
115
        + "canDownload='"
116
        + canDownload
117
        + '\''
118
        + ", "
119
        + "canInviteCollaborator='"
120
        + canInviteCollaborator
121
        + '\''
122
        + ", "
123
        + "canRename='"
124
        + canRename
125
        + '\''
126
        + ", "
127
        + "canSetShareAccess='"
128
        + canSetShareAccess
129
        + '\''
130
        + ", "
131
        + "canShare='"
132
        + canShare
133
        + '\''
134
        + ", "
135
        + "canUpload='"
136
        + canUpload
137
        + '\''
138
        + "}";
139
  }
140
}
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