001package com.box.sdkgen.managers.termsofservices; 002 003import com.box.sdkgen.serialization.json.EnumWrapper; 004 005public class GetTermsOfServiceQueryParams { 006 007 /** Limits the results to the terms of service of the given type. */ 008 public EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField> tosType; 009 010 public GetTermsOfServiceQueryParams() {} 011 012 protected GetTermsOfServiceQueryParams(Builder builder) { 013 this.tosType = builder.tosType; 014 } 015 016 public EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField> getTosType() { 017 return tosType; 018 } 019 020 public static class Builder { 021 022 protected EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField> tosType; 023 024 public Builder tosType(GetTermsOfServiceQueryParamsTosTypeField tosType) { 025 this.tosType = new EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField>(tosType); 026 return this; 027 } 028 029 public Builder tosType(EnumWrapper<GetTermsOfServiceQueryParamsTosTypeField> tosType) { 030 this.tosType = tosType; 031 return this; 032 } 033 034 public GetTermsOfServiceQueryParams build() { 035 return new GetTermsOfServiceQueryParams(this); 036 } 037 } 038}