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