• 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/GetFolderByIdQueryParams.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 GetFolderByIdQueryParams {
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
   * Defines the **second** attribute by which items are sorted.
24
   *
25
   * <p>The folder type affects the way the items are sorted:
26
   *
27
   * <p>* **Standard folder**: Items are always sorted by their `type` first, with folders listed
28
   * before files, and files listed before web links.
29
   *
30
   * <p>* **Root folder**: This parameter is not supported for marker-based pagination on the root
31
   * folder
32
   *
33
   * <p>(the folder with an `id` of `0`).
34
   *
35
   * <p>* **Shared folder with parent path to the associated folder visible to the collaborator**:
36
   * Items are always sorted by their `type` first, with folders listed before files, and files
37
   * listed before web links.
38
   */
39
  public EnumWrapper<GetFolderByIdQueryParamsSortField> sort;
40

41
  /**
42
   * The direction to sort results in. This can be either in alphabetical ascending (`ASC`) or
43
   * descending (`DESC`) order.
44
   */
45
  public EnumWrapper<GetFolderByIdQueryParamsDirectionField> direction;
46

47
  /**
48
   * The offset of the item at which to begin the response.
49
   *
50
   * <p>Offset-based pagination is not guaranteed to work reliably for high offset values and may
51
   * fail for large datasets. In those cases, reduce the number of items in the folder (for example,
52
   * by restructuring the folder into smaller subfolders) before retrying the request.
53
   */
54
  public Long offset;
55

56
  /** The maximum number of items to return per page. */
57
  public Long limit;
58

UNCOV
59
  public GetFolderByIdQueryParams() {}
×
60

61
  protected GetFolderByIdQueryParams(Builder builder) {
×
UNCOV
62
    this.fields = builder.fields;
×
63
    this.sort = builder.sort;
×
64
    this.direction = builder.direction;
×
65
    this.offset = builder.offset;
×
66
    this.limit = builder.limit;
×
67
  }
×
68

69
  public List<String> getFields() {
UNCOV
70
    return fields;
×
71
  }
72

73
  public EnumWrapper<GetFolderByIdQueryParamsSortField> getSort() {
UNCOV
74
    return sort;
×
75
  }
76

77
  public EnumWrapper<GetFolderByIdQueryParamsDirectionField> getDirection() {
UNCOV
78
    return direction;
×
79
  }
80

81
  public Long getOffset() {
UNCOV
82
    return offset;
×
83
  }
84

85
  public Long getLimit() {
UNCOV
86
    return limit;
×
87
  }
88

UNCOV
89
  public static class Builder {
×
90

91
    protected List<String> fields;
92

93
    protected EnumWrapper<GetFolderByIdQueryParamsSortField> sort;
94

95
    protected EnumWrapper<GetFolderByIdQueryParamsDirectionField> direction;
96

97
    protected Long offset;
98

99
    protected Long limit;
100

101
    public Builder fields(List<String> fields) {
UNCOV
102
      this.fields = fields;
×
UNCOV
103
      return this;
×
104
    }
105

106
    public Builder sort(GetFolderByIdQueryParamsSortField sort) {
UNCOV
107
      this.sort = new EnumWrapper<GetFolderByIdQueryParamsSortField>(sort);
×
UNCOV
108
      return this;
×
109
    }
110

111
    public Builder sort(EnumWrapper<GetFolderByIdQueryParamsSortField> sort) {
UNCOV
112
      this.sort = sort;
×
UNCOV
113
      return this;
×
114
    }
115

116
    public Builder direction(GetFolderByIdQueryParamsDirectionField direction) {
UNCOV
117
      this.direction = new EnumWrapper<GetFolderByIdQueryParamsDirectionField>(direction);
×
UNCOV
118
      return this;
×
119
    }
120

121
    public Builder direction(EnumWrapper<GetFolderByIdQueryParamsDirectionField> direction) {
UNCOV
122
      this.direction = direction;
×
UNCOV
123
      return this;
×
124
    }
125

126
    public Builder offset(Long offset) {
UNCOV
127
      this.offset = offset;
×
UNCOV
128
      return this;
×
129
    }
130

131
    public Builder limit(Long limit) {
UNCOV
132
      this.limit = limit;
×
UNCOV
133
      return this;
×
134
    }
135

136
    public GetFolderByIdQueryParams build() {
UNCOV
137
      return new GetFolderByIdQueryParams(this);
×
138
    }
139
  }
140
}
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