public class Subscription extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Referenceable = false
Org.OData.Capabilities.V1.SelectRestrictions
Selectable = false
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.SortRestrictions
Sortable = false
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.TopSupported
false
| Modifier and Type | Class and Description |
|---|---|
static class |
Subscription.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected String |
applicationId |
protected String |
changeType |
protected String |
clientState |
protected String |
creatorId |
protected String |
encryptionCertificate |
protected String |
encryptionCertificateId |
protected OffsetDateTime |
expirationDateTime |
protected Boolean |
includeProperties |
protected Boolean |
includeResourceData |
protected String |
latestSupportedTlsVersion |
protected String |
lifecycleNotificationUrl |
protected String |
notificationUrl |
protected String |
resource |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Subscription() |
protected String resource
protected String changeType
protected String clientState
protected String notificationUrl
protected OffsetDateTime expirationDateTime
protected String applicationId
protected String creatorId
protected Boolean includeProperties
protected Boolean includeResourceData
protected String lifecycleNotificationUrl
protected String encryptionCertificate
protected String encryptionCertificateId
protected String latestSupportedTlsVersion
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Subscription.Builder builderSubscription()
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 Subscription withResource(String resource)
public Subscription withChangeType(String changeType)
public Subscription withClientState(String clientState)
public Subscription withNotificationUrl(String notificationUrl)
public Optional<OffsetDateTime> getExpirationDateTime()
public Subscription withExpirationDateTime(OffsetDateTime expirationDateTime)
public Subscription withApplicationId(String applicationId)
public Subscription withCreatorId(String creatorId)
public Subscription withIncludeProperties(Boolean includeProperties)
public Subscription withIncludeResourceData(Boolean includeResourceData)
public Subscription withLifecycleNotificationUrl(String lifecycleNotificationUrl)
public Subscription withEncryptionCertificate(String encryptionCertificate)
public Subscription withEncryptionCertificateId(String encryptionCertificateId)
public Subscription withLatestSupportedTlsVersion(String latestSupportedTlsVersion)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Subscription patch()
this with changed fields reset.public Subscription put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.