public abstract class APITypeModel extends Object
| Modifier and Type | Field and Description |
|---|---|
protected APIType |
apiType |
protected APITypeSchemaModel |
APITypeSchemaModel |
protected String |
description |
protected String |
displayName |
protected List<String> |
enumValues |
protected String |
example |
protected APITypeModel |
innerType |
protected javax.ws.rs.core.MediaType |
mediaType |
protected List<APIParameterModel> |
parts |
protected APIPrimitiveTypeModel |
primitiveTypeModel |
protected Boolean |
required |
protected List<APITypeModel> |
unionTypes |
| Modifier | Constructor and Description |
|---|---|
protected |
APITypeModel() |
protected |
APITypeModel(APIPrimitiveTypeModel primitiveTypeModel) |
| Modifier and Type | Method and Description |
|---|---|
APIType |
getApiType() |
APITypeSchemaModel |
getAPITypeSchemaModel() |
String |
getDescription() |
String |
getDisplayName() |
List<String> |
getEnumValues() |
String |
getExample() |
APITypeModel |
getInnerType() |
abstract APILocation |
getLocation()
Retrieves the location in the API Spec this element was parsed from.
|
javax.ws.rs.core.MediaType |
getMediaType() |
protected javax.ws.rs.core.MediaType |
getMediaTypeForStringOrNull(String mediaType) |
abstract Map<String,APITypeModel> |
getObjectProperties()
Retrieves the types of the properties of an object.
|
List<APIParameterModel> |
getParts() |
APIPrimitiveTypeModel |
getPrimitiveTypeModel() |
List<APITypeModel> |
getUnionTypes() |
Boolean |
isRequired() |
protected APIType apiType
protected javax.ws.rs.core.MediaType mediaType
protected String example
protected APITypeSchemaModel APITypeSchemaModel
protected APIPrimitiveTypeModel primitiveTypeModel
protected List<APIParameterModel> parts
protected APITypeModel innerType
protected List<APITypeModel> unionTypes
protected String displayName
protected String description
protected Boolean required
protected APITypeModel()
protected APITypeModel(APIPrimitiveTypeModel primitiveTypeModel)
protected javax.ws.rs.core.MediaType getMediaTypeForStringOrNull(String mediaType)
public APIType getApiType()
public javax.ws.rs.core.MediaType getMediaType()
public String getExample()
public APITypeSchemaModel getAPITypeSchemaModel()
public APIPrimitiveTypeModel getPrimitiveTypeModel()
public List<APIParameterModel> getParts()
public APITypeModel getInnerType()
public List<APITypeModel> getUnionTypes()
public String getDisplayName()
public String getDescription()
public Boolean isRequired()
public abstract Map<String,APITypeModel> getObjectProperties()
public abstract APILocation getLocation()
Copyright © 2023. All rights reserved.