001package com.box.sdkgen.managers.aistudio; 002 003import java.util.List; 004 005public class GetAiAgentsQueryParams { 006 007 /** 008 * The mode to filter the agent config to return. Possible values are: `ask`, `text_gen`, and 009 * `extract`. 010 */ 011 public List<String> mode; 012 013 /** The fields to return in the response. */ 014 public List<String> fields; 015 016 /** 017 * The state of the agents to return. Possible values are: `enabled`, `disabled` and 018 * `enabled_for_selected_users`. 019 */ 020 public List<String> agentState; 021 022 /** Whether to include the Box default agents in the response. */ 023 public Boolean includeBoxDefault; 024 025 /** Defines the position marker at which to begin returning results. */ 026 public String marker; 027 028 /** The maximum number of items to return per page. */ 029 public Long limit; 030 031 public GetAiAgentsQueryParams() {} 032 033 protected GetAiAgentsQueryParams(Builder builder) { 034 this.mode = builder.mode; 035 this.fields = builder.fields; 036 this.agentState = builder.agentState; 037 this.includeBoxDefault = builder.includeBoxDefault; 038 this.marker = builder.marker; 039 this.limit = builder.limit; 040 } 041 042 public List<String> getMode() { 043 return mode; 044 } 045 046 public List<String> getFields() { 047 return fields; 048 } 049 050 public List<String> getAgentState() { 051 return agentState; 052 } 053 054 public Boolean getIncludeBoxDefault() { 055 return includeBoxDefault; 056 } 057 058 public String getMarker() { 059 return marker; 060 } 061 062 public Long getLimit() { 063 return limit; 064 } 065 066 public static class Builder { 067 068 protected List<String> mode; 069 070 protected List<String> fields; 071 072 protected List<String> agentState; 073 074 protected Boolean includeBoxDefault; 075 076 protected String marker; 077 078 protected Long limit; 079 080 public Builder mode(List<String> mode) { 081 this.mode = mode; 082 return this; 083 } 084 085 public Builder fields(List<String> fields) { 086 this.fields = fields; 087 return this; 088 } 089 090 public Builder agentState(List<String> agentState) { 091 this.agentState = agentState; 092 return this; 093 } 094 095 public Builder includeBoxDefault(Boolean includeBoxDefault) { 096 this.includeBoxDefault = includeBoxDefault; 097 return this; 098 } 099 100 public Builder marker(String marker) { 101 this.marker = marker; 102 return this; 103 } 104 105 public Builder limit(Long limit) { 106 this.limit = limit; 107 return this; 108 } 109 110 public GetAiAgentsQueryParams build() { 111 return new GetAiAgentsQueryParams(this); 112 } 113 } 114}