Package io.swagger.codegen.v3
Class CodegenResponse
- java.lang.Object
-
- io.swagger.codegen.v3.CodegenObject
-
- io.swagger.codegen.v3.CodegenResponse
-
- All Implemented Interfaces:
VendorExtendable
public class CodegenResponse extends CodegenObject
-
-
Field Summary
Fields Modifier and Type Field Description StringbaseTypeStringcodeStringcontainerTypeList<CodegenContent>contentsStringdataTypeList<Map<String,Object>>examplesList<CodegenProperty>headersStringjsonSchemaStringmessageObjectschema-
Fields inherited from class io.swagger.codegen.v3.CodegenObject
vendorExtensions
-
Fields inherited from interface io.swagger.codegen.v3.VendorExtendable
PREFIX_HAS, PREFIX_IS
-
-
Constructor Summary
Constructors Constructor Description CodegenResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetBaseType()StringgetCode()StringgetContainerType()List<CodegenContent>getContents()StringgetDataType()List<Map<String,Object>>getExamples()List<CodegenProperty>getHeaders()StringgetJsonSchema()StringgetMessage()BooleangetPrimitiveType()ObjectgetSchema()BooleangetSimpleType()inthashCode()booleanisWildcard()StringtoString()-
Methods inherited from class io.swagger.codegen.v3.CodegenObject
getBooleanValue, getHasHeaders, getHasInnerObject, getHasMore, getIsAlias, getIsArrayModel, getIsBinary, getIsBoolean, getIsByteArray, getIsCollectionFormatMulti, getIsContainer, getIsDate, getIsDateTime, getIsDefault, getIsDouble, getIsEnum, getIsFile, getIsFloat, getIsInteger, getIsListContainer, getIsLong, getIsMapContainer, getIsMultipart, getIsNotContainer, getIsNullable, getIsNumber, getIsNumeric, getIsObject, getIsPrimitiveType, getIsReadOnly, getIsResponseBinary, getIsResponseFile, getIsString, getIsUuid, getVendorExtensions, setVendorExtensions
-
-
-
-
Field Detail
-
headers
public final List<CodegenProperty> headers
-
code
public String code
-
message
public String message
-
contents
public List<CodegenContent> contents
-
dataType
public String dataType
-
baseType
public String baseType
-
containerType
public String containerType
-
schema
public Object schema
-
jsonSchema
public String jsonSchema
-
-
Method Detail
-
isWildcard
public boolean isWildcard()
-
getSimpleType
public Boolean getSimpleType()
-
getPrimitiveType
public Boolean getPrimitiveType()
-
getHeaders
public List<CodegenProperty> getHeaders()
-
getCode
public String getCode()
-
getMessage
public String getMessage()
-
getDataType
public String getDataType()
-
getBaseType
public String getBaseType()
-
getContainerType
public String getContainerType()
-
getSchema
public Object getSchema()
-
getJsonSchema
public String getJsonSchema()
-
getContents
public List<CodegenContent> getContents()
-
-