Class MarketingGetSmsTemplateResponse
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.MarketingGetSmsTemplateResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMarketingGetSmsTemplateResponse.Builder
-
Constructor Summary
Constructors Constructor Description MarketingGetSmsTemplateResponse(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)MarketingGetSmsTemplateResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends SmsTemplateResult> smsTemplateResult, 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 MarketingGetSmsTemplateResponse.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 parsingjava.util.Optional<SmsTemplateResult>smsTemplateResult()The SMS template with the given identifier was retrieved.intstatusCode()HTTP response status code for this operationjava.lang.StringtoString()MarketingGetSmsTemplateResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationMarketingGetSmsTemplateResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)MarketingGetSmsTemplateResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingMarketingGetSmsTemplateResponsewithSmsTemplateResult(SmsTemplateResult smsTemplateResult)The SMS template with the given identifier was retrieved.MarketingGetSmsTemplateResponsewithSmsTemplateResult(java.util.Optional<? extends SmsTemplateResult> smsTemplateResult)The SMS template with the given identifier was retrieved.MarketingGetSmsTemplateResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
MarketingGetSmsTemplateResponse
public MarketingGetSmsTemplateResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends SmsTemplateResult> smsTemplateResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
MarketingGetSmsTemplateResponse
public MarketingGetSmsTemplateResponse(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
-
smsTemplateResult
public java.util.Optional<SmsTemplateResult> smsTemplateResult()
The SMS template with the given identifier was retrieved.
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static MarketingGetSmsTemplateResponse.Builder builder()
-
withContentType
public MarketingGetSmsTemplateResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public MarketingGetSmsTemplateResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public MarketingGetSmsTemplateResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withSmsTemplateResult
public MarketingGetSmsTemplateResponse withSmsTemplateResult(SmsTemplateResult smsTemplateResult)
The SMS template with the given identifier was retrieved.
-
withSmsTemplateResult
public MarketingGetSmsTemplateResponse withSmsTemplateResult(java.util.Optional<? extends SmsTemplateResult> smsTemplateResult)
The SMS template with the given identifier was retrieved.
-
withHeaders
public MarketingGetSmsTemplateResponse 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
-
-