Class MessagingDownloadMessagingAttachmentResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.MessagingDownloadMessagingAttachmentResponse.Builder
-
- Enclosing class:
- MessagingDownloadMessagingAttachmentResponse
public static final class MessagingDownloadMessagingAttachmentResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MessagingDownloadMessagingAttachmentResponse.Builderbody(byte[] body)MessagingDownloadMessagingAttachmentResponse.Builderbody(java.util.Optional<byte[]> body)MessagingDownloadMessagingAttachmentResponsebuild()MessagingDownloadMessagingAttachmentResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationMessagingDownloadMessagingAttachmentResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)MessagingDownloadMessagingAttachmentResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingMessagingDownloadMessagingAttachmentResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public MessagingDownloadMessagingAttachmentResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public MessagingDownloadMessagingAttachmentResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public MessagingDownloadMessagingAttachmentResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
body
public MessagingDownloadMessagingAttachmentResponse.Builder body(byte[] body)
-
body
public MessagingDownloadMessagingAttachmentResponse.Builder body(java.util.Optional<byte[]> body)
-
headers
public MessagingDownloadMessagingAttachmentResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public MessagingDownloadMessagingAttachmentResponse build()
-
-