Class HrisGetCompanyResponse.Builder
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.async.HrisGetCompanyResponse.Builder
-
- Enclosing class:
- HrisGetCompanyResponse
public static final class HrisGetCompanyResponse.Builder extends java.lang.Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description HrisGetCompanyResponsebuild()HrisGetCompanyResponse.BuildercompanyResult(CompanyResult companyResult)The Company with the given identifier was retrieved.HrisGetCompanyResponse.BuildercompanyResult(java.util.Optional<? extends CompanyResult> companyResult)The Company with the given identifier was retrieved.HrisGetCompanyResponse.BuildercontentType(java.lang.String contentType)HTTP response content type for this operationHrisGetCompanyResponse.Builderheaders(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)HrisGetCompanyResponse.BuilderrawResponse(java.net.http.HttpResponse<Blob> rawResponse)Raw HTTP response; suitable for custom response parsingHrisGetCompanyResponse.BuilderstatusCode(int statusCode)HTTP response status code for this operation
-
-
-
Method Detail
-
contentType
public HrisGetCompanyResponse.Builder contentType(java.lang.String contentType)
HTTP response content type for this operation
-
statusCode
public HrisGetCompanyResponse.Builder statusCode(int statusCode)
HTTP response status code for this operation
-
rawResponse
public HrisGetCompanyResponse.Builder rawResponse(java.net.http.HttpResponse<Blob> rawResponse)
Raw HTTP response; suitable for custom response parsing
-
companyResult
public HrisGetCompanyResponse.Builder companyResult(CompanyResult companyResult)
The Company with the given identifier was retrieved.
-
companyResult
public HrisGetCompanyResponse.Builder companyResult(java.util.Optional<? extends CompanyResult> companyResult)
The Company with the given identifier was retrieved.
-
headers
public HrisGetCompanyResponse.Builder headers(java.util.Map<java.lang.String,java.util.List<java.lang.String>> headers)
-
build
public HrisGetCompanyResponse build()
-
-