@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen") public class AlipayCommerceCityfacilitatorVoucherRefundDefaultResponse extends AbstractOpenApiSchema
| 限定符和类型 | 类和说明 |
|---|---|
static class |
AlipayCommerceCityfacilitatorVoucherRefundDefaultResponse.CustomTypeAdapterFactory |
| 限定符和类型 | 方法和说明 |
|---|---|
static AlipayCommerceCityfacilitatorVoucherRefundDefaultResponse |
fromJson(String jsonString)
Create an instance of AlipayCommerceCityfacilitatorVoucherRefundDefaultResponse given an JSON string
|
Object |
getActualInstance()
Get the actual instance, which can be the following:
AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel, CommonErrorType
|
AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel |
getAlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel()
Get the actual instance of `AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel`.
|
CommonErrorType |
getCommonErrorType()
Get the actual instance of `CommonErrorType`.
|
Map<String,javax.ws.rs.core.GenericType> |
getSchemas()
Get the list of oneOf/anyOf composed schemas allowed to be stored in this object
|
void |
setActualInstance(Object instance)
Set the instance that matches the anyOf child schema, check
the instance parameter is valid against the anyOf child schemas:
AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel, CommonErrorType
It could be an instance of the 'anyOf' schemas.
|
String |
toJson()
Convert an instance of AlipayCommerceCityfacilitatorVoucherRefundDefaultResponse to an JSON string
|
static void |
validateJsonObject(com.google.gson.JsonObject jsonObj)
Validates the JSON Object and throws an exception if issues found
|
equals, getActualInstanceRecursively, getSchemaType, hashCode, isNullable, toStringpublic AlipayCommerceCityfacilitatorVoucherRefundDefaultResponse()
public AlipayCommerceCityfacilitatorVoucherRefundDefaultResponse(AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel o)
public AlipayCommerceCityfacilitatorVoucherRefundDefaultResponse(CommonErrorType o)
public Map<String,javax.ws.rs.core.GenericType> getSchemas()
AbstractOpenApiSchemagetSchemas 在类中 AbstractOpenApiSchemapublic void setActualInstance(Object instance)
setActualInstance 在类中 AbstractOpenApiSchemainstance - the actual instance of the schema/objectpublic Object getActualInstance()
getActualInstance 在类中 AbstractOpenApiSchemapublic AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel getAlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel() throws ClassCastException
ClassCastException - if the instance is not `AlipayCommerceCityfacilitatorVoucherRefundErrorResponseModel`public CommonErrorType getCommonErrorType() throws ClassCastException
ClassCastException - if the instance is not `CommonErrorType`public static void validateJsonObject(com.google.gson.JsonObject jsonObj)
throws IOException
jsonObj - JSON ObjectIOException - if the JSON Object is invalid with respect to AlipayCommerceCityfacilitatorVoucherRefundDefaultResponsepublic static AlipayCommerceCityfacilitatorVoucherRefundDefaultResponse fromJson(String jsonString) throws IOException
jsonString - JSON stringIOException - if the JSON string is invalid with respect to AlipayCommerceCityfacilitatorVoucherRefundDefaultResponsepublic String toJson()
Copyright © 2024. All rights reserved.