Class MarketingListContentBlocksResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.MarketingListContentBlocksResponse.Builder
-
- Enclosing class:
- MarketingListContentBlocksResponse
public static final class MarketingListContentBlocksResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MarketingListContentBlocksResponsebuild()MarketingListContentBlocksResponse.BuildercontentBlocksPaginated(ContentBlocksPaginated contentBlocksPaginated)The list of Content Blocks was retrieved.MarketingListContentBlocksResponse.BuildercontentBlocksPaginated(java.util.Optional<? extends ContentBlocksPaginated> contentBlocksPaginated)The list of Content Blocks was retrieved.MarketingListContentBlocksResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationMarketingListContentBlocksResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)MarketingListContentBlocksResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingMarketingListContentBlocksResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public MarketingListContentBlocksResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public MarketingListContentBlocksResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public MarketingListContentBlocksResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
contentBlocksPaginated
public MarketingListContentBlocksResponse.Builder contentBlocksPaginated(ContentBlocksPaginated contentBlocksPaginated)
The list of Content Blocks was retrieved.
-
contentBlocksPaginated
public MarketingListContentBlocksResponse.Builder contentBlocksPaginated(java.util.Optional<? extends ContentBlocksPaginated> contentBlocksPaginated)
The list of Content Blocks was retrieved.
-
headers
public MarketingListContentBlocksResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public MarketingListContentBlocksResponse build()
-
-