public static class EndpointResponse.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
EndpointResponse |
build() |
EndpointResponse.Builder |
contentType(String contentType)
The response content type.
|
EndpointResponse.Builder |
copy(EndpointResponse model) |
EndpointResponse.Builder |
example(String example)
A sample response.
|
public EndpointResponse.Builder contentType(String contentType)
The response content type.
contentType
- the value to setpublic EndpointResponse.Builder example(String example)
A sample response.
example
- the value to setpublic EndpointResponse build()
public EndpointResponse.Builder copy(EndpointResponse model)
Copyright © 2016–2024. All rights reserved.