2323import javax .annotation .Nonnull ;
2424import javax .annotation .Nullable ;
2525
26- /** InlineObject2 */
26+ /** AiBadRequest */
2727// CHECKSTYLE:OFF
28- public class InlineObject2
28+ public class AiBadRequest
2929// CHECKSTYLE:ON
3030{
3131 @ JsonProperty ("error" )
@@ -34,42 +34,42 @@ public class InlineObject2
3434 @ JsonAnySetter @ JsonAnyGetter
3535 private final Map <String , Object > cloudSdkCustomFields = new LinkedHashMap <>();
3636
37- /** Default constructor for InlineObject2 . */
38- protected InlineObject2 () {}
37+ /** Default constructor for AiBadRequest . */
38+ protected AiBadRequest () {}
3939
4040 /**
41- * Set the error of this {@link InlineObject2 } instance and return the same instance.
41+ * Set the error of this {@link AiBadRequest } instance and return the same instance.
4242 *
43- * @param error The error of this {@link InlineObject2 }
44- * @return The same instance of this {@link InlineObject2 } class
43+ * @param error The error of this {@link AiBadRequest }
44+ * @return The same instance of this {@link AiBadRequest } class
4545 */
4646 @ Nonnull
47- public InlineObject2 error (@ Nullable final AiApiError error ) {
47+ public AiBadRequest error (@ Nullable final AiApiError error ) {
4848 this .error = error ;
4949 return this ;
5050 }
5151
5252 /**
5353 * Get error
5454 *
55- * @return error The error of this {@link InlineObject2 } instance.
55+ * @return error The error of this {@link AiBadRequest } instance.
5656 */
5757 @ Nonnull
5858 public AiApiError getError () {
5959 return error ;
6060 }
6161
6262 /**
63- * Set the error of this {@link InlineObject2 } instance.
63+ * Set the error of this {@link AiBadRequest } instance.
6464 *
65- * @param error The error of this {@link InlineObject2 }
65+ * @param error The error of this {@link AiBadRequest }
6666 */
6767 public void setError (@ Nullable final AiApiError error ) {
6868 this .error = error ;
6969 }
7070
7171 /**
72- * Get the names of the unrecognizable properties of the {@link InlineObject2 }.
72+ * Get the names of the unrecognizable properties of the {@link AiBadRequest }.
7373 *
7474 * @return The set of properties names
7575 */
@@ -80,7 +80,7 @@ public Set<String> getCustomFieldNames() {
8080 }
8181
8282 /**
83- * Get the value of an unrecognizable property of this {@link InlineObject2 } instance.
83+ * Get the value of an unrecognizable property of this {@link AiBadRequest } instance.
8484 *
8585 * @deprecated Use {@link #toMap()} instead.
8686 * @param name The name of the property
@@ -91,13 +91,13 @@ public Set<String> getCustomFieldNames() {
9191 @ Deprecated
9292 public Object getCustomField (@ Nonnull final String name ) throws NoSuchElementException {
9393 if (!cloudSdkCustomFields .containsKey (name )) {
94- throw new NoSuchElementException ("InlineObject2 has no field with name '" + name + "'." );
94+ throw new NoSuchElementException ("AiBadRequest has no field with name '" + name + "'." );
9595 }
9696 return cloudSdkCustomFields .get (name );
9797 }
9898
9999 /**
100- * Get the value of all properties of this {@link InlineObject2 } instance including unrecognized
100+ * Get the value of all properties of this {@link AiBadRequest } instance including unrecognized
101101 * properties.
102102 *
103103 * @return The map of all properties
@@ -111,7 +111,7 @@ public Map<String, Object> toMap() {
111111 }
112112
113113 /**
114- * Set an unrecognizable property of this {@link InlineObject2 } instance. If the map previously
114+ * Set an unrecognizable property of this {@link AiBadRequest } instance. If the map previously
115115 * contained a mapping for the key, the old value is replaced by the specified value.
116116 *
117117 * @param customFieldName The name of the property
@@ -130,9 +130,9 @@ public boolean equals(@Nullable final java.lang.Object o) {
130130 if (o == null || getClass () != o .getClass ()) {
131131 return false ;
132132 }
133- final InlineObject2 inlineObject2 = (InlineObject2 ) o ;
134- return Objects .equals (this .cloudSdkCustomFields , inlineObject2 .cloudSdkCustomFields )
135- && Objects .equals (this .error , inlineObject2 .error );
133+ final AiBadRequest aiBadRequest = (AiBadRequest ) o ;
134+ return Objects .equals (this .cloudSdkCustomFields , aiBadRequest .cloudSdkCustomFields )
135+ && Objects .equals (this .error , aiBadRequest .error );
136136 }
137137
138138 @ Override
@@ -144,7 +144,7 @@ public int hashCode() {
144144 @ Nonnull
145145 public String toString () {
146146 final StringBuilder sb = new StringBuilder ();
147- sb .append ("class InlineObject2 {\n " );
147+ sb .append ("class AiBadRequest {\n " );
148148 sb .append (" error: " ).append (toIndentedString (error )).append ("\n " );
149149 cloudSdkCustomFields .forEach (
150150 (k , v ) ->
@@ -163,8 +163,8 @@ private String toIndentedString(final java.lang.Object o) {
163163 return o .toString ().replace ("\n " , "\n " );
164164 }
165165
166- /** Create a new {@link InlineObject2 } instance. No arguments are required. */
167- public static InlineObject2 create () {
168- return new InlineObject2 ();
166+ /** Create a new {@link AiBadRequest } instance. No arguments are required. */
167+ public static AiBadRequest create () {
168+ return new AiBadRequest ();
169169 }
170170}
0 commit comments