Class MarketingGetEmailTemplateResponse
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.MarketingGetEmailTemplateResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMarketingGetEmailTemplateResponse.Builder
-
Constructor Summary
Constructors Constructor Description MarketingGetEmailTemplateResponse(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)MarketingGetEmailTemplateResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends EmailTemplateResult> emailTemplateResult, 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 MarketingGetEmailTemplateResponse.Builderbuilder()java.lang.StringcontentType()HTTP response content type for this operationjava.util.Optional<EmailTemplateResult>emailTemplateResult()The email template with the given identifier was retrieved.booleanequals(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.lang.StringtoString()MarketingGetEmailTemplateResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationMarketingGetEmailTemplateResponsewithEmailTemplateResult(EmailTemplateResult emailTemplateResult)The email template with the given identifier was retrieved.MarketingGetEmailTemplateResponsewithEmailTemplateResult(java.util.Optional<? extends EmailTemplateResult> emailTemplateResult)The email template with the given identifier was retrieved.MarketingGetEmailTemplateResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)MarketingGetEmailTemplateResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingMarketingGetEmailTemplateResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
MarketingGetEmailTemplateResponse
public MarketingGetEmailTemplateResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends EmailTemplateResult> emailTemplateResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
MarketingGetEmailTemplateResponse
public MarketingGetEmailTemplateResponse(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
-
emailTemplateResult
public java.util.Optional<EmailTemplateResult> emailTemplateResult()
The email 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 MarketingGetEmailTemplateResponse.Builder builder()
-
withContentType
public MarketingGetEmailTemplateResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public MarketingGetEmailTemplateResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public MarketingGetEmailTemplateResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withEmailTemplateResult
public MarketingGetEmailTemplateResponse withEmailTemplateResult(EmailTemplateResult emailTemplateResult)
The email template with the given identifier was retrieved.
-
withEmailTemplateResult
public MarketingGetEmailTemplateResponse withEmailTemplateResult(java.util.Optional<? extends EmailTemplateResult> emailTemplateResult)
The email template with the given identifier was retrieved.
-
withHeaders
public MarketingGetEmailTemplateResponse 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
-
-