Class CrmGetListResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.CrmGetListResponse.Builder
-
- Enclosing class:
- CrmGetListResponse
public static final class CrmGetListResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CrmGetListResponsebuild()CrmGetListResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationCrmGetListResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)CrmGetListResponse.BuilderlistResult(ListResult listResult)The list with the given identifier was retrieved.CrmGetListResponse.BuilderlistResult(java.util.Optional<? extends ListResult> listResult)The list with the given identifier was retrieved.CrmGetListResponse.BuilderrawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)Raw HTTP response; suitable for custom response parsingCrmGetListResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public CrmGetListResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public CrmGetListResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public CrmGetListResponse.Builder rawResponse(java.net.http.HttpResponse<java.io.InputStream> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
listResult
public CrmGetListResponse.Builder listResult(ListResult listResult)
The list with the given identifier was retrieved.
-
listResult
public CrmGetListResponse.Builder listResult(java.util.Optional<? extends ListResult> listResult)
The list with the given identifier was retrieved.
-
headers
public CrmGetListResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public CrmGetListResponse build()
-
-