public class Journal extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.UpdateRestrictions
Updatable = true
Org.OData.Capabilities.V1.InsertRestrictions
Insertable = true
Org.OData.Capabilities.V1.DeleteRestrictions
Deletable = true
| Modifier and Type | Class and Description |
|---|---|
static class |
Journal.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
balancingAccountId |
protected String |
balancingAccountNumber |
protected String |
code |
protected String |
displayName |
protected OffsetDateTime |
lastModifiedDateTime |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Journal() |
| Modifier and Type | Method and Description |
|---|---|
static Journal.Builder |
builderJournal()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
AccountRequest |
getAccount() |
Optional<String> |
getBalancingAccountId() |
Optional<String> |
getBalancingAccountNumber() |
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<String> |
getCode() |
Optional<String> |
getDisplayName() |
JournalLineCollectionRequest |
getJournalLines() |
Optional<OffsetDateTime> |
getLastModifiedDateTime() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Journal |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
com.github.davidmoten.odata.client.ActionRequestNoReturn |
post() |
void |
postInject(boolean addKeysToContextPath) |
Journal |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Journal |
withBalancingAccountId(String balancingAccountId) |
Journal |
withBalancingAccountNumber(String balancingAccountNumber) |
Journal |
withCode(String code) |
Journal |
withDisplayName(String displayName) |
Journal |
withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime) |
protected String code
protected String displayName
protected OffsetDateTime lastModifiedDateTime
protected String balancingAccountId
protected String balancingAccountNumber
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Journal.Builder builderJournal()
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityTypegetChangedFields in class Entitypublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepostInject in class Entitypublic Optional<OffsetDateTime> getLastModifiedDateTime()
public Journal withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
public AccountRequest getAccount()
public JournalLineCollectionRequest getJournalLines()
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Journal patch()
this with changed fields reset.public Journal put()
this
with changed fields reset (they were ignored anyway).public com.github.davidmoten.odata.client.ActionRequestNoReturn post()
Copyright © 2018–2020. All rights reserved.