Package odata.msgraph.client.complex
Class ChangeNotification
- java.lang.Object
-
- odata.msgraph.client.complex.ChangeNotification
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataType
public class ChangeNotification extends Object implements com.github.davidmoten.odata.client.ODataType
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classChangeNotification.Builder
-
Field Summary
Fields Modifier and Type Field Description protected ChangeTypechangeTypeprotected StringclientStateprotected com.github.davidmoten.odata.client.ContextPathcontextPathprotected ChangeNotificationEncryptedContentencryptedContentprotected Stringidprotected LifecycleEventTypelifecycleEventprotected StringodataTypeprotected Stringresourceprotected ResourceDataresourceDataprotected OffsetDateTimesubscriptionExpirationDateTimeprotected UUIDsubscriptionIdprotected UUIDtenantIdprotected com.github.davidmoten.odata.client.internal.UnmappedFieldsImplunmappedFields
-
Constructor Summary
Constructors Modifier Constructor Description protectedChangeNotification()
-
Method Summary
-
-
-
Field Detail
-
contextPath
protected com.github.davidmoten.odata.client.ContextPath contextPath
-
unmappedFields
protected com.github.davidmoten.odata.client.internal.UnmappedFieldsImpl unmappedFields
-
odataType
protected String odataType
-
changeType
protected ChangeType changeType
-
clientState
protected String clientState
-
encryptedContent
protected ChangeNotificationEncryptedContent encryptedContent
-
id
protected String id
-
lifecycleEvent
protected LifecycleEventType lifecycleEvent
-
resource
protected String resource
-
resourceData
protected ResourceData resourceData
-
subscriptionExpirationDateTime
protected OffsetDateTime subscriptionExpirationDateTime
-
subscriptionId
protected UUID subscriptionId
-
tenantId
protected UUID tenantId
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType
-
getChangeType
public Optional<ChangeType> getChangeType()
-
withChangeType
public ChangeNotification withChangeType(ChangeType changeType)
-
withClientState
public ChangeNotification withClientState(String clientState)
-
getEncryptedContent
public Optional<ChangeNotificationEncryptedContent> getEncryptedContent()
-
withEncryptedContent
public ChangeNotification withEncryptedContent(ChangeNotificationEncryptedContent encryptedContent)
-
withId
public ChangeNotification withId(String id)
-
getLifecycleEvent
public Optional<LifecycleEventType> getLifecycleEvent()
-
withLifecycleEvent
public ChangeNotification withLifecycleEvent(LifecycleEventType lifecycleEvent)
-
withResource
public ChangeNotification withResource(String resource)
-
getResourceData
public Optional<ResourceData> getResourceData()
-
withResourceData
public ChangeNotification withResourceData(ResourceData resourceData)
-
getSubscriptionExpirationDateTime
public Optional<OffsetDateTime> getSubscriptionExpirationDateTime()
-
withSubscriptionExpirationDateTime
public ChangeNotification withSubscriptionExpirationDateTime(OffsetDateTime subscriptionExpirationDateTime)
-
withSubscriptionId
public ChangeNotification withSubscriptionId(UUID subscriptionId)
-
withTenantId
public ChangeNotification withTenantId(UUID tenantId)
-
withUnmappedField
public ChangeNotification withUnmappedField(String name, Object value)
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType
-
builder
public static ChangeNotification.Builder builder()
Returns a builder which is used to create a new instance of this class (given that this class is immutable).- Returns:
- a new Builder for this class
-
-