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

box / box-java-sdk / #6461

26 Mar 2026 04:24PM UTC coverage: 12.691% (-0.1%) from 12.818%
#6461

Pull #1756

github

web-flow
Merge 8ec3acf17 into bbedeaa86
Pull Request #1756: feat(boxsdkgen): Enable new hubs endpoints (box/box-codegen#930)

0 of 657 new or added lines in 25 files covered. (0.0%)

2 existing lines in 1 file now uncovered.

8374 of 65985 relevant lines covered (12.69%)

0.13 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/hubdocument/GetHubDocumentBlocksV2025R0QueryParams.java
1
package com.box.sdkgen.managers.hubdocument;
2

3
public class GetHubDocumentBlocksV2025R0QueryParams {
4

5
  /**
6
   * The unique identifier that represent a hub.
7
   *
8
   * <p>The ID for any hub can be determined by visiting this hub in the web application and copying
9
   * the ID from the URL. For example, for the URL `https://*.app.box.com/hubs/123` the `hub_id` is
10
   * `123`.
11
   */
12
  public final String hubId;
13

14
  /** The unique identifier of a page within the Box Hub. */
15
  public final String pageId;
16

17
  /**
18
   * Defines the position marker at which to begin returning results. This is used when paginating
19
   * using marker-based pagination.
20
   */
21
  public String marker;
22

23
  /** The maximum number of items to return per page. */
24
  public Long limit;
25

NEW
26
  public GetHubDocumentBlocksV2025R0QueryParams(String hubId, String pageId) {
×
NEW
27
    this.hubId = hubId;
×
NEW
28
    this.pageId = pageId;
×
NEW
29
  }
×
30

NEW
31
  protected GetHubDocumentBlocksV2025R0QueryParams(Builder builder) {
×
NEW
32
    this.hubId = builder.hubId;
×
NEW
33
    this.pageId = builder.pageId;
×
NEW
34
    this.marker = builder.marker;
×
NEW
35
    this.limit = builder.limit;
×
NEW
36
  }
×
37

38
  public String getHubId() {
NEW
39
    return hubId;
×
40
  }
41

42
  public String getPageId() {
NEW
43
    return pageId;
×
44
  }
45

46
  public String getMarker() {
NEW
47
    return marker;
×
48
  }
49

50
  public Long getLimit() {
NEW
51
    return limit;
×
52
  }
53

54
  public static class Builder {
55

56
    protected final String hubId;
57

58
    protected final String pageId;
59

60
    protected String marker;
61

62
    protected Long limit;
63

NEW
64
    public Builder(String hubId, String pageId) {
×
NEW
65
      this.hubId = hubId;
×
NEW
66
      this.pageId = pageId;
×
NEW
67
    }
×
68

69
    public Builder marker(String marker) {
NEW
70
      this.marker = marker;
×
NEW
71
      return this;
×
72
    }
73

74
    public Builder limit(Long limit) {
NEW
75
      this.limit = limit;
×
NEW
76
      return this;
×
77
    }
78

79
    public GetHubDocumentBlocksV2025R0QueryParams build() {
NEW
80
      return new GetHubDocumentBlocksV2025R0QueryParams(this);
×
81
    }
82
  }
83
}
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