Package odata.msgraph.client.beta.entity
Class Application
- java.lang.Object
-
- odata.msgraph.client.beta.entity.Entity
-
- odata.msgraph.client.beta.entity.DirectoryObject
-
- odata.msgraph.client.beta.entity.Application
-
- All Implemented Interfaces:
com.github.davidmoten.odata.client.ODataEntityType,com.github.davidmoten.odata.client.ODataType
public class Application extends DirectoryObject implements com.github.davidmoten.odata.client.ODataEntityType
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
Org.OData.Capabilities.V1.ChangeTracking
Supported = true
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classApplication.Builder
-
Field Summary
-
Fields inherited from class odata.msgraph.client.beta.entity.DirectoryObject
deletedDateTime
-
Fields inherited from class odata.msgraph.client.beta.entity.Entity
changedFields, contextPath, id, odataType, unmappedFields
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedApplication()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<KeyCredential>addKey(KeyCredential keyCredential, PasswordCredential passwordCredential, String proof)com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<PasswordCredential>addPassword(PasswordCredential passwordCredential)static Application.BuilderbuilderApplication()Returns a builder which is used to create a new instance of this class (given that this class is immutable).Optional<ApiApplication>getApi()Optional<String>getAppId()AppManagementPolicyCollectionRequestgetAppManagementPolicies()com.github.davidmoten.odata.client.CollectionPage<AppRole>getAppRoles()com.github.davidmoten.odata.client.CollectionPage<AppRole>getAppRoles(com.github.davidmoten.odata.client.HttpRequestOptions options)com.github.davidmoten.odata.client.internal.ChangedFieldsgetChangedFields()ConnectorGroupRequestgetConnectorGroup()Optional<OffsetDateTime>getCreatedDateTime()DirectoryObjectRequestgetCreatedOnBehalfOf()Optional<String>getDefaultRedirectUri()Optional<String>getDescription()Optional<String>getDisabledByMicrosoftStatus()Optional<String>getDisplayName()ExtensionPropertyCollectionRequestgetExtensionProperties()FederatedIdentityCredentialCollectionRequestgetFederatedIdentityCredentials()Optional<String>getGroupMembershipClaims()HomeRealmDiscoveryPolicyCollectionRequestgetHomeRealmDiscoveryPolicies()com.github.davidmoten.odata.client.CollectionPage<String>getIdentifierUris()com.github.davidmoten.odata.client.CollectionPage<String>getIdentifierUris(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<InformationalUrl>getInfo()Optional<Boolean>getIsDeviceOnlyAuthSupported()Optional<Boolean>getIsFallbackPublicClient()com.github.davidmoten.odata.client.CollectionPage<KeyCredential>getKeyCredentials()com.github.davidmoten.odata.client.CollectionPage<KeyCredential>getKeyCredentials(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<com.github.davidmoten.odata.client.StreamProvider>getLogo()Optional<String>getNotes()Optional<OnPremisesPublishing>getOnPremisesPublishing()Optional<OptionalClaims>getOptionalClaims()DirectoryObjectCollectionRequestgetOwners()Optional<ParentalControlSettings>getParentalControlSettings()com.github.davidmoten.odata.client.CollectionPage<PasswordCredential>getPasswordCredentials()com.github.davidmoten.odata.client.CollectionPage<PasswordCredential>getPasswordCredentials(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<PublicClientApplication>getPublicClient()Optional<String>getPublisherDomain()com.github.davidmoten.odata.client.CollectionPage<RequiredResourceAccess>getRequiredResourceAccess()com.github.davidmoten.odata.client.CollectionPage<RequiredResourceAccess>getRequiredResourceAccess(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getSignInAudience()Optional<SpaApplication>getSpa()SynchronizationRequestgetSynchronization()com.github.davidmoten.odata.client.CollectionPage<String>getTags()com.github.davidmoten.odata.client.CollectionPage<String>getTags(com.github.davidmoten.odata.client.HttpRequestOptions options)Optional<String>getTokenEncryptionKeyId()TokenIssuancePolicyCollectionRequestgetTokenIssuancePolicies()TokenLifetimePolicyCollectionRequestgetTokenLifetimePolicies()Optional<String>getUniqueName()com.github.davidmoten.odata.client.UnmappedFieldsgetUnmappedFields()Optional<VerifiedPublisher>getVerifiedPublisher()Optional<WebApplication>getWeb()StringodataTypeName()Applicationpatch()Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>patchChunkedLogo()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thelogoproperty, using HTTP PATCH.Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>patchLogo()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thelogoproperty, using HTTP PATCH.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>patchLogo(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>postChunkedLogo()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thelogoproperty, using HTTP POST.voidpostInject(boolean addKeysToContextPath)Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>postLogo()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thelogoproperty, using HTTP POST.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>postLogo(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)Applicationput()Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).Optional<com.github.davidmoten.odata.client.StreamUploaderChunked>putChunkedLogo()If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thelogoproperty, using HTTP PUT.Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall>putLogo()If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thelogoproperty, using HTTP PUT.<T extends com.github.davidmoten.odata.client.StreamUploader<T>>
Optional<T>putLogo(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)com.github.davidmoten.odata.client.ActionRequestNoReturnremoveKey(String keyId, String proof)com.github.davidmoten.odata.client.ActionRequestNoReturnremovePassword(String keyId)com.github.davidmoten.odata.client.ActionRequestNoReturnsetVerifiedPublisher(String verifiedPublisherId)StringtoString()com.github.davidmoten.odata.client.ActionRequestNoReturnunsetVerifiedPublisher()ApplicationwithApi(ApiApplication api)ApplicationwithAppId(String appId)ApplicationwithAppRoles(List<AppRole> appRoles)ApplicationwithCreatedDateTime(OffsetDateTime createdDateTime)ApplicationwithDefaultRedirectUri(String defaultRedirectUri)ApplicationwithDescription(String description)ApplicationwithDisabledByMicrosoftStatus(String disabledByMicrosoftStatus)ApplicationwithDisplayName(String displayName)ApplicationwithGroupMembershipClaims(String groupMembershipClaims)ApplicationwithIdentifierUris(List<String> identifierUris)ApplicationwithInfo(InformationalUrl info)ApplicationwithIsDeviceOnlyAuthSupported(Boolean isDeviceOnlyAuthSupported)ApplicationwithIsFallbackPublicClient(Boolean isFallbackPublicClient)ApplicationwithKeyCredentials(List<KeyCredential> keyCredentials)ApplicationwithNotes(String notes)ApplicationwithOnPremisesPublishing(OnPremisesPublishing onPremisesPublishing)ApplicationwithOptionalClaims(OptionalClaims optionalClaims)ApplicationwithParentalControlSettings(ParentalControlSettings parentalControlSettings)ApplicationwithPasswordCredentials(List<PasswordCredential> passwordCredentials)ApplicationwithPublicClient(PublicClientApplication publicClient)ApplicationwithPublisherDomain(String publisherDomain)ApplicationwithRequiredResourceAccess(List<RequiredResourceAccess> requiredResourceAccess)ApplicationwithSignInAudience(String signInAudience)ApplicationwithSpa(SpaApplication spa)ApplicationwithTags(List<String> tags)ApplicationwithTokenEncryptionKeyId(String tokenEncryptionKeyId)ApplicationwithUniqueName(String uniqueName)ApplicationwithUnmappedField(String name, String value)ApplicationwithVerifiedPublisher(VerifiedPublisher verifiedPublisher)ApplicationwithWeb(WebApplication web)-
Methods inherited from class odata.msgraph.client.beta.entity.DirectoryObject
builderDirectoryObject, checkMemberGroups, checkMemberObjects, getDeletedDateTime, getMemberGroups, getMemberObjects, restore, withDeletedDateTime
-
-
-
-
Field Detail
-
api
protected ApiApplication api
-
appId
protected String appId
-
appRolesNextLink
protected String appRolesNextLink
-
createdDateTime
protected OffsetDateTime createdDateTime
-
defaultRedirectUri
protected String defaultRedirectUri
-
description
protected String description
-
disabledByMicrosoftStatus
protected String disabledByMicrosoftStatus
-
displayName
protected String displayName
-
groupMembershipClaims
protected String groupMembershipClaims
-
identifierUrisNextLink
protected String identifierUrisNextLink
-
info
protected InformationalUrl info
-
isDeviceOnlyAuthSupported
protected Boolean isDeviceOnlyAuthSupported
-
isFallbackPublicClient
protected Boolean isFallbackPublicClient
-
keyCredentials
protected List<KeyCredential> keyCredentials
-
keyCredentialsNextLink
protected String keyCredentialsNextLink
-
logo
protected String logo
-
notes
protected String notes
-
optionalClaims
protected OptionalClaims optionalClaims
-
parentalControlSettings
protected ParentalControlSettings parentalControlSettings
-
passwordCredentials
protected List<PasswordCredential> passwordCredentials
-
passwordCredentialsNextLink
protected String passwordCredentialsNextLink
-
publicClient
protected PublicClientApplication publicClient
-
publisherDomain
protected String publisherDomain
-
requiredResourceAccess
protected List<RequiredResourceAccess> requiredResourceAccess
-
requiredResourceAccessNextLink
protected String requiredResourceAccessNextLink
-
signInAudience
protected String signInAudience
-
spa
protected SpaApplication spa
-
tagsNextLink
protected String tagsNextLink
-
tokenEncryptionKeyId
protected String tokenEncryptionKeyId
-
uniqueName
protected String uniqueName
-
verifiedPublisher
protected VerifiedPublisher verifiedPublisher
-
web
protected WebApplication web
-
onPremisesPublishing
protected OnPremisesPublishing onPremisesPublishing
-
-
Method Detail
-
odataTypeName
public String odataTypeName()
- Specified by:
odataTypeNamein interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
odataTypeNamein classDirectoryObject
-
builderApplication
public static Application.Builder builderApplication()
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 classDirectoryObject
-
postInject
public void postInject(boolean addKeysToContextPath)
- Specified by:
postInjectin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
postInjectin classDirectoryObject
-
getApi
public Optional<ApiApplication> getApi()
-
withApi
public Application withApi(ApiApplication api)
-
withAppId
public Application withAppId(String appId)
-
getAppRoles
public com.github.davidmoten.odata.client.CollectionPage<AppRole> getAppRoles()
-
withAppRoles
public Application withAppRoles(List<AppRole> appRoles)
-
getAppRoles
public com.github.davidmoten.odata.client.CollectionPage<AppRole> getAppRoles(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getCreatedDateTime
public Optional<OffsetDateTime> getCreatedDateTime()
-
withCreatedDateTime
public Application withCreatedDateTime(OffsetDateTime createdDateTime)
-
withDefaultRedirectUri
public Application withDefaultRedirectUri(String defaultRedirectUri)
-
withDescription
public Application withDescription(String description)
-
withDisabledByMicrosoftStatus
public Application withDisabledByMicrosoftStatus(String disabledByMicrosoftStatus)
-
withDisplayName
public Application withDisplayName(String displayName)
-
withGroupMembershipClaims
public Application withGroupMembershipClaims(String groupMembershipClaims)
-
getIdentifierUris
public com.github.davidmoten.odata.client.CollectionPage<String> getIdentifierUris()
-
withIdentifierUris
public Application withIdentifierUris(List<String> identifierUris)
-
getIdentifierUris
public com.github.davidmoten.odata.client.CollectionPage<String> getIdentifierUris(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getInfo
public Optional<InformationalUrl> getInfo()
-
withInfo
public Application withInfo(InformationalUrl info)
-
withIsDeviceOnlyAuthSupported
public Application withIsDeviceOnlyAuthSupported(Boolean isDeviceOnlyAuthSupported)
-
withIsFallbackPublicClient
public Application withIsFallbackPublicClient(Boolean isFallbackPublicClient)
-
getKeyCredentials
public com.github.davidmoten.odata.client.CollectionPage<KeyCredential> getKeyCredentials()
-
withKeyCredentials
public Application withKeyCredentials(List<KeyCredential> keyCredentials)
-
getKeyCredentials
public com.github.davidmoten.odata.client.CollectionPage<KeyCredential> getKeyCredentials(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getLogo
public Optional<com.github.davidmoten.odata.client.StreamProvider> getLogo()
-
putLogo
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> putLogo()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thelogoproperty, using HTTP PUT.- Returns:
- a StreamUploader if upload permitted
-
putChunkedLogo
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> putChunkedLogo()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thelogoproperty, using HTTP PUT.- Returns:
- a StreamUploaderChunked if upload permitted
-
putLogo
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> putLogo(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
postLogo
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> postLogo()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thelogoproperty, using HTTP POST.- Returns:
- a StreamUploader if upload permitted
-
postChunkedLogo
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> postChunkedLogo()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thelogoproperty, using HTTP POST.- Returns:
- a StreamUploaderChunked if upload permitted
-
postLogo
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> postLogo(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
patchLogo
public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> patchLogo()
If metadata indicate that the stream is editable then returns aStreamUploaderwhich can be used to upload the stream to thelogoproperty, using HTTP PATCH.- Returns:
- a StreamUploader if upload permitted
-
patchChunkedLogo
public Optional<com.github.davidmoten.odata.client.StreamUploaderChunked> patchChunkedLogo()
If metadata indicate that the stream is editable then returns aStreamUploaderChunkedwhich can be used to upload the stream to thelogoproperty, using HTTP PATCH.- Returns:
- a StreamUploaderChunked if upload permitted
-
patchLogo
public <T extends com.github.davidmoten.odata.client.StreamUploader<T>> Optional<T> patchLogo(com.github.davidmoten.odata.client.UploadStrategy<T> strategy)
-
withNotes
public Application withNotes(String notes)
-
getOptionalClaims
public Optional<OptionalClaims> getOptionalClaims()
-
withOptionalClaims
public Application withOptionalClaims(OptionalClaims optionalClaims)
-
getParentalControlSettings
public Optional<ParentalControlSettings> getParentalControlSettings()
-
withParentalControlSettings
public Application withParentalControlSettings(ParentalControlSettings parentalControlSettings)
-
getPasswordCredentials
public com.github.davidmoten.odata.client.CollectionPage<PasswordCredential> getPasswordCredentials()
-
withPasswordCredentials
public Application withPasswordCredentials(List<PasswordCredential> passwordCredentials)
-
getPasswordCredentials
public com.github.davidmoten.odata.client.CollectionPage<PasswordCredential> getPasswordCredentials(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
getPublicClient
public Optional<PublicClientApplication> getPublicClient()
-
withPublicClient
public Application withPublicClient(PublicClientApplication publicClient)
-
withPublisherDomain
public Application withPublisherDomain(String publisherDomain)
-
getRequiredResourceAccess
public com.github.davidmoten.odata.client.CollectionPage<RequiredResourceAccess> getRequiredResourceAccess()
-
withRequiredResourceAccess
public Application withRequiredResourceAccess(List<RequiredResourceAccess> requiredResourceAccess)
-
getRequiredResourceAccess
public com.github.davidmoten.odata.client.CollectionPage<RequiredResourceAccess> getRequiredResourceAccess(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withSignInAudience
public Application withSignInAudience(String signInAudience)
-
getSpa
public Optional<SpaApplication> getSpa()
-
withSpa
public Application withSpa(SpaApplication spa)
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags()
-
withTags
public Application withTags(List<String> tags)
-
getTags
public com.github.davidmoten.odata.client.CollectionPage<String> getTags(com.github.davidmoten.odata.client.HttpRequestOptions options)
-
withTokenEncryptionKeyId
public Application withTokenEncryptionKeyId(String tokenEncryptionKeyId)
-
withUniqueName
public Application withUniqueName(String uniqueName)
-
getVerifiedPublisher
public Optional<VerifiedPublisher> getVerifiedPublisher()
-
withVerifiedPublisher
public Application withVerifiedPublisher(VerifiedPublisher verifiedPublisher)
-
getWeb
public Optional<WebApplication> getWeb()
-
withWeb
public Application withWeb(WebApplication web)
-
getOnPremisesPublishing
public Optional<OnPremisesPublishing> getOnPremisesPublishing()
-
withOnPremisesPublishing
public Application withOnPremisesPublishing(OnPremisesPublishing onPremisesPublishing)
-
withUnmappedField
public Application withUnmappedField(String name, String value)
- Overrides:
withUnmappedFieldin classDirectoryObject
-
getAppManagementPolicies
public AppManagementPolicyCollectionRequest getAppManagementPolicies()
-
getCreatedOnBehalfOf
public DirectoryObjectRequest getCreatedOnBehalfOf()
-
getExtensionProperties
public ExtensionPropertyCollectionRequest getExtensionProperties()
-
getFederatedIdentityCredentials
public FederatedIdentityCredentialCollectionRequest getFederatedIdentityCredentials()
-
getHomeRealmDiscoveryPolicies
public HomeRealmDiscoveryPolicyCollectionRequest getHomeRealmDiscoveryPolicies()
-
getOwners
public DirectoryObjectCollectionRequest getOwners()
-
getTokenIssuancePolicies
public TokenIssuancePolicyCollectionRequest getTokenIssuancePolicies()
-
getTokenLifetimePolicies
public TokenLifetimePolicyCollectionRequest getTokenLifetimePolicies()
-
getConnectorGroup
public ConnectorGroupRequest getConnectorGroup()
-
getSynchronization
public SynchronizationRequest getSynchronization()
-
getUnmappedFields
public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
- Specified by:
getUnmappedFieldsin interfacecom.github.davidmoten.odata.client.ODataType- Overrides:
getUnmappedFieldsin classDirectoryObject
-
patch
public Application patch()
Submits only changed fields for update and returns an immutable copy ofthiswith changed fields reset.- Overrides:
patchin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
put
public Application put()
Submits all fields for update and returns an immutable copy ofthiswith changed fields reset (they were ignored anyway).- Overrides:
putin classDirectoryObject- Returns:
- a copy of
thiswith changed fields reset - Throws:
com.github.davidmoten.odata.client.ClientException- if HTTP response is not as expected
-
setVerifiedPublisher
public com.github.davidmoten.odata.client.ActionRequestNoReturn setVerifiedPublisher(String verifiedPublisherId)
-
unsetVerifiedPublisher
public com.github.davidmoten.odata.client.ActionRequestNoReturn unsetVerifiedPublisher()
-
addKey
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<KeyCredential> addKey(KeyCredential keyCredential, PasswordCredential passwordCredential, String proof)
-
addPassword
public com.github.davidmoten.odata.client.ActionRequestReturningNonCollectionUnwrapped<PasswordCredential> addPassword(PasswordCredential passwordCredential)
-
removeKey
public com.github.davidmoten.odata.client.ActionRequestNoReturn removeKey(String keyId, String proof)
-
removePassword
public com.github.davidmoten.odata.client.ActionRequestNoReturn removePassword(String keyId)
-
toString
public String toString()
- Overrides:
toStringin classDirectoryObject
-
-