• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Build has been canceled!

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

0.0
/src/main/java/com/box/sdkgen/managers/hubs/GetHubsV2025R0QueryParams.java
1
package com.box.sdkgen.managers.hubs;
2

3
import com.box.sdkgen.serialization.json.EnumWrapper;
4

5
public class GetHubsV2025R0QueryParams {
6

7
  /** The query string to search for Box Hubs. */
8
  public String query;
9

10
  /**
11
   * The scope of the Box Hubs to retrieve. Possible values include `editable`, `view_only`, and
12
   * `all`. Default is `all`.
13
   */
14
  public String scope;
15

16
  /**
17
   * The field to sort results by. Possible values include `name`, `updated_at`, `last_accessed_at`,
18
   * `view_count`, and `relevance`. Default is `relevance`.
19
   */
20
  public String sort;
21

22
  /**
23
   * The direction to sort results in. This can be either in alphabetical ascending (`ASC`) or
24
   * descending (`DESC`) order.
25
   */
26
  public EnumWrapper<GetHubsV2025R0QueryParamsDirectionField> direction;
27

28
  /**
29
   * Defines the position marker at which to begin returning results. This is used when paginating
30
   * using marker-based pagination.
31
   */
32
  public String marker;
33

34
  /** The maximum number of items to return per page. */
35
  public Long limit;
36

37
  public GetHubsV2025R0QueryParams() {}
×
38

39
  protected GetHubsV2025R0QueryParams(Builder builder) {
×
40
    this.query = builder.query;
×
41
    this.scope = builder.scope;
×
42
    this.sort = builder.sort;
×
43
    this.direction = builder.direction;
×
44
    this.marker = builder.marker;
×
45
    this.limit = builder.limit;
×
46
  }
×
47

48
  public String getQuery() {
49
    return query;
×
50
  }
51

52
  public String getScope() {
53
    return scope;
×
54
  }
55

56
  public String getSort() {
57
    return sort;
×
58
  }
59

60
  public EnumWrapper<GetHubsV2025R0QueryParamsDirectionField> getDirection() {
61
    return direction;
×
62
  }
63

64
  public String getMarker() {
65
    return marker;
×
66
  }
67

68
  public Long getLimit() {
69
    return limit;
×
70
  }
71

72
  public static class Builder {
×
73

74
    protected String query;
75

76
    protected String scope;
77

78
    protected String sort;
79

80
    protected EnumWrapper<GetHubsV2025R0QueryParamsDirectionField> direction;
81

82
    protected String marker;
83

84
    protected Long limit;
85

86
    public Builder query(String query) {
87
      this.query = query;
×
88
      return this;
×
89
    }
90

91
    public Builder scope(String scope) {
92
      this.scope = scope;
×
93
      return this;
×
94
    }
95

96
    public Builder sort(String sort) {
97
      this.sort = sort;
×
98
      return this;
×
99
    }
100

101
    public Builder direction(GetHubsV2025R0QueryParamsDirectionField direction) {
102
      this.direction = new EnumWrapper<GetHubsV2025R0QueryParamsDirectionField>(direction);
×
103
      return this;
×
104
    }
105

106
    public Builder direction(EnumWrapper<GetHubsV2025R0QueryParamsDirectionField> direction) {
107
      this.direction = direction;
×
108
      return this;
×
109
    }
110

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

116
    public Builder limit(Long limit) {
117
      this.limit = limit;
×
118
      return this;
×
119
    }
120

121
    public GetHubsV2025R0QueryParams build() {
122
      return new GetHubsV2025R0QueryParams(this);
×
123
    }
124
  }
125
}
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