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

box / box-java-sdk / #6260

11 Feb 2026 10:35AM UTC coverage: 12.826%. Remained the same
#6260

push

github

web-flow
feat(boxsdkgen): add signer language, cancel sign request reason (box/box-openapi#584) (#1720)

0 of 35 new or added lines in 4 files covered. (0.0%)

181 existing lines in 5 files now uncovered.

8368 of 65244 relevant lines covered (12.83%)

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

3
import com.box.sdkgen.serialization.json.EnumWrapper;
4
import java.util.List;
5

6
public class GetFolderItemsQueryParams {
7

8
  /**
9
   * A comma-separated list of attributes to include in the response. This can be used to request
10
   * fields that are not normally returned in a standard response.
11
   *
12
   * <p>Be aware that specifying this parameter will have the effect that none of the standard
13
   * fields are returned in the response unless explicitly specified, instead only fields for the
14
   * mini representation are returned, additional to the fields requested.
15
   *
16
   * <p>Additionally this field can be used to query any metadata applied to the file by specifying
17
   * the `metadata` field as well as the scope and key of the template to retrieve, for example
18
   * `?fields=metadata.enterprise_12345.contractTemplate`.
19
   */
20
  public List<String> fields;
21

22
  /**
23
   * Specifies whether to use marker-based pagination instead of offset-based pagination. Only one
24
   * pagination method can be used at a time.
25
   *
26
   * <p>By setting this value to true, the API will return a `marker` field that can be passed as a
27
   * parameter to this endpoint to get the next page of the response.
28
   */
29
  public Boolean usemarker;
30

31
  /**
32
   * Defines the position marker at which to begin returning results. This is used when paginating
33
   * using marker-based pagination.
34
   *
35
   * <p>This requires `usemarker` to be set to `true`.
36
   */
37
  public String marker;
38

39
  /**
40
   * The offset of the item at which to begin the response.
41
   *
42
   * <p>Offset-based pagination is not guaranteed to work reliably for high offset values and may
43
   * fail for large datasets. In those cases, use marker-based pagination by setting `usemarker` to
44
   * `true`.
45
   */
46
  public Long offset;
47

48
  /** The maximum number of items to return per page. */
49
  public Long limit;
50

51
  /**
52
   * Defines the **second** attribute by which items are sorted.
53
   *
54
   * <p>The folder type affects the way the items are sorted:
55
   *
56
   * <p>* **Standard folder**: Items are always sorted by their `type` first, with folders listed
57
   * before files, and files listed before web links.
58
   *
59
   * <p>* **Root folder**: This parameter is not supported for marker-based pagination on the root
60
   * folder
61
   *
62
   * <p>(the folder with an `id` of `0`).
63
   *
64
   * <p>* **Shared folder with parent path to the associated folder visible to the collaborator**:
65
   * Items are always sorted by their `type` first, with folders listed before files, and files
66
   * listed before web links.
67
   */
68
  public EnumWrapper<GetFolderItemsQueryParamsSortField> sort;
69

70
  /**
71
   * The direction to sort results in. This can be either in alphabetical ascending (`ASC`) or
72
   * descending (`DESC`) order.
73
   */
74
  public EnumWrapper<GetFolderItemsQueryParamsDirectionField> direction;
75

UNCOV
76
  public GetFolderItemsQueryParams() {}
×
77

78
  protected GetFolderItemsQueryParams(Builder builder) {
×
UNCOV
79
    this.fields = builder.fields;
×
80
    this.usemarker = builder.usemarker;
×
81
    this.marker = builder.marker;
×
82
    this.offset = builder.offset;
×
83
    this.limit = builder.limit;
×
84
    this.sort = builder.sort;
×
85
    this.direction = builder.direction;
×
86
  }
×
87

88
  public List<String> getFields() {
UNCOV
89
    return fields;
×
90
  }
91

92
  public Boolean getUsemarker() {
UNCOV
93
    return usemarker;
×
94
  }
95

96
  public String getMarker() {
UNCOV
97
    return marker;
×
98
  }
99

100
  public Long getOffset() {
UNCOV
101
    return offset;
×
102
  }
103

104
  public Long getLimit() {
UNCOV
105
    return limit;
×
106
  }
107

108
  public EnumWrapper<GetFolderItemsQueryParamsSortField> getSort() {
UNCOV
109
    return sort;
×
110
  }
111

112
  public EnumWrapper<GetFolderItemsQueryParamsDirectionField> getDirection() {
UNCOV
113
    return direction;
×
114
  }
115

UNCOV
116
  public static class Builder {
×
117

118
    protected List<String> fields;
119

120
    protected Boolean usemarker;
121

122
    protected String marker;
123

124
    protected Long offset;
125

126
    protected Long limit;
127

128
    protected EnumWrapper<GetFolderItemsQueryParamsSortField> sort;
129

130
    protected EnumWrapper<GetFolderItemsQueryParamsDirectionField> direction;
131

132
    public Builder fields(List<String> fields) {
UNCOV
133
      this.fields = fields;
×
UNCOV
134
      return this;
×
135
    }
136

137
    public Builder usemarker(Boolean usemarker) {
UNCOV
138
      this.usemarker = usemarker;
×
UNCOV
139
      return this;
×
140
    }
141

142
    public Builder marker(String marker) {
UNCOV
143
      this.marker = marker;
×
UNCOV
144
      return this;
×
145
    }
146

147
    public Builder offset(Long offset) {
UNCOV
148
      this.offset = offset;
×
UNCOV
149
      return this;
×
150
    }
151

152
    public Builder limit(Long limit) {
UNCOV
153
      this.limit = limit;
×
UNCOV
154
      return this;
×
155
    }
156

157
    public Builder sort(GetFolderItemsQueryParamsSortField sort) {
UNCOV
158
      this.sort = new EnumWrapper<GetFolderItemsQueryParamsSortField>(sort);
×
UNCOV
159
      return this;
×
160
    }
161

162
    public Builder sort(EnumWrapper<GetFolderItemsQueryParamsSortField> sort) {
UNCOV
163
      this.sort = sort;
×
UNCOV
164
      return this;
×
165
    }
166

167
    public Builder direction(GetFolderItemsQueryParamsDirectionField direction) {
UNCOV
168
      this.direction = new EnumWrapper<GetFolderItemsQueryParamsDirectionField>(direction);
×
UNCOV
169
      return this;
×
170
    }
171

172
    public Builder direction(EnumWrapper<GetFolderItemsQueryParamsDirectionField> direction) {
UNCOV
173
      this.direction = direction;
×
UNCOV
174
      return this;
×
175
    }
176

177
    public GetFolderItemsQueryParams build() {
UNCOV
178
      return new GetFolderItemsQueryParams(this);
×
179
    }
180
  }
181
}
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