public class AMFTypeModel extends APITypeModel
APITypeModel.VisitorapiType, APITypeSchemaModel, description, displayName, enumValues, example, innerType, mediaType, parts, primitiveType, required, unionTypes| Constructor and Description |
|---|
AMFTypeModel(amf.shapes.client.platform.model.domain.AnyShape anyShape,
String mediaType,
boolean extractExample) |
AMFTypeModel(amf.shapes.client.platform.model.domain.AnyShape anyShape,
String mediaType,
Boolean required,
boolean extractExample) |
AMFTypeModel(APIPrimitiveType primitiveTypeModel) |
| Modifier and Type | Method and Description |
|---|---|
AMFTypeModel |
getInnerType() |
APILocation |
getLocation()
Retrieves the location in the API Spec this element was parsed from.
|
Map<String,APITypeModel> |
getObjectProperties()
Retrieves the types of the properties of an object.
|
List<APIParameterModel> |
getParts() |
List<APITypeModel> |
getUnionTypes() |
amf.core.client.platform.model.domain.Graph |
graph() |
accept, getApiType, getAPITypeSchemaModel, getDescription, getDisplayName, getEnumValues, getExample, getMediaType, getMediaTypeForStringOrNull, getPrimitiveType, isRequired, toStringpublic AMFTypeModel(APIPrimitiveType primitiveTypeModel)
public AMFTypeModel(amf.shapes.client.platform.model.domain.AnyShape anyShape,
String mediaType,
boolean extractExample)
public List<APIParameterModel> getParts()
getParts in class APITypeModelpublic AMFTypeModel getInnerType()
getInnerType in class APITypeModelpublic List<APITypeModel> getUnionTypes()
getUnionTypes in class APITypeModelpublic Map<String,APITypeModel> getObjectProperties()
APITypeModelgetObjectProperties in class APITypeModelpublic amf.core.client.platform.model.domain.Graph graph()
public APILocation getLocation()
APITypeModelgetLocation in class APITypeModelCopyright © 2023. All rights reserved.