Package ai.shipeasy.admin.model
Class UpdateOpsItemRequest
java.lang.Object
ai.shipeasy.admin.model.AbstractOpenApiSchema
ai.shipeasy.admin.model.UpdateOpsItemRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateOpsItemRequest
extends AbstractOpenApiSchema
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic UpdateOpsItemRequestCreate an instance of UpdateOpsItemRequest given an JSON stringGet the actual instance, which can be the following: UpdateBugRequest, UpdateFeatureRequestRequest, UpdateOpsItemStatusRequestGet the list of oneOf/anyOf composed schemas allowed to be stored in this objectGet the actual instance of `UpdateBugRequest`.Get the actual instance of `UpdateFeatureRequestRequest`.Get the actual instance of `UpdateOpsItemStatusRequest`.voidsetActualInstance(Object instance) Set the instance that matches the anyOf child schema, check the instance parameter is valid against the anyOf child schemas: UpdateBugRequest, UpdateFeatureRequestRequest, UpdateOpsItemStatusRequest It could be an instance of the 'anyOf' schemas.toJson()Convert an instance of UpdateOpsItemRequest 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
-
UpdateOpsItemRequest
public UpdateOpsItemRequest() -
UpdateOpsItemRequest
-
-
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 anyOf child schema, check the instance parameter is valid against the anyOf child schemas: UpdateBugRequest, UpdateFeatureRequestRequest, UpdateOpsItemStatusRequest It could be an instance of the 'anyOf' schemas.- Overrides:
setActualInstancein classAbstractOpenApiSchema- Parameters:
instance- the actual instance of the schema/object
-
getActualInstance
Get the actual instance, which can be the following: UpdateBugRequest, UpdateFeatureRequestRequest, UpdateOpsItemStatusRequest- Overrides:
getActualInstancein classAbstractOpenApiSchema- Returns:
- The actual instance (UpdateBugRequest, UpdateFeatureRequestRequest, UpdateOpsItemStatusRequest)
-
getUpdateBugRequest
Get the actual instance of `UpdateBugRequest`. If the actual instance is not `UpdateBugRequest`, the ClassCastException will be thrown.- Returns:
- The actual instance of `UpdateBugRequest`
- Throws:
ClassCastException- if the instance is not `UpdateBugRequest`
-
getUpdateFeatureRequestRequest
Get the actual instance of `UpdateFeatureRequestRequest`. If the actual instance is not `UpdateFeatureRequestRequest`, the ClassCastException will be thrown.- Returns:
- The actual instance of `UpdateFeatureRequestRequest`
- Throws:
ClassCastException- if the instance is not `UpdateFeatureRequestRequest`
-
getUpdateOpsItemStatusRequest
Get the actual instance of `UpdateOpsItemStatusRequest`. If the actual instance is not `UpdateOpsItemStatusRequest`, the ClassCastException will be thrown.- Returns:
- The actual instance of `UpdateOpsItemStatusRequest`
- Throws:
ClassCastException- if the instance is not `UpdateOpsItemStatusRequest`
-
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 UpdateOpsItemRequest
-
fromJson
Create an instance of UpdateOpsItemRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateOpsItemRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateOpsItemRequest
-
toJson
Convert an instance of UpdateOpsItemRequest to an JSON string- Returns:
- JSON string
-