public final class PathItem extends Component implements ToSmithyBuilder<PathItem>
Modifier and Type | Class and Description |
---|---|
static class |
PathItem.Builder |
Modifier and Type | Method and Description |
---|---|
static PathItem.Builder |
builder() |
protected ObjectNode.Builder |
createNodeBuilder() |
java.util.Optional<OperationObject> |
getDelete() |
java.util.Optional<java.lang.String> |
getDescription() |
java.util.Optional<OperationObject> |
getGet() |
java.util.Optional<OperationObject> |
getHead() |
java.util.Map<java.lang.String,OperationObject> |
getOperations() |
java.util.Optional<OperationObject> |
getOptions() |
java.util.List<Ref<ParameterObject>> |
getParameters() |
java.util.Optional<OperationObject> |
getPatch() |
java.util.Optional<OperationObject> |
getPost() |
java.util.Optional<OperationObject> |
getPut() |
java.util.List<ServerObject> |
getServers() |
java.util.Optional<java.lang.String> |
getSummary() |
java.util.Optional<OperationObject> |
getTrace() |
java.util.stream.Stream<OperationObject> |
operations() |
PathItem.Builder |
toBuilder()
Take this object and create a builder that contains all of the
current property values of this object.
|
equals, getExtension, getExtensions, hashCode, toNode
public static PathItem.Builder builder()
public java.util.Optional<java.lang.String> getSummary()
public java.util.Optional<java.lang.String> getDescription()
public java.util.List<ServerObject> getServers()
public java.util.List<Ref<ParameterObject>> getParameters()
public java.util.Optional<OperationObject> getGet()
public java.util.Optional<OperationObject> getPut()
public java.util.Optional<OperationObject> getPost()
public java.util.Optional<OperationObject> getDelete()
public java.util.Optional<OperationObject> getOptions()
public java.util.Optional<OperationObject> getHead()
public java.util.Optional<OperationObject> getPatch()
public java.util.Optional<OperationObject> getTrace()
public java.util.Map<java.lang.String,OperationObject> getOperations()
public java.util.stream.Stream<OperationObject> operations()
protected ObjectNode.Builder createNodeBuilder()
createNodeBuilder
in class Component
public PathItem.Builder toBuilder()
ToSmithyBuilder
toBuilder
in interface ToSmithyBuilder<PathItem>