001package com.box.sdkgen.managers.usercollaborations; 002 003import java.util.List; 004 005public class CreateCollaborationQueryParams { 006 007 /** 008 * A comma-separated list of attributes to include in the response. This can be used to request 009 * fields that are not normally returned in a standard response. 010 * 011 * <p>Be aware that specifying this parameter will have the effect that none of the standard 012 * fields are returned in the response unless explicitly specified, instead only fields for the 013 * mini representation are returned, additional to the fields requested. 014 */ 015 public List<String> fields; 016 017 /** Determines if users should receive email notification for the action performed. */ 018 public Boolean notify; 019 020 public CreateCollaborationQueryParams() {} 021 022 protected CreateCollaborationQueryParams(Builder builder) { 023 this.fields = builder.fields; 024 this.notify = builder.notify; 025 } 026 027 public List<String> getFields() { 028 return fields; 029 } 030 031 public Boolean getNotify() { 032 return notify; 033 } 034 035 public static class Builder { 036 037 protected List<String> fields; 038 039 protected Boolean notify; 040 041 public Builder fields(List<String> fields) { 042 this.fields = fields; 043 return this; 044 } 045 046 public Builder notify(Boolean notify) { 047 this.notify = notify; 048 return this; 049 } 050 051 public CreateCollaborationQueryParams build() { 052 return new CreateCollaborationQueryParams(this); 053 } 054 } 055}