public class OrganizationalBrandingPropertiesBackgroundImageStreamRequest extends com.microsoft.graph.http.BaseStreamRequest<OrganizationalBrandingProperties>
Constructor and Description |
---|
OrganizationalBrandingPropertiesBackgroundImageStreamRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the OrganizationalBrandingPropertiesBackgroundImageStream
|
Modifier and Type | Method and Description |
---|---|
java.io.InputStream |
get()
Gets the contents of this stream
|
java.util.concurrent.CompletableFuture<java.io.InputStream> |
getAsync()
Gets the contents of this stream
|
OrganizationalBrandingProperties |
put(byte[] fileContents)
Uploads to the stream
|
java.util.concurrent.CompletableFuture<OrganizationalBrandingProperties> |
putAsync(byte[] fileContents)
Uploads to the stream
|
addHeader, getDelay, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, send, send, sendAsync, sendAsync, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public OrganizationalBrandingPropertiesBackgroundImageStreamRequest(@Nonnull java.lang.String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request@Nonnull public java.util.concurrent.CompletableFuture<java.io.InputStream> getAsync()
@Nullable public java.io.InputStream get() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- an exception occurs if there was an error while the request was sent@Nonnull public java.util.concurrent.CompletableFuture<OrganizationalBrandingProperties> putAsync(@Nonnull byte[] fileContents)
fileContents
- the contents of the stream to upload@Nullable public OrganizationalBrandingProperties put(@Nonnull byte[] fileContents) throws com.microsoft.graph.core.ClientException
fileContents
- the contents of the stream to uploadcom.microsoft.graph.core.ClientException
- an exception occurs if there was an error while the request was sent