Class ListSendersResponse
- java.lang.Object
-
- pl.gsmservice.gateway.models.operations.ListSendersResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListSendersResponse.Builder
-
Constructor Summary
Constructors Constructor Description ListSendersResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse)ListSendersResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends java.util.List<Sender>> senders)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListSendersResponse.Builderbuilder()java.lang.StringcontentType()HTTP response content type for this operationbooleanequals(java.lang.Object o)inthashCode()java.net.http.HttpResponse<java.io.InputStream>rawResponse()Raw HTTP response; suitable for custom response parsingjava.util.Optional<java.util.List<Sender>>senders()The request was processed successfully.intstatusCode()HTTP response status code for this operationjava.lang.StringtoString()ListSendersResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationListSendersResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingListSendersResponsewithSenders(java.util.List<Sender> senders)The request was processed successfully.ListSendersResponsewithSenders(java.util.Optional<? extends java.util.List<Sender>> senders)The request was processed successfully.ListSendersResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
ListSendersResponse
public ListSendersResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends java.util.List<Sender>> senders)
-
ListSendersResponse
public ListSendersResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse)
-
-
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
-
senders
public java.util.Optional<java.util.List<Sender>> senders()
The request was processed successfully. Please find senders details in returned Sender objects
-
builder
public static ListSendersResponse.Builder builder()
-
withContentType
public ListSendersResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public ListSendersResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public ListSendersResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withSenders
public ListSendersResponse withSenders(java.util.List<Sender> senders)
The request was processed successfully. Please find senders details in returned Sender objects
-
withSenders
public ListSendersResponse withSenders(java.util.Optional<? extends java.util.List<Sender>> senders)
The request was processed successfully. Please find senders details in returned Sender objects
-
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
-
-