Class OperationObject
- java.lang.Object
-
- software.amazon.smithy.openapi.model.Component
-
- software.amazon.smithy.openapi.model.OperationObject
-
- All Implemented Interfaces:
ToNode
,ToSmithyBuilder<OperationObject>
public final class OperationObject extends Component implements ToSmithyBuilder<OperationObject>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OperationObject.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OperationObject.Builder
builder()
protected ObjectNode.Builder
createNodeBuilder()
java.util.Map<java.lang.String,CallbackObject>
getCallbacks()
java.util.Optional<java.lang.String>
getDescription()
java.util.Optional<ExternalDocumentation>
getExternalDocs()
java.util.Optional<java.lang.String>
getOperationId()
java.util.List<ParameterObject>
getParameters()
java.util.Optional<RequestBodyObject>
getRequestBody()
java.util.Map<java.lang.String,ResponseObject>
getResponses()
java.util.Optional<java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.String>>>>
getSecurity()
java.util.List<ServerObject>
getServers()
java.util.Optional<java.lang.String>
getSummary()
java.util.List<java.lang.String>
getTags()
boolean
isDeprecated()
OperationObject.Builder
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.-
Methods inherited from class software.amazon.smithy.openapi.model.Component
equals, getExtension, getExtensions, hashCode, toNode
-
-
-
-
Method Detail
-
builder
public static OperationObject.Builder builder()
-
getTags
public java.util.List<java.lang.String> getTags()
-
getSummary
public java.util.Optional<java.lang.String> getSummary()
-
getDescription
public java.util.Optional<java.lang.String> getDescription()
-
getExternalDocs
public java.util.Optional<ExternalDocumentation> getExternalDocs()
-
getOperationId
public java.util.Optional<java.lang.String> getOperationId()
-
getParameters
public java.util.List<ParameterObject> getParameters()
-
getRequestBody
public java.util.Optional<RequestBodyObject> getRequestBody()
-
getResponses
public java.util.Map<java.lang.String,ResponseObject> getResponses()
-
getCallbacks
public java.util.Map<java.lang.String,CallbackObject> getCallbacks()
-
isDeprecated
public boolean isDeprecated()
-
getSecurity
public java.util.Optional<java.util.List<java.util.Map<java.lang.String,java.util.List<java.lang.String>>>> getSecurity()
-
getServers
public java.util.List<ServerObject> getServers()
-
createNodeBuilder
protected ObjectNode.Builder createNodeBuilder()
- Specified by:
createNodeBuilder
in classComponent
-
toBuilder
public OperationObject.Builder toBuilder()
Description copied from interface:ToSmithyBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToSmithyBuilder<OperationObject>
- Returns:
- a builder for type T
-
-