001package com.box.sdkgen.managers.metadatatemplates;
002
003public class GetEnterpriseMetadataTemplatesQueryParams {
004
005  /**
006   * Defines the position marker at which to begin returning results. This is used when paginating
007   * using marker-based pagination.
008   *
009   * <p>This requires `usemarker` to be set to `true`.
010   */
011  public String marker;
012
013  /** The maximum number of items to return per page. */
014  public Long limit;
015
016  public GetEnterpriseMetadataTemplatesQueryParams() {}
017
018  protected GetEnterpriseMetadataTemplatesQueryParams(Builder builder) {
019    this.marker = builder.marker;
020    this.limit = builder.limit;
021  }
022
023  public String getMarker() {
024    return marker;
025  }
026
027  public Long getLimit() {
028    return limit;
029  }
030
031  public static class Builder {
032
033    protected String marker;
034
035    protected Long limit;
036
037    public Builder marker(String marker) {
038      this.marker = marker;
039      return this;
040    }
041
042    public Builder limit(Long limit) {
043      this.limit = limit;
044      return this;
045    }
046
047    public GetEnterpriseMetadataTemplatesQueryParams build() {
048      return new GetEnterpriseMetadataTemplatesQueryParams(this);
049    }
050  }
051}