public class Notification extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
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.SkipSupported
false
Org.OData.Capabilities.V1.TopSupported
false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
| Modifier and Type | Class and Description |
|---|---|
static class |
Notification.Builder |
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
displayTimeToLive |
protected OffsetDateTime |
expirationDateTime |
protected String |
groupName |
protected PayloadTypes |
payload |
protected Priority |
priority |
protected String |
targetHostName |
protected TargetPolicyEndpoints |
targetPolicy |
changedFields, contextPath, id, odataType, unmappedFields| Modifier | Constructor and Description |
|---|---|
protected |
Notification() |
| Modifier and Type | Method and Description |
|---|---|
static Notification.Builder |
builderNotification()
Returns a builder which is used to create a new
instance of this class (given that this class is immutable).
|
com.github.davidmoten.odata.client.internal.ChangedFields |
getChangedFields() |
Optional<Integer> |
getDisplayTimeToLive() |
Optional<OffsetDateTime> |
getExpirationDateTime() |
Optional<String> |
getGroupName() |
Optional<PayloadTypes> |
getPayload() |
Optional<Priority> |
getPriority() |
Optional<String> |
getTargetHostName() |
Optional<TargetPolicyEndpoints> |
getTargetPolicy() |
com.github.davidmoten.odata.client.internal.UnmappedFields |
getUnmappedFields() |
String |
odataTypeName() |
Notification |
patch()
Submits only changed fields for update and returns an
immutable copy of
this with changed fields reset. |
void |
postInject(boolean addKeysToContextPath) |
Notification |
put()
Submits all fields for update and returns an immutable copy of
this
with changed fields reset (they were ignored anyway). |
String |
toString() |
Notification |
withDisplayTimeToLive(Integer displayTimeToLive) |
Notification |
withExpirationDateTime(OffsetDateTime expirationDateTime) |
Notification |
withGroupName(String groupName) |
Notification |
withPayload(PayloadTypes payload) |
Notification |
withPriority(Priority priority) |
Notification |
withTargetHostName(String targetHostName) |
Notification |
withTargetPolicy(TargetPolicyEndpoints targetPolicy) |
protected String targetHostName
protected OffsetDateTime expirationDateTime
protected PayloadTypes payload
protected Integer displayTimeToLive
protected Priority priority
protected String groupName
protected TargetPolicyEndpoints targetPolicy
public String odataTypeName()
odataTypeName in interface com.github.davidmoten.odata.client.ODataTypeodataTypeName in class Entitypublic static Notification.Builder builderNotification()
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 Notification withTargetHostName(String targetHostName)
public Optional<OffsetDateTime> getExpirationDateTime()
public Notification withExpirationDateTime(OffsetDateTime expirationDateTime)
public Optional<PayloadTypes> getPayload()
public Notification withPayload(PayloadTypes payload)
public Notification withDisplayTimeToLive(Integer displayTimeToLive)
public Notification withPriority(Priority priority)
public Notification withGroupName(String groupName)
public Optional<TargetPolicyEndpoints> getTargetPolicy()
public Notification withTargetPolicy(TargetPolicyEndpoints targetPolicy)
public com.github.davidmoten.odata.client.internal.UnmappedFields getUnmappedFields()
getUnmappedFields in interface com.github.davidmoten.odata.client.ODataTypegetUnmappedFields in class Entitypublic Notification patch()
this with changed fields reset.public Notification put()
this
with changed fields reset (they were ignored anyway).Copyright © 2018–2020. All rights reserved.