Package io.moov.sdk.models.operations
Class GetRepresentativeResponse.Builder
- java.lang.Object
-
- io.moov.sdk.models.operations.GetRepresentativeResponse.Builder
-
- Enclosing class:
- GetRepresentativeResponse
public static final class GetRepresentativeResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetRepresentativeResponsebuild()GetRepresentativeResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationGetRepresentativeResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)GetRepresentativeResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingGetRepresentativeResponse.Builderrepresentative(Representative representative)The request completed successfully.GetRepresentativeResponse.Builderrepresentative(java.util.Optional<? extends Representative> representative)The request completed successfully.GetRepresentativeResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public GetRepresentativeResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public GetRepresentativeResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public GetRepresentativeResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
representative
public GetRepresentativeResponse.Builder representative(Representative representative)
The request completed successfully.
-
representative
public GetRepresentativeResponse.Builder representative(java.util.Optional<? extends Representative> representative)
The request completed successfully.
-
headers
public GetRepresentativeResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public GetRepresentativeResponse build()
-
-