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

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/GetEnterpriseHubsV2025R0QueryParams.java
1
package com.box.sdkgen.managers.hubs;
2

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

5
public class GetEnterpriseHubsV2025R0QueryParams {
6

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

10
  /**
11
   * The field to sort results by. Possible values include `name`, `updated_at`, `last_accessed_at`,
12
   * `view_count`, and `relevance`. Default is `relevance`.
13
   */
14
  public String sort;
15

16
  /**
17
   * The direction to sort results in. This can be either in alphabetical ascending (`ASC`) or
18
   * descending (`DESC`) order.
19
   */
20
  public EnumWrapper<GetEnterpriseHubsV2025R0QueryParamsDirectionField> direction;
21

22
  /**
23
   * Defines the position marker at which to begin returning results. This is used when paginating
24
   * using marker-based pagination.
25
   */
26
  public String marker;
27

28
  /** The maximum number of items to return per page. */
29
  public Long limit;
30

31
  public GetEnterpriseHubsV2025R0QueryParams() {}
×
32

33
  protected GetEnterpriseHubsV2025R0QueryParams(Builder builder) {
×
34
    this.query = builder.query;
×
35
    this.sort = builder.sort;
×
36
    this.direction = builder.direction;
×
37
    this.marker = builder.marker;
×
38
    this.limit = builder.limit;
×
39
  }
×
40

41
  public String getQuery() {
42
    return query;
×
43
  }
44

45
  public String getSort() {
46
    return sort;
×
47
  }
48

49
  public EnumWrapper<GetEnterpriseHubsV2025R0QueryParamsDirectionField> getDirection() {
50
    return direction;
×
51
  }
52

53
  public String getMarker() {
54
    return marker;
×
55
  }
56

57
  public Long getLimit() {
58
    return limit;
×
59
  }
60

61
  public static class Builder {
×
62

63
    protected String query;
64

65
    protected String sort;
66

67
    protected EnumWrapper<GetEnterpriseHubsV2025R0QueryParamsDirectionField> direction;
68

69
    protected String marker;
70

71
    protected Long limit;
72

73
    public Builder query(String query) {
74
      this.query = query;
×
75
      return this;
×
76
    }
77

78
    public Builder sort(String sort) {
79
      this.sort = sort;
×
80
      return this;
×
81
    }
82

83
    public Builder direction(GetEnterpriseHubsV2025R0QueryParamsDirectionField direction) {
84
      this.direction =
×
85
          new EnumWrapper<GetEnterpriseHubsV2025R0QueryParamsDirectionField>(direction);
86
      return this;
×
87
    }
88

89
    public Builder direction(
90
        EnumWrapper<GetEnterpriseHubsV2025R0QueryParamsDirectionField> direction) {
91
      this.direction = direction;
×
92
      return this;
×
93
    }
94

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

100
    public Builder limit(Long limit) {
101
      this.limit = limit;
×
102
      return this;
×
103
    }
104

105
    public GetEnterpriseHubsV2025R0QueryParams build() {
106
      return new GetEnterpriseHubsV2025R0QueryParams(this);
×
107
    }
108
  }
109
}
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