Class AccountingCreateCompanyJournalRequest
- java.lang.Object
-
- com.stackone.stackone_client_java.models.operations.AccountingCreateCompanyJournalRequest
-
public class AccountingCreateCompanyJournalRequest extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAccountingCreateCompanyJournalRequest.Builder
-
Constructor Summary
Constructors Constructor Description AccountingCreateCompanyJournalRequest(java.lang.String xAccountId, java.lang.String id, AccountingJournalCreateRequestDto accountingJournalCreateRequestDto)AccountingCreateCompanyJournalRequest(java.lang.String xAccountId, java.lang.String id, java.util.Optional<java.lang.String> prefer, AccountingJournalCreateRequestDto accountingJournalCreateRequestDto)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AccountingJournalCreateRequestDtoaccountingJournalCreateRequestDto()static AccountingCreateCompanyJournalRequest.Builderbuilder()booleanequals(java.lang.Object o)inthashCode()java.lang.Stringid()java.util.Optional<java.lang.String>prefer()Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests.java.lang.StringtoString()AccountingCreateCompanyJournalRequestwithAccountingJournalCreateRequestDto(AccountingJournalCreateRequestDto accountingJournalCreateRequestDto)AccountingCreateCompanyJournalRequestwithId(java.lang.String id)AccountingCreateCompanyJournalRequestwithPrefer(java.lang.String prefer)Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests.AccountingCreateCompanyJournalRequestwithPrefer(java.util.Optional<java.lang.String> prefer)Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests.AccountingCreateCompanyJournalRequestwithXAccountId(java.lang.String xAccountId)The account identifierjava.lang.StringxAccountId()The account identifier
-
-
-
Constructor Detail
-
AccountingCreateCompanyJournalRequest
public AccountingCreateCompanyJournalRequest(java.lang.String xAccountId, java.lang.String id, java.util.Optional<java.lang.String> prefer, AccountingJournalCreateRequestDto accountingJournalCreateRequestDto)
-
AccountingCreateCompanyJournalRequest
public AccountingCreateCompanyJournalRequest(java.lang.String xAccountId, java.lang.String id, AccountingJournalCreateRequestDto accountingJournalCreateRequestDto)
-
-
Method Detail
-
xAccountId
public java.lang.String xAccountId()
The account identifier
-
id
public java.lang.String id()
-
prefer
public java.util.Optional<java.lang.String> prefer()
Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240)
-
accountingJournalCreateRequestDto
public AccountingJournalCreateRequestDto accountingJournalCreateRequestDto()
-
builder
public static AccountingCreateCompanyJournalRequest.Builder builder()
-
withXAccountId
public AccountingCreateCompanyJournalRequest withXAccountId(java.lang.String xAccountId)
The account identifier
-
withId
public AccountingCreateCompanyJournalRequest withId(java.lang.String id)
-
withPrefer
public AccountingCreateCompanyJournalRequest withPrefer(java.lang.String prefer)
Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240)
-
withPrefer
public AccountingCreateCompanyJournalRequest withPrefer(java.util.Optional<java.lang.String> prefer)
Set to "heartbeat" to enable keep-alive newline heartbeats during long-running requests. Response includes Preference-Applied: heartbeat header when honored. (RFC 7240)
-
withAccountingJournalCreateRequestDto
public AccountingCreateCompanyJournalRequest withAccountingJournalCreateRequestDto(AccountingJournalCreateRequestDto accountingJournalCreateRequestDto)
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-