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 String
baseType
String
code
String
containerType
List<CodegenContent>
contents
String
dataType
List<Map<String,Object>>
examples
List<CodegenProperty>
headers
String
jsonSchema
String
message
Object
schema
-
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 boolean
equals(Object o)
String
getBaseType()
String
getCode()
String
getContainerType()
List<CodegenContent>
getContents()
String
getDataType()
List<Map<String,Object>>
getExamples()
List<CodegenProperty>
getHeaders()
String
getJsonSchema()
String
getMessage()
Boolean
getPrimitiveType()
Object
getSchema()
Boolean
getSimpleType()
int
hashCode()
boolean
isWildcard()
String
toString()
-
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()
-
-