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