Class MarketingGetCampaignResponse
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.MarketingGetCampaignResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMarketingGetCampaignResponse.Builder
-
Constructor Summary
Constructors Constructor Description MarketingGetCampaignResponse(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)MarketingGetCampaignResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends CampaignResult> campaignResult, 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 MarketingGetCampaignResponse.Builderbuilder()java.util.Optional<CampaignResult>campaignResult()The campaign with the given identifier was retrieved.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.lang.StringtoString()MarketingGetCampaignResponsewithCampaignResult(CampaignResult campaignResult)The campaign with the given identifier was retrieved.MarketingGetCampaignResponsewithCampaignResult(java.util.Optional<? extends CampaignResult> campaignResult)The campaign with the given identifier was retrieved.MarketingGetCampaignResponsewithContentType(java.lang.String contentType)HTTP response content type for this operationMarketingGetCampaignResponsewithHeaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)MarketingGetCampaignResponsewithRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingMarketingGetCampaignResponsewithStatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Constructor Detail
-
MarketingGetCampaignResponse
public MarketingGetCampaignResponse(java.lang.String contentType, int statusCode, java.net.http.HttpResponse<java.io.InputStream> rawResponse, java.util.Optional<? extends CampaignResult> campaignResult, java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
MarketingGetCampaignResponse
public MarketingGetCampaignResponse(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
-
campaignResult
public java.util.Optional<CampaignResult> campaignResult()
The campaign with the given identifier was retrieved.
-
headers
public java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers()
-
builder
public static MarketingGetCampaignResponse.Builder builder()
-
withContentType
public MarketingGetCampaignResponse withContentType(java.lang.String contentType)
HTTP response content type for this operation
-
withStatusCode
public MarketingGetCampaignResponse withStatusCode(int statusCode)
HTTP response status code for this operation
-
withRawResponse
public MarketingGetCampaignResponse withRawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
withCampaignResult
public MarketingGetCampaignResponse withCampaignResult(CampaignResult campaignResult)
The campaign with the given identifier was retrieved.
-
withCampaignResult
public MarketingGetCampaignResponse withCampaignResult(java.util.Optional<? extends CampaignResult> campaignResult)
The campaign with the given identifier was retrieved.
-
withHeaders
public MarketingGetCampaignResponse 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
-
-