• 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/weblinkmini/WebLinkMini.java
1
package com.box.sdkgen.schemas.weblinkmini;
2

3
import com.box.sdkgen.schemas.weblinkbase.WebLinkBase;
4
import com.box.sdkgen.schemas.weblinkbase.WebLinkBaseTypeField;
5
import com.box.sdkgen.serialization.json.EnumWrapper;
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 WebLinkMini extends WebLinkBase {
12

13
  protected String url;
14

15
  @JsonProperty("sequence_id")
16
  protected String sequenceId;
17

18
  protected String name;
19

20
  public WebLinkMini(@JsonProperty("id") String id) {
UNCOV
21
    super(id);
×
UNCOV
22
  }
×
23

24
  protected WebLinkMini(Builder builder) {
25
    super(builder);
×
26
    this.url = builder.url;
×
27
    this.sequenceId = builder.sequenceId;
×
28
    this.name = builder.name;
×
29
    markNullableFieldsAsSet(builder.getExplicitlySetNullableFields());
×
30
  }
×
31

32
  public String getUrl() {
UNCOV
33
    return url;
×
34
  }
35

36
  public String getSequenceId() {
UNCOV
37
    return sequenceId;
×
38
  }
39

40
  public String getName() {
UNCOV
41
    return name;
×
42
  }
43

44
  @Override
45
  public boolean equals(Object o) {
46
    if (this == o) {
×
47
      return true;
×
48
    }
49
    if (o == null || getClass() != o.getClass()) {
×
50
      return false;
×
51
    }
52
    WebLinkMini casted = (WebLinkMini) o;
×
53
    return Objects.equals(id, casted.id)
×
54
        && Objects.equals(type, casted.type)
×
55
        && Objects.equals(etag, casted.etag)
×
56
        && Objects.equals(url, casted.url)
×
57
        && Objects.equals(sequenceId, casted.sequenceId)
×
58
        && Objects.equals(name, casted.name);
×
59
  }
60

61
  @Override
62
  public int hashCode() {
63
    return Objects.hash(id, type, etag, url, sequenceId, name);
×
64
  }
65

66
  @Override
67
  public String toString() {
68
    return "WebLinkMini{"
×
69
        + "id='"
70
        + id
71
        + '\''
72
        + ", "
73
        + "type='"
74
        + type
75
        + '\''
76
        + ", "
77
        + "etag='"
78
        + etag
79
        + '\''
80
        + ", "
81
        + "url='"
82
        + url
83
        + '\''
84
        + ", "
85
        + "sequenceId='"
86
        + sequenceId
87
        + '\''
88
        + ", "
89
        + "name='"
90
        + name
91
        + '\''
92
        + "}";
93
  }
94

95
  public static class Builder extends WebLinkBase.Builder {
96

97
    protected String url;
98

99
    protected String sequenceId;
100

101
    protected String name;
102

103
    public Builder(String id) {
104
      super(id);
×
105
    }
×
106

107
    public Builder url(String url) {
108
      this.url = url;
×
109
      return this;
×
110
    }
111

112
    public Builder sequenceId(String sequenceId) {
113
      this.sequenceId = sequenceId;
×
114
      return this;
×
115
    }
116

117
    public Builder name(String name) {
118
      this.name = name;
×
119
      return this;
×
120
    }
121

122
    @Override
123
    public Builder type(WebLinkBaseTypeField type) {
124
      this.type = new EnumWrapper<WebLinkBaseTypeField>(type);
×
125
      return this;
×
126
    }
127

128
    @Override
129
    public Builder type(EnumWrapper<WebLinkBaseTypeField> type) {
130
      this.type = type;
×
131
      return this;
×
132
    }
133

134
    @Override
135
    public Builder etag(String etag) {
136
      this.etag = etag;
×
137
      return this;
×
138
    }
139

140
    public WebLinkMini build() {
141
      return new WebLinkMini(this);
×
142
    }
143
  }
144
}
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