Package odata.msgraph.client.entity
Class Subscription
- java.lang.Object
-
- odata.msgraph.client.entity.Entity
-
- odata.msgraph.client.entity.Subscription
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Subscription extends Entity implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.CountRestrictions
Countable = false
Org.OData.Capabilities.V1.ExpandRestrictions
Expandable = false
Org.OData.Capabilities.V1.FilterRestrictions
Filterable = false
Org.OData.Capabilities.V1.NavigationRestrictions
Referenceable = false
Org.OData.Capabilities.V1.SelectSupport
Supported = false
Org.OData.Capabilities.V1.SkipSupported
false
Org.OData.Capabilities.V1.SortRestrictions
Sortable = false
Org.OData.Capabilities.V1.TopSupported
false
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSubscription.Builder
-
Field Summary
Fields Modifier and Type Field Description protected StringapplicationIdprotected StringchangeTypeprotected StringclientStateprotected StringcreatorIdprotected StringencryptionCertificateprotected StringencryptionCertificateIdprotected OffsetDateTimeexpirationDateTimeprotected BooleanincludeResourceDataprotected StringlatestSupportedTlsVersionprotected StringlifecycleNotificationUrlprotected StringnotificationQueryOptionsprotected StringnotificationUrlprotected StringnotificationUrlAppIdprotected Stringresource-
Fields inherited from class odata.msgraph.client.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedSubscription()
-
Method Summary
-
-
-
Field Detail
-
applicationId
protected String applicationId
-
changeType
protected String changeType
-
clientState
protected String clientState
-
creatorId
protected String creatorId
-
encryptionCertificate
protected String encryptionCertificate
-
encryptionCertificateId
protected String encryptionCertificateId
-
expirationDateTime
protected OffsetDateTime expirationDateTime
-
includeResourceData
protected Boolean includeResourceData
-
latestSupportedTlsVersion
protected String latestSupportedTlsVersion
-
lifecycleNotificationUrl
protected String lifecycleNotificationUrl
-
notificationQueryOptions
protected String notificationQueryOptions
-
notificationUrl
protected String notificationUrl
-
notificationUrlAppId
protected String notificationUrlAppId
-
resource
protected String resource
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classEntity
-
builderSubscription
public static Subscription.Builder builderSubscription()
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
-
getChangedFields
public com.github.davidmoten.odata.client.internal.ChangedFields getChangedFields()
- Specified by:
getChangedFieldsin interfacecom.github.davidmoten.odata.client.ODataEntityType- Overrides:
getChangedFieldsin classEntity
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classEntity
-
withApplicationId
public Subscription withApplicationId(String applicationId)
-
withChangeType
public Subscription withChangeType(String changeType)
-
withClientState
public Subscription withClientState(String clientState)
-
withCreatorId
public Subscription withCreatorId(String creatorId)
-
withEncryptionCertificate
public Subscription withEncryptionCertificate(String encryptionCertificate)
-
withEncryptionCertificateId
public Subscription withEncryptionCertificateId(String encryptionCertificateId)
-
getExpirationDateTime
public Optional<OffsetDateTime> getExpirationDateTime()
-
withExpirationDateTime
public Subscription withExpirationDateTime(OffsetDateTime expirationDateTime)
-
withIncludeResourceData
public Subscription withIncludeResourceData(Boolean includeResourceData)
-
withLatestSupportedTlsVersion
public Subscription withLatestSupportedTlsVersion(String latestSupportedTlsVersion)
-
withLifecycleNotificationUrl
public Subscription withLifecycleNotificationUrl(String lifecycleNotificationUrl)
-
withNotificationQueryOptions
public Subscription withNotificationQueryOptions(String notificationQueryOptions)
-
withNotificationUrl
public Subscription withNotificationUrl(String notificationUrl)
-
withNotificationUrlAppId
public Subscription withNotificationUrlAppId(String notificationUrlAppId)
-
withResource
public Subscription withResource(String resource)
-
withUnmappedField
public Subscription withUnmappedField(String name, Object value)
- Overrides:
withUnmappedFieldin classEntity
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classEntity
-
patch
public Subscription patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.
-
put
public Subscription put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).
-
reauthorize
public com.github.davidmoten.odata.client.ActionRequestNoReturn reauthorize()
-
-