public class ChangeNotification extends Object implements com.github.davidmoten.odata.client.ODataType
| Modifier and Type | Class and Description |
|---|---|
static class |
ChangeNotification.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected ChangeType |
changeType |
protected String |
clientState |
protected com.github.davidmoten.odata.client.ContextPath |
contextPath |
protected ChangeNotificationEncryptedContent |
encryptedContent |
protected String |
id |
protected LifecycleEventType |
lifecycleEvent |
protected String |
odataType |
protected String |
resource |
protected ResourceData |
resourceData |
protected Integer |
sequenceNumber |
protected OffsetDateTime |
subscriptionExpirationDateTime |
protected String |
subscriptionId |
protected String |
tenantId |
protected com.github.davidmoten.odata.client.internal.UnmappedFields |
unmappedFields |
| Modifier | Constructor and Description |
|---|---|
protected |
ChangeNotification() |
protected com.github.davidmoten.odata.client.ContextPath contextPath
protected com.github.davidmoten.odata.client.internal.UnmappedFields unmappedFields
protected String odataType
protected String id
protected Integer sequenceNumber
protected String subscriptionId
protected OffsetDateTime subscriptionExpirationDateTime
protected String clientState
protected ChangeType changeType
protected String resource
protected String tenantId
protected ChangeNotificationEncryptedContent encryptedContent
protected LifecycleEventType lifecycleEvent
protected ResourceData resourceData
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypepublic ChangeNotification withId(String id)
public ChangeNotification withSequenceNumber(Integer sequenceNumber)
public ChangeNotification withSubscriptionId(String subscriptionId)
public Optional<OffsetDateTime> getSubscriptionExpirationDateTime()
public ChangeNotification withSubscriptionExpirationDateTime(OffsetDateTime subscriptionExpirationDateTime)
public ChangeNotification withClientState(String clientState)
public Optional<ChangeType> getChangeType()
public ChangeNotification withChangeType(ChangeType changeType)
public ChangeNotification withResource(String resource)
public ChangeNotification withTenantId(String tenantId)
public Optional<ChangeNotificationEncryptedContent> getEncryptedContent()
public ChangeNotification withEncryptedContent(ChangeNotificationEncryptedContent encryptedContent)
public Optional<LifecycleEventType> getLifecycleEvent()
public ChangeNotification withLifecycleEvent(LifecycleEventType lifecycleEvent)
public Optional<ResourceData> getResourceData()
public ChangeNotification withResourceData(ResourceData resourceData)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypepublic void postInject(boolean addKeysToContextPath)
postInject in interface com.github.davidmoten.odata.client.ODataTypepublic static ChangeNotification.Builder builder()
Copyright © 2018–2020. All rights reserved.