001package com.box.sdkgen.managers.legalholdpolicyassignments;
002
003import java.util.List;
004
005public class GetLegalHoldPolicyAssignmentFileOnHoldQueryParams {
006
007  /**
008   * Defines the position marker at which to begin returning results. This is used when paginating
009   * using marker-based pagination.
010   *
011   * <p>This requires `usemarker` to be set to `true`.
012   */
013  public String marker;
014
015  /** The maximum number of items to return per page. */
016  public Long limit;
017
018  /**
019   * A comma-separated list of attributes to include in the response. This can be used to request
020   * fields that are not normally returned in a standard response.
021   *
022   * <p>Be aware that specifying this parameter will have the effect that none of the standard
023   * fields are returned in the response unless explicitly specified, instead only fields for the
024   * mini representation are returned, additional to the fields requested.
025   */
026  public List<String> fields;
027
028  public GetLegalHoldPolicyAssignmentFileOnHoldQueryParams() {}
029
030  protected GetLegalHoldPolicyAssignmentFileOnHoldQueryParams(Builder builder) {
031    this.marker = builder.marker;
032    this.limit = builder.limit;
033    this.fields = builder.fields;
034  }
035
036  public String getMarker() {
037    return marker;
038  }
039
040  public Long getLimit() {
041    return limit;
042  }
043
044  public List<String> getFields() {
045    return fields;
046  }
047
048  public static class Builder {
049
050    protected String marker;
051
052    protected Long limit;
053
054    protected List<String> fields;
055
056    public Builder marker(String marker) {
057      this.marker = marker;
058      return this;
059    }
060
061    public Builder limit(Long limit) {
062      this.limit = limit;
063      return this;
064    }
065
066    public Builder fields(List<String> fields) {
067      this.fields = fields;
068      return this;
069    }
070
071    public GetLegalHoldPolicyAssignmentFileOnHoldQueryParams build() {
072      return new GetLegalHoldPolicyAssignmentFileOnHoldQueryParams(this);
073    }
074  }
075}