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