Class TicketingGetAttachmentResponse
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.TicketingGetAttachmentResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classTicketingGetAttachmentResponse.Builder
-
Constructor Summary
Constructors Constructor Description TicketingGetAttachmentResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)TicketingGetAttachmentResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends TicketingAttachmentResult> ticketingAttachmentResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static TicketingGetAttachmentResponse.Builderbuilder()java.lang.StringcontentType()HTTP response content type for this operationbooleanequals(java.lang.Object o)inthashCode()java.util.Map<java.lang.String,java.util.List<java.lang.String>>headers()java.net.http.HttpResponse<java.io.InputStream>rawResponse()Raw HTTP response; suitable for custom response parsingintstatusCode()HTTP response status code for this operationjava.util.Optional<TicketingAttachmentResult>ticketingAttachmentResult()The attachment with the given identifier was retrieved.java.lang.StringtoString()TicketingGetAttachmentResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationTicketingGetAttachmentResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)TicketingGetAttachmentResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingTicketingGetAttachmentResponsewithStatusCode(int statusCode)HTTP response status code for this operationTicketingGetAttachmentResponsewithTicketingAttachmentResult(TicketingAttachmentResult ticketingAttachmentResult)The attachment with the given identifier was retrieved.TicketingGetAttachmentResponsewithTicketingAttachmentResult(java.util.Optional<? extends TicketingAttachmentResult> ticketingAttachmentResult)The attachment with the given identifier was retrieved.
-
-
-
Constructor Detail
-
TicketingGetAttachmentResponse
public TicketingGetAttachmentResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends TicketingAttachmentResult> ticketingAttachmentResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
TicketingGetAttachmentResponse
public TicketingGetAttachmentResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
-
Method Detail
-
contentType
public java.lang.String contentType()
HTTP response content type for this operation- Specified by:
contentTypein interfaceResponse
-
statusCode
public int statusCode()
HTTP response status code for this operation- Specified by:
statusCodein interfaceResponse
-
rawResponse
public java.net.http.HttpResponse<java.io.InputStream> rawResponse()
Raw HTTP response; suitable for custom response parsing- Specified by:
rawResponsein interfaceResponse
-
ticketingAttachmentResult
public java.util.Optional<TicketingAttachmentResult> ticketingAttachmentResult()
The attachment with the given identifier was retrieved.
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static TicketingGetAttachmentResponse.Builder builder()
-
withContentType
public TicketingGetAttachmentResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public TicketingGetAttachmentResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public TicketingGetAttachmentResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withTicketingAttachmentResult
public TicketingGetAttachmentResponse withTicketingAttachmentResult(TicketingAttachmentResult ticketingAttachmentResult)
The attachment with the given identifier was retrieved.
-
withTicketingAttachmentResult
public TicketingGetAttachmentResponse withTicketingAttachmentResult(java.util.Optional<? extends TicketingAttachmentResult> ticketingAttachmentResult)
The attachment with the given identifier was retrieved.
-
withHeaders
public TicketingGetAttachmentResponse withHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-