Class MobileAppContentFileRequest

java.lang.Object
com.microsoft.graph.http.BaseRequest<MobileAppContentFile>
com.microsoft.graph.requests.MobileAppContentFileRequest
All Implemented Interfaces:
com.microsoft.graph.http.IHttpRequest

public class MobileAppContentFileRequest extends com.microsoft.graph.http.BaseRequest<MobileAppContentFile>
The class for the Mobile App Content File Request.
  • Constructor Details

    • MobileAppContentFileRequest

      public MobileAppContentFileRequest(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions)
      The request for the MobileAppContentFile
      Parameters:
      requestUrl - the request URL
      client - the service client
      requestOptions - the options for this request
  • Method Details

    • getAsync

      @Nonnull public CompletableFuture<MobileAppContentFile> getAsync()
      Gets the MobileAppContentFile from the service
      Returns:
      a future with the result
    • get

      @Nullable public MobileAppContentFile get() throws com.microsoft.graph.core.ClientException
      Gets the MobileAppContentFile from the service
      Returns:
      the MobileAppContentFile from the request
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • deleteAsync

      @Nonnull public CompletableFuture<MobileAppContentFile> deleteAsync()
      Delete this item from the service
      Returns:
      a future with the deletion result
    • delete

      @Nullable public MobileAppContentFile delete() throws com.microsoft.graph.core.ClientException
      Delete this item from the service
      Returns:
      the resulting response if the service returns anything on deletion
      Throws:
      com.microsoft.graph.core.ClientException - if there was an exception during the delete operation
    • patchAsync

      @Nonnull public CompletableFuture<MobileAppContentFile> patchAsync(@Nonnull MobileAppContentFile sourceMobileAppContentFile)
      Patches this MobileAppContentFile with a source
      Parameters:
      sourceMobileAppContentFile - the source object with updates
      Returns:
      a future with the result
    • patch

      @Nullable public MobileAppContentFile patch(@Nonnull MobileAppContentFile sourceMobileAppContentFile) throws com.microsoft.graph.core.ClientException
      Patches this MobileAppContentFile with a source
      Parameters:
      sourceMobileAppContentFile - the source object with updates
      Returns:
      the updated MobileAppContentFile
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • postAsync

      @Nonnull public CompletableFuture<MobileAppContentFile> postAsync(@Nonnull MobileAppContentFile newMobileAppContentFile)
      Creates a MobileAppContentFile with a new object
      Parameters:
      newMobileAppContentFile - the new object to create
      Returns:
      a future with the result
    • post

      @Nullable public MobileAppContentFile post(@Nonnull MobileAppContentFile newMobileAppContentFile) throws com.microsoft.graph.core.ClientException
      Creates a MobileAppContentFile with a new object
      Parameters:
      newMobileAppContentFile - the new object to create
      Returns:
      the created MobileAppContentFile
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • putAsync

      @Nonnull public CompletableFuture<MobileAppContentFile> putAsync(@Nonnull MobileAppContentFile newMobileAppContentFile)
      Creates a MobileAppContentFile with a new object
      Parameters:
      newMobileAppContentFile - the object to create/update
      Returns:
      a future with the result
    • put

      @Nullable public MobileAppContentFile put(@Nonnull MobileAppContentFile newMobileAppContentFile) throws com.microsoft.graph.core.ClientException
      Creates a MobileAppContentFile with a new object
      Parameters:
      newMobileAppContentFile - the object to create/update
      Returns:
      the created MobileAppContentFile
      Throws:
      com.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason
    • select

      @Nonnull public MobileAppContentFileRequest select(@Nonnull String value)
      Sets the select clause for the request
      Parameters:
      value - the select clause
      Returns:
      the updated request
    • expand

      @Nonnull public MobileAppContentFileRequest expand(@Nonnull String value)
      Sets the expand clause for the request
      Parameters:
      value - the expand clause
      Returns:
      the updated request