Package ai.shipeasy.admin.model
Class UpdateTriggerConnectorRequest
java.lang.Object
ai.shipeasy.admin.model.AbstractOpenApiSchema
ai.shipeasy.admin.model.UpdateTriggerConnectorRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateTriggerConnectorRequest
extends AbstractOpenApiSchema
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCreate an instance of UpdateTriggerConnectorRequest given an JSON stringGet the actual instance, which can be the following: UpdateClaudeTriggerRequest, UpdateCopilotTriggerRequest, UpdateCursorTriggerRequest, UpdateJulesTriggerRequestGet the list of oneOf/anyOf composed schemas allowed to be stored in this objectGet the actual instance of `UpdateClaudeTriggerRequest`.Get the actual instance of `UpdateCopilotTriggerRequest`.Get the actual instance of `UpdateCursorTriggerRequest`.Get the actual instance of `UpdateJulesTriggerRequest`.voidsetActualInstance(Object instance) Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: UpdateClaudeTriggerRequest, UpdateCopilotTriggerRequest, UpdateCursorTriggerRequest, UpdateJulesTriggerRequest It could be an instance of the 'oneOf' schemas.toJson()Convert an instance of UpdateTriggerConnectorRequest to an JSON stringstatic voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues foundMethods inherited from class ai.shipeasy.admin.model.AbstractOpenApiSchema
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toString
-
Field Details
-
schemas
-
-
Constructor Details
-
UpdateTriggerConnectorRequest
public UpdateTriggerConnectorRequest() -
UpdateTriggerConnectorRequest
-
-
Method Details
-
getSchemas
Description copied from class:AbstractOpenApiSchemaGet the list of oneOf/anyOf composed schemas allowed to be stored in this object- Specified by:
getSchemasin classAbstractOpenApiSchema- Returns:
- an instance of the actual schema/object
-
setActualInstance
Set the instance that matches the oneOf child schema, check the instance parameter is valid against the oneOf child schemas: UpdateClaudeTriggerRequest, UpdateCopilotTriggerRequest, UpdateCursorTriggerRequest, UpdateJulesTriggerRequest It could be an instance of the 'oneOf' schemas.- Overrides:
setActualInstancein classAbstractOpenApiSchema- Parameters:
instance- the actual instance of the schema/object
-
getActualInstance
Get the actual instance, which can be the following: UpdateClaudeTriggerRequest, UpdateCopilotTriggerRequest, UpdateCursorTriggerRequest, UpdateJulesTriggerRequest- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (UpdateClaudeTriggerRequest, UpdateCopilotTriggerRequest, UpdateCursorTriggerRequest, UpdateJulesTriggerRequest)
-
getUpdateClaudeTriggerRequest
Get the actual instance of `UpdateClaudeTriggerRequest`. If the actual instance is not `UpdateClaudeTriggerRequest`, the ClassCastException will be thrown.- Returns:
- The actual instance of `UpdateClaudeTriggerRequest`
- Throws:
ClassCastException- if the instance is not `UpdateClaudeTriggerRequest`
-
getUpdateCursorTriggerRequest
Get the actual instance of `UpdateCursorTriggerRequest`. If the actual instance is not `UpdateCursorTriggerRequest`, the ClassCastException will be thrown.- Returns:
- The actual instance of `UpdateCursorTriggerRequest`
- Throws:
ClassCastException- if the instance is not `UpdateCursorTriggerRequest`
-
getUpdateCopilotTriggerRequest
Get the actual instance of `UpdateCopilotTriggerRequest`. If the actual instance is not `UpdateCopilotTriggerRequest`, the ClassCastException will be thrown.- Returns:
- The actual instance of `UpdateCopilotTriggerRequest`
- Throws:
ClassCastException- if the instance is not `UpdateCopilotTriggerRequest`
-
getUpdateJulesTriggerRequest
Get the actual instance of `UpdateJulesTriggerRequest`. If the actual instance is not `UpdateJulesTriggerRequest`, the ClassCastException will be thrown.- Returns:
- The actual instance of `UpdateJulesTriggerRequest`
- Throws:
ClassCastException- if the instance is not `UpdateJulesTriggerRequest`
-
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 UpdateTriggerConnectorRequest
-
fromJson
Create an instance of UpdateTriggerConnectorRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateTriggerConnectorRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateTriggerConnectorRequest
-
toJson
Convert an instance of UpdateTriggerConnectorRequest to an JSON string- Returns:
- JSON string
-