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