3535 value = "org.openapitools.codegen.languages.JavaClientCodegen" ,
3636 comments = "Generator version: 7.15.0" )
3737public class GetQuotaResponse {
38+ public static final String SERIALIZED_NAME_MAX_CREDENTIALS = "maxCredentials" ;
39+
40+ @ SerializedName (SERIALIZED_NAME_MAX_CREDENTIALS )
41+ @ javax .annotation .Nullable private Integer maxCredentials ;
42+
3843 public static final String SERIALIZED_NAME_MAX_LOAD_BALANCERS = "maxLoadBalancers" ;
3944
4045 @ SerializedName (SERIALIZED_NAME_MAX_LOAD_BALANCERS )
@@ -50,6 +55,16 @@ public class GetQuotaResponse {
5055 @ SerializedName (SERIALIZED_NAME_REGION )
5156 @ javax .annotation .Nullable private String region ;
5257
58+ public static final String SERIALIZED_NAME_USED_CREDENTIALS = "usedCredentials" ;
59+
60+ @ SerializedName (SERIALIZED_NAME_USED_CREDENTIALS )
61+ @ javax .annotation .Nullable private Integer usedCredentials ;
62+
63+ public static final String SERIALIZED_NAME_USED_LOAD_BALANCERS = "usedLoadBalancers" ;
64+
65+ @ SerializedName (SERIALIZED_NAME_USED_LOAD_BALANCERS )
66+ @ javax .annotation .Nullable private Integer usedLoadBalancers ;
67+
5368 public GetQuotaResponse () {}
5469
5570 public GetQuotaResponse (UUID projectId , String region ) {
@@ -58,6 +73,25 @@ public GetQuotaResponse(UUID projectId, String region) {
5873 this .region = region ;
5974 }
6075
76+ public GetQuotaResponse maxCredentials (@ javax .annotation .Nullable Integer maxCredentials ) {
77+ this .maxCredentials = maxCredentials ;
78+ return this ;
79+ }
80+
81+ /**
82+ * The maximum number of observability credentials that can be stored in this project. minimum:
83+ * -1 maximum: 999
84+ *
85+ * @return maxCredentials
86+ */
87+ @ javax .annotation .Nullable public Integer getMaxCredentials () {
88+ return maxCredentials ;
89+ }
90+
91+ public void setMaxCredentials (@ javax .annotation .Nullable Integer maxCredentials ) {
92+ this .maxCredentials = maxCredentials ;
93+ }
94+
6195 public GetQuotaResponse maxLoadBalancers (@ javax .annotation .Nullable Integer maxLoadBalancers ) {
6296 this .maxLoadBalancers = maxLoadBalancers ;
6397 return this ;
@@ -95,6 +129,45 @@ public void setMaxLoadBalancers(@javax.annotation.Nullable Integer maxLoadBalanc
95129 return region ;
96130 }
97131
132+ public GetQuotaResponse usedCredentials (@ javax .annotation .Nullable Integer usedCredentials ) {
133+ this .usedCredentials = usedCredentials ;
134+ return this ;
135+ }
136+
137+ /**
138+ * The number of observability credentials that are currently existing in this project. minimum:
139+ * -1 maximum: 1000000
140+ *
141+ * @return usedCredentials
142+ */
143+ @ javax .annotation .Nullable public Integer getUsedCredentials () {
144+ return usedCredentials ;
145+ }
146+
147+ public void setUsedCredentials (@ javax .annotation .Nullable Integer usedCredentials ) {
148+ this .usedCredentials = usedCredentials ;
149+ }
150+
151+ public GetQuotaResponse usedLoadBalancers (
152+ @ javax .annotation .Nullable Integer usedLoadBalancers ) {
153+ this .usedLoadBalancers = usedLoadBalancers ;
154+ return this ;
155+ }
156+
157+ /**
158+ * The number of load balancing servers that are currently existing in this project. minimum: -1
159+ * maximum: 1000000
160+ *
161+ * @return usedLoadBalancers
162+ */
163+ @ javax .annotation .Nullable public Integer getUsedLoadBalancers () {
164+ return usedLoadBalancers ;
165+ }
166+
167+ public void setUsedLoadBalancers (@ javax .annotation .Nullable Integer usedLoadBalancers ) {
168+ this .usedLoadBalancers = usedLoadBalancers ;
169+ }
170+
98171 @ Override
99172 public boolean equals (Object o ) {
100173 if (this == o ) {
@@ -104,23 +177,37 @@ public boolean equals(Object o) {
104177 return false ;
105178 }
106179 GetQuotaResponse getQuotaResponse = (GetQuotaResponse ) o ;
107- return Objects .equals (this .maxLoadBalancers , getQuotaResponse .maxLoadBalancers )
180+ return Objects .equals (this .maxCredentials , getQuotaResponse .maxCredentials )
181+ && Objects .equals (this .maxLoadBalancers , getQuotaResponse .maxLoadBalancers )
108182 && Objects .equals (this .projectId , getQuotaResponse .projectId )
109- && Objects .equals (this .region , getQuotaResponse .region );
183+ && Objects .equals (this .region , getQuotaResponse .region )
184+ && Objects .equals (this .usedCredentials , getQuotaResponse .usedCredentials )
185+ && Objects .equals (this .usedLoadBalancers , getQuotaResponse .usedLoadBalancers );
110186 }
111187
112188 @ Override
113189 public int hashCode () {
114- return Objects .hash (maxLoadBalancers , projectId , region );
190+ return Objects .hash (
191+ maxCredentials ,
192+ maxLoadBalancers ,
193+ projectId ,
194+ region ,
195+ usedCredentials ,
196+ usedLoadBalancers );
115197 }
116198
117199 @ Override
118200 public String toString () {
119201 StringBuilder sb = new StringBuilder ();
120202 sb .append ("class GetQuotaResponse {\n " );
203+ sb .append (" maxCredentials: " ).append (toIndentedString (maxCredentials )).append ("\n " );
121204 sb .append (" maxLoadBalancers: " ).append (toIndentedString (maxLoadBalancers )).append ("\n " );
122205 sb .append (" projectId: " ).append (toIndentedString (projectId )).append ("\n " );
123206 sb .append (" region: " ).append (toIndentedString (region )).append ("\n " );
207+ sb .append (" usedCredentials: " ).append (toIndentedString (usedCredentials )).append ("\n " );
208+ sb .append (" usedLoadBalancers: " )
209+ .append (toIndentedString (usedLoadBalancers ))
210+ .append ("\n " );
124211 sb .append ("}" );
125212 return sb .toString ();
126213 }
@@ -142,7 +229,14 @@ private String toIndentedString(Object o) {
142229 static {
143230 // a set of all properties/fields (JSON key names)
144231 openapiFields =
145- new HashSet <String >(Arrays .asList ("maxLoadBalancers" , "projectId" , "region" ));
232+ new HashSet <String >(
233+ Arrays .asList (
234+ "maxCredentials" ,
235+ "maxLoadBalancers" ,
236+ "projectId" ,
237+ "region" ,
238+ "usedCredentials" ,
239+ "usedLoadBalancers" ));
146240
147241 // a set of required properties/fields (JSON key names)
148242 openapiRequiredFields = new HashSet <String >(0 );
0 commit comments