001package com.box.sdkgen.managers.termsofserviceuserstatuses; 002 003public class GetTermsOfServiceUserStatusesQueryParams { 004 005 /** The ID of the terms of service. */ 006 public final String tosId; 007 008 /** Limits results to the given user ID. */ 009 public String userId; 010 011 public GetTermsOfServiceUserStatusesQueryParams(String tosId) { 012 this.tosId = tosId; 013 } 014 015 protected GetTermsOfServiceUserStatusesQueryParams(Builder builder) { 016 this.tosId = builder.tosId; 017 this.userId = builder.userId; 018 } 019 020 public String getTosId() { 021 return tosId; 022 } 023 024 public String getUserId() { 025 return userId; 026 } 027 028 public static class Builder { 029 030 protected final String tosId; 031 032 protected String userId; 033 034 public Builder(String tosId) { 035 this.tosId = tosId; 036 } 037 038 public Builder userId(String userId) { 039 this.userId = userId; 040 return this; 041 } 042 043 public GetTermsOfServiceUserStatusesQueryParams build() { 044 return new GetTermsOfServiceUserStatusesQueryParams(this); 045 } 046 } 047}