Class 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

    • Constructor Detail

      • Application

        protected Application()
    • Method Detail

      • odataTypeName

        public String odataTypeName()
        Specified by:
        odataTypeName in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        odataTypeName in class DirectoryObject
      • 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:
        getChangedFields in interface com.github.davidmoten.odata.client.ODataEntityType
        Overrides:
        getChangedFields in class DirectoryObject
      • postInject

        public void postInject​(boolean addKeysToContextPath)
        Specified by:
        postInject in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        postInject in class DirectoryObject
      • getAddIns

        public com.github.davidmoten.odata.client.CollectionPage<AddIn> getAddIns()
      • getAddIns

        public com.github.davidmoten.odata.client.CollectionPage<AddIn> getAddIns​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getApplicationTemplateId

        public Optional<String> getApplicationTemplateId()
      • withApplicationTemplateId

        public Application withApplicationTemplateId​(String applicationTemplateId)
      • getAppRoles

        public com.github.davidmoten.odata.client.CollectionPage<AppRole> getAppRoles()
      • getAppRoles

        public com.github.davidmoten.odata.client.CollectionPage<AppRole> getAppRoles​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getDefaultRedirectUri

        public Optional<String> getDefaultRedirectUri()
      • withDefaultRedirectUri

        public Application withDefaultRedirectUri​(String defaultRedirectUri)
      • getDisabledByMicrosoftStatus

        public Optional<String> getDisabledByMicrosoftStatus()
      • withDisabledByMicrosoftStatus

        public Application withDisabledByMicrosoftStatus​(String disabledByMicrosoftStatus)
      • getGroupMembershipClaims

        public Optional<String> getGroupMembershipClaims()
      • withGroupMembershipClaims

        public Application withGroupMembershipClaims​(String groupMembershipClaims)
      • getIdentifierUris

        public com.github.davidmoten.odata.client.CollectionPage<String> getIdentifierUris()
      • getIdentifierUris

        public com.github.davidmoten.odata.client.CollectionPage<String> getIdentifierUris​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getIsDeviceOnlyAuthSupported

        public Optional<Boolean> getIsDeviceOnlyAuthSupported()
      • withIsDeviceOnlyAuthSupported

        public Application withIsDeviceOnlyAuthSupported​(Boolean isDeviceOnlyAuthSupported)
      • getIsFallbackPublicClient

        public Optional<Boolean> getIsFallbackPublicClient()
      • withIsFallbackPublicClient

        public Application withIsFallbackPublicClient​(Boolean isFallbackPublicClient)
      • getKeyCredentials

        public com.github.davidmoten.odata.client.CollectionPage<KeyCredential> getKeyCredentials()
      • 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()
      • postLogo

        public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> postLogo()
        If metadata indicate that the stream is editable then returns a StreamUploader which can be used to upload the stream to the logo property, 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 a StreamUploaderChunked which can be used to upload the stream to the logo property, 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 a StreamUploader which can be used to upload the stream to the logo property, 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 a StreamUploaderChunked which can be used to upload the stream to the logo property, 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)
      • putLogo

        public Optional<com.github.davidmoten.odata.client.StreamUploaderSingleCall> putLogo()
        If metadata indicate that the stream is editable then returns a StreamUploader which can be used to upload the stream to the logo property, 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 a StreamUploaderChunked which can be used to upload the stream to the logo property, 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)
      • getOauth2RequirePostResponse

        public Optional<Boolean> getOauth2RequirePostResponse()
      • withOauth2RequirePostResponse

        public Application withOauth2RequirePostResponse​(Boolean oauth2RequirePostResponse)
      • getPasswordCredentials

        public com.github.davidmoten.odata.client.CollectionPage<PasswordCredential> getPasswordCredentials()
      • getPasswordCredentials

        public com.github.davidmoten.odata.client.CollectionPage<PasswordCredential> getPasswordCredentials​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withPublisherDomain

        public Application withPublisherDomain​(String publisherDomain)
      • getRequiredResourceAccess

        public com.github.davidmoten.odata.client.CollectionPage<RequiredResourceAccess> getRequiredResourceAccess()
      • getRequiredResourceAccess

        public com.github.davidmoten.odata.client.CollectionPage<RequiredResourceAccess> getRequiredResourceAccess​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • withSamlMetadataUrl

        public Application withSamlMetadataUrl​(String samlMetadataUrl)
      • getServiceManagementReference

        public Optional<String> getServiceManagementReference()
      • withServiceManagementReference

        public Application withServiceManagementReference​(String serviceManagementReference)
      • withSignInAudience

        public Application withSignInAudience​(String signInAudience)
      • getTags

        public com.github.davidmoten.odata.client.CollectionPage<String> getTags()
      • getTags

        public com.github.davidmoten.odata.client.CollectionPage<String> getTags​(com.github.davidmoten.odata.client.HttpRequestOptions options)
      • getTokenEncryptionKeyId

        public Optional<UUID> getTokenEncryptionKeyId()
      • withTokenEncryptionKeyId

        public Application withTokenEncryptionKeyId​(UUID tokenEncryptionKeyId)
      • getUnmappedFields

        public com.github.davidmoten.odata.client.UnmappedFields getUnmappedFields()
        Specified by:
        getUnmappedFields in interface com.github.davidmoten.odata.client.ODataType
        Overrides:
        getUnmappedFields in class DirectoryObject
      • patch

        public Application patch()
        Submits only changed fields for update and returns an immutable copy of this with changed fields reset.
        Overrides:
        patch in class DirectoryObject
        Returns:
        a copy of this with 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 of this with changed fields reset (they were ignored anyway).
        Overrides:
        put in class DirectoryObject
        Returns:
        a copy of this with 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()
      • removeKey

        public com.github.davidmoten.odata.client.ActionRequestNoReturn removeKey​(UUID keyId,
                                                                                  String proof)
      • removePassword

        public com.github.davidmoten.odata.client.ActionRequestNoReturn removePassword​(UUID keyId)