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

box / box-java-sdk-gen / #301

26 Jun 2025 03:33PM UTC coverage: 35.681% (-0.04%) from 35.723%
#301

push

github

web-flow
feat: Add webhook validation(box/box-codegen#745) (#347)

Co-authored-by: box-sdk-build <box-sdk-build@box.com>

68 of 82 new or added lines in 2 files covered. (82.93%)

11818 existing lines in 631 files now uncovered.

16948 of 47499 relevant lines covered (35.68%)

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/timelineskillcard/TimelineSkillCardEntriesField.java
1
package com.box.sdkgen.schemas.searchresultwithsharedlink;
2

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

10
@JsonFilter("nullablePropertyFilter")
11
public class SearchResultWithSharedLink extends SerializableObject {
12

13
  @JsonProperty("accessible_via_shared_link")
14
  protected String accessibleViaSharedLink;
15

16
  protected FileFullOrFolderFullOrWebLink item;
17

18
  protected String type;
19

20
  public SearchResultWithSharedLink() {
UNCOV
21
    super();
×
22
  }
×
23

24
  protected SearchResultWithSharedLink(Builder builder) {
25
    super();
×
26
    this.accessibleViaSharedLink = builder.accessibleViaSharedLink;
×
UNCOV
27
    this.item = builder.item;
×
UNCOV
28
    this.type = builder.type;
×
29
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
UNCOV
30
  }
×
31

32
  public String getAccessibleViaSharedLink() {
33
    return accessibleViaSharedLink;
×
34
  }
35

36
  public FileFullOrFolderFullOrWebLink getItem() {
37
    return item;
×
38
  }
39

40
  public String getType() {
UNCOV
41
    return type;
×
42
  }
43

44
  @Override
45
  public boolean equals(Object o) {
46
    if (this == o) {
×
UNCOV
47
      return true;
×
48
    }
49
    if (o == null || getClass() != o.getClass()) {
×
50
      return false;
×
51
    }
UNCOV
52
    SearchResultWithSharedLink casted = (SearchResultWithSharedLink) o;
×
UNCOV
53
    return Objects.equals(accessibleViaSharedLink, casted.accessibleViaSharedLink)
×
UNCOV
54
        && Objects.equals(item, casted.item)
×
UNCOV
55
        && Objects.equals(type, casted.type);
×
56
  }
57

58
  @Override
59
  public int hashCode() {
UNCOV
60
    return Objects.hash(accessibleViaSharedLink, item, type);
×
61
  }
62

63
  @Override
64
  public String toString() {
UNCOV
65
    return "SearchResultWithSharedLink{"
×
66
        + "accessibleViaSharedLink='"
67
        + accessibleViaSharedLink
68
        + '\''
69
        + ", "
70
        + "item='"
71
        + item
72
        + '\''
73
        + ", "
74
        + "type='"
75
        + type
76
        + '\''
77
        + "}";
78
  }
79

UNCOV
80
  public static class Builder extends NullableFieldTracker {
×
81

82
    protected String accessibleViaSharedLink;
83

84
    protected FileFullOrFolderFullOrWebLink item;
85

86
    protected String type;
87

88
    public Builder accessibleViaSharedLink(String accessibleViaSharedLink) {
UNCOV
89
      this.accessibleViaSharedLink = accessibleViaSharedLink;
×
90
      return this;
×
91
    }
92

93
    public Builder item(FileFullOrFolderFullOrWebLink item) {
UNCOV
94
      this.item = item;
×
95
      return this;
×
96
    }
97

98
    public Builder type(String type) {
UNCOV
99
      this.type = type;
×
100
      return this;
×
101
    }
102

103
    public SearchResultWithSharedLink build() {
UNCOV
104
      return new SearchResultWithSharedLink(this);
×
105
    }
106
  }
107
}
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