public abstract class Operation extends Object
| Modifier and Type | Field and Description |
|---|---|
protected String |
canonicalName |
protected String |
description |
protected String |
friendlyName |
protected List<PropertyParameter> |
headers |
protected String |
httpMethod |
protected MetadataModel |
inputMetaData |
protected MetadataModel |
outputMetaData |
protected List<PropertyParameter> |
parameters |
protected List<PropertyParameter> |
queryParameters |
protected String |
uri |
protected List<PropertyParameter> |
uriParameters |
| Constructor and Description |
|---|
Operation(org.raml.v2.api.model.v10.methods.Method method) |
| Modifier and Type | Method and Description |
|---|---|
String |
getCanonicalName() |
String |
getDescription() |
String |
getFriendlyName() |
List<PropertyParameter> |
getHeaders() |
String |
getHttpMethod() |
MetadataModel |
getInputMetaData() |
MetadataModel |
getOutputMetaData() |
Iterable<PropertyParameter> |
getParameters() |
List<PropertyParameter> |
getQueryParameters() |
String |
getUri() |
List<PropertyParameter> |
getUriParameters() |
boolean |
hasHeaders() |
boolean |
hasQueryParameters() |
boolean |
hasUriParameters() |
void |
setCanonicalName(String canonicalName) |
protected final String friendlyName
protected final String description
protected String canonicalName
protected final List<PropertyParameter> parameters
protected final List<PropertyParameter> uriParameters
protected final List<PropertyParameter> queryParameters
protected final List<PropertyParameter> headers
protected MetadataModel inputMetaData
protected MetadataModel outputMetaData
protected final String httpMethod
protected final String uri
public Operation(org.raml.v2.api.model.v10.methods.Method method)
throws UnsupportedMediaTypeException
UnsupportedMediaTypeExceptionpublic boolean hasQueryParameters()
public boolean hasUriParameters()
public boolean hasHeaders()
public List<PropertyParameter> getQueryParameters()
public List<PropertyParameter> getUriParameters()
public List<PropertyParameter> getHeaders()
public String getHttpMethod()
public String getUri()
public Iterable<PropertyParameter> getParameters()
public String getFriendlyName()
public String getDescription()
public String getCanonicalName()
public void setCanonicalName(String canonicalName)
public MetadataModel getInputMetaData()
public MetadataModel getOutputMetaData()
Copyright © 2024. All rights reserved.