Class OpenApi20OperationImpl
- java.lang.Object
-
- io.apicurio.datamodels.models.NodeImpl
-
- io.apicurio.datamodels.models.openapi.v20.OpenApi20OperationImpl
-
- All Implemented Interfaces:
Extensible,Node,OpenApiExtensible,OpenApiOperation,OpenApiParametersParent,OpenApiSecurityRequirementsParent,OpenApi20Extensible,OpenApi20Operation,OpenApi20ParametersParent,OpenApi20SecurityRequirementsParent,Operation,SecurityRequirementsParent,Visitable
public class OpenApi20OperationImpl extends NodeImpl implements OpenApi20Operation
-
-
Constructor Summary
Constructors Constructor Description OpenApi20OperationImpl()
-
Method Summary
-
Methods inherited from class io.apicurio.datamodels.models.NodeImpl
_setMapPropertyName, _setParentPropertyName, _setParentPropertyType, addExtraProperty, attach, clearNodeAttributes, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, isEntity, isEntityList, isEntityMap, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute, setParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.apicurio.datamodels.models.Node
addExtraProperty, attach, clearNodeAttributes, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute
-
-
-
-
Method Detail
-
getTags
public List<String> getTags()
- Specified by:
getTagsin interfaceOpenApiOperation
-
setTags
public void setTags(List<String> value)
- Specified by:
setTagsin interfaceOpenApiOperation
-
getSummary
public String getSummary()
- Specified by:
getSummaryin interfaceOperation
-
setSummary
public void setSummary(String value)
- Specified by:
setSummaryin interfaceOperation
-
getDescription
public String getDescription()
- Specified by:
getDescriptionin interfaceOperation
-
setDescription
public void setDescription(String value)
- Specified by:
setDescriptionin interfaceOperation
-
getExternalDocs
public ExternalDocumentation getExternalDocs()
- Specified by:
getExternalDocsin interfaceOperation
-
setExternalDocs
public void setExternalDocs(ExternalDocumentation value)
- Specified by:
setExternalDocsin interfaceOperation
-
createExternalDocumentation
public OpenApi20ExternalDocumentation createExternalDocumentation()
- Specified by:
createExternalDocumentationin interfaceOperation
-
getOperationId
public String getOperationId()
- Specified by:
getOperationIdin interfaceOpenApiOperation
-
setOperationId
public void setOperationId(String value)
- Specified by:
setOperationIdin interfaceOpenApiOperation
-
getConsumes
public List<String> getConsumes()
- Specified by:
getConsumesin interfaceOpenApi20Operation
-
setConsumes
public void setConsumes(List<String> value)
- Specified by:
setConsumesin interfaceOpenApi20Operation
-
getProduces
public List<String> getProduces()
- Specified by:
getProducesin interfaceOpenApi20Operation
-
setProduces
public void setProduces(List<String> value)
- Specified by:
setProducesin interfaceOpenApi20Operation
-
createParameter
public OpenApi20Parameter createParameter()
- Specified by:
createParameterin interfaceOpenApi20Operation- Specified by:
createParameterin interfaceOpenApiParametersParent
-
getParameters
public List<OpenApiParameter> getParameters()
- Specified by:
getParametersin interfaceOpenApi20Operation- Specified by:
getParametersin interfaceOpenApiParametersParent
-
addParameter
public void addParameter(OpenApiParameter value)
- Specified by:
addParameterin interfaceOpenApi20Operation- Specified by:
addParameterin interfaceOpenApiParametersParent
-
clearParameters
public void clearParameters()
- Specified by:
clearParametersin interfaceOpenApi20Operation- Specified by:
clearParametersin interfaceOpenApiParametersParent
-
removeParameter
public void removeParameter(OpenApiParameter value)
- Specified by:
removeParameterin interfaceOpenApi20Operation- Specified by:
removeParameterin interfaceOpenApiParametersParent
-
insertParameter
public void insertParameter(OpenApiParameter value, int atIndex)
- Specified by:
insertParameterin interfaceOpenApi20Operation- Specified by:
insertParameterin interfaceOpenApiParametersParent
-
getResponses
public OpenApiResponses getResponses()
- Specified by:
getResponsesin interfaceOpenApiOperation
-
setResponses
public void setResponses(OpenApiResponses value)
- Specified by:
setResponsesin interfaceOpenApiOperation
-
createResponses
public OpenApi20Responses createResponses()
- Specified by:
createResponsesin interfaceOpenApiOperation
-
getSchemes
public List<String> getSchemes()
- Specified by:
getSchemesin interfaceOpenApi20Operation
-
setSchemes
public void setSchemes(List<String> value)
- Specified by:
setSchemesin interfaceOpenApi20Operation
-
isDeprecated
public Boolean isDeprecated()
- Specified by:
isDeprecatedin interfaceOpenApiOperation
-
setDeprecated
public void setDeprecated(Boolean value)
- Specified by:
setDeprecatedin interfaceOpenApiOperation
-
createSecurityRequirement
public OpenApi20SecurityRequirement createSecurityRequirement()
- Specified by:
createSecurityRequirementin interfaceOpenApi20Operation- Specified by:
createSecurityRequirementin interfaceSecurityRequirementsParent
-
getSecurity
public List<SecurityRequirement> getSecurity()
- Specified by:
getSecurityin interfaceOpenApi20Operation- Specified by:
getSecurityin interfaceSecurityRequirementsParent
-
addSecurity
public void addSecurity(SecurityRequirement value)
- Specified by:
addSecurityin interfaceOpenApi20Operation- Specified by:
addSecurityin interfaceSecurityRequirementsParent
-
clearSecurity
public void clearSecurity()
- Specified by:
clearSecurityin interfaceOpenApi20Operation- Specified by:
clearSecurityin interfaceSecurityRequirementsParent
-
removeSecurity
public void removeSecurity(SecurityRequirement value)
- Specified by:
removeSecurityin interfaceOpenApi20Operation- Specified by:
removeSecurityin interfaceSecurityRequirementsParent
-
insertSecurity
public void insertSecurity(SecurityRequirement value, int atIndex)
- Specified by:
insertSecurityin interfaceOpenApi20Operation- Specified by:
insertSecurityin interfaceSecurityRequirementsParent
-
getExtensions
public Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensionsin interfaceExtensible- Specified by:
getExtensionsin interfaceOpenApi20Operation
-
addExtension
public void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtensionin interfaceExtensible- Specified by:
addExtensionin interfaceOpenApi20Operation
-
clearExtensions
public void clearExtensions()
- Specified by:
clearExtensionsin interfaceExtensible- Specified by:
clearExtensionsin interfaceOpenApi20Operation
-
removeExtension
public void removeExtension(String name)
- Specified by:
removeExtensionin interfaceExtensible- Specified by:
removeExtensionin interfaceOpenApi20Operation
-
insertExtension
public void insertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)
- Specified by:
insertExtensionin interfaceExtensible- Specified by:
insertExtensionin interfaceOpenApi20Operation
-
emptyClone
public Node emptyClone()
- Specified by:
emptyClonein interfaceNode
-
-