001package com.box.sdkgen.managers.chunkeduploads;
002
003public class GetFileUploadSessionPartsByUrlQueryParams {
004
005  /**
006   * The offset of the item at which to begin the response.
007   *
008   * <p>Queries with offset parameter value exceeding 10000 will be rejected with a 400 response.
009   */
010  public Long offset;
011
012  /** The maximum number of items to return per page. */
013  public Long limit;
014
015  public GetFileUploadSessionPartsByUrlQueryParams() {}
016
017  protected GetFileUploadSessionPartsByUrlQueryParams(Builder builder) {
018    this.offset = builder.offset;
019    this.limit = builder.limit;
020  }
021
022  public Long getOffset() {
023    return offset;
024  }
025
026  public Long getLimit() {
027    return limit;
028  }
029
030  public static class Builder {
031
032    protected Long offset;
033
034    protected Long limit;
035
036    public Builder offset(Long offset) {
037      this.offset = offset;
038      return this;
039    }
040
041    public Builder limit(Long limit) {
042      this.limit = limit;
043      return this;
044    }
045
046    public GetFileUploadSessionPartsByUrlQueryParams build() {
047      return new GetFileUploadSessionPartsByUrlQueryParams(this);
048    }
049  }
050}