public class PathItem extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PathItem.HttpMethod |
Constructor and Description |
---|
PathItem() |
Modifier and Type | Method and Description |
---|---|
PathItem |
$ref(String $ref) |
void |
addExtension(String name,
Object value) |
PathItem |
addParametersItem(Parameter parametersItem) |
PathItem |
addServersItem(Server serversItem) |
PathItem |
delete(Operation delete) |
PathItem |
description(String description) |
boolean |
equals(Object o) |
PathItem |
extensions(Map<String,Object> extensions) |
PathItem |
get(Operation get) |
String |
get$ref()
returns the ref property from a PathItem instance.
|
Operation |
getDelete()
returns the delete property from a PathItem instance.
|
String |
getDescription()
returns the description property from a PathItem instance.
|
Map<String,Object> |
getExtensions() |
Operation |
getGet()
returns the get property from a PathItem instance.
|
Operation |
getHead()
returns the head property from a PathItem instance.
|
Operation |
getOptions()
returns the options property from a PathItem instance.
|
List<Parameter> |
getParameters()
returns the parameters property from a PathItem instance.
|
Operation |
getPatch()
returns the patch property from a PathItem instance.
|
Operation |
getPost()
returns the post property from a PathItem instance.
|
Operation |
getPut()
returns the put property from a PathItem instance.
|
List<Server> |
getServers()
returns the servers property from a PathItem instance.
|
String |
getSummary()
returns the summary property from a PathItem instance.
|
Operation |
getTrace()
returns the trace property from a PathItem instance.
|
int |
hashCode() |
PathItem |
head(Operation head) |
void |
operation(PathItem.HttpMethod method,
Operation operation) |
PathItem |
options(Operation options) |
PathItem |
parameters(List<Parameter> parameters) |
PathItem |
patch(Operation patch) |
PathItem |
post(Operation post) |
PathItem |
put(Operation put) |
List<Operation> |
readOperations() |
Map<PathItem.HttpMethod,Operation> |
readOperationsMap() |
PathItem |
servers(List<Server> servers) |
void |
set$ref(String $ref) |
void |
setDelete(Operation delete) |
void |
setDescription(String description) |
void |
setExtensions(Map<String,Object> extensions) |
void |
setGet(Operation get) |
void |
setHead(Operation head) |
void |
setOptions(Operation options) |
void |
setParameters(List<Parameter> parameters) |
void |
setPatch(Operation patch) |
void |
setPost(Operation post) |
void |
setPut(Operation put) |
void |
setServers(List<Server> servers) |
void |
setSummary(String summary) |
void |
setTrace(Operation trace) |
PathItem |
summary(String summary) |
String |
toString() |
PathItem |
trace(Operation trace) |
public String getSummary()
public void setSummary(String summary)
public String getDescription()
public void setDescription(String description)
public Operation getGet()
public void setGet(Operation get)
public Operation getPut()
public void setPut(Operation put)
public Operation getPost()
public void setPost(Operation post)
public Operation getDelete()
public void setDelete(Operation delete)
public Operation getOptions()
public void setOptions(Operation options)
public Operation getHead()
public void setHead(Operation head)
public Operation getPatch()
public void setPatch(Operation patch)
public Operation getTrace()
public void setTrace(Operation trace)
public void operation(PathItem.HttpMethod method, Operation operation)
public Map<PathItem.HttpMethod,Operation> readOperationsMap()
public List<Server> getServers()
public List<Parameter> getParameters()
public String get$ref()
public void set$ref(String $ref)
Copyright © 2021. All rights reserved.