Package ai.shipeasy.admin.model
Class FireConnectorResponse
java.lang.Object
ai.shipeasy.admin.model.FireConnectorResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class FireConnectorResponse
extends Object
Result of a successful trigger fire: `{ ok: true }`. When the downstream dispatch fails the endpoint returns HTTP 502 (see the `Error` response), never `ok: false`.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic FireConnectorResponseCreate an instance of FireConnectorResponse given an JSON stringgetOk()Always `true` — a successful fire returns HTTP 200.inthashCode()voidtoJson()Convert an instance of FireConnectorResponse 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
-
FireConnectorResponse
public FireConnectorResponse()
-
-
Method Details
-
ok
-
getOk
Always `true` — a successful fire returns HTTP 200. A dispatch failure returns HTTP 502 with the `Error` envelope, not this body.- 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 FireConnectorResponse
-
fromJson
Create an instance of FireConnectorResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of FireConnectorResponse
- Throws:
IOException- if the JSON string is invalid with respect to FireConnectorResponse
-
toJson
Convert an instance of FireConnectorResponse to an JSON string- Returns:
- JSON string
-