Package ai.shipeasy.admin.model
Class DeleteAttributeResponse
java.lang.Object
ai.shipeasy.admin.model.DeleteAttributeResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class DeleteAttributeResponse
extends Object
Response for `DELETE /api/admin/attributes/{id}`.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic DeleteAttributeResponseCreate an instance of DeleteAttributeResponse given an JSON stringgetOk()True when the attribute was archived.inthashCode()voidtoJson()Convert an instance of DeleteAttributeResponse to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_OK
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
DeleteAttributeResponse
public DeleteAttributeResponse()
-
-
Method Details
-
ok
-
getOk
True when the attribute was archived.- Returns:
- ok
-
setOk
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to DeleteAttributeResponse
-
fromJson
Create an instance of DeleteAttributeResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of DeleteAttributeResponse
- Throws:
IOException- if the JSON string is invalid with respect to DeleteAttributeResponse
-
toJson
Convert an instance of DeleteAttributeResponse to an JSON string- Returns:
- JSON string
-