public class SchemaExtensionRequest extends com.microsoft.graph.http.BaseRequest<SchemaExtension>
Constructor and Description |
---|
SchemaExtensionRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the SchemaExtension
|
Modifier and Type | Method and Description |
---|---|
SchemaExtension |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<SchemaExtension> |
deleteAsync()
Delete this item from the service
|
SchemaExtensionRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
SchemaExtension |
get()
Gets the SchemaExtension from the service
|
java.util.concurrent.CompletableFuture<SchemaExtension> |
getAsync()
Gets the SchemaExtension from the service
|
SchemaExtension |
patch(SchemaExtension sourceSchemaExtension)
Patches this SchemaExtension with a source
|
java.util.concurrent.CompletableFuture<SchemaExtension> |
patchAsync(SchemaExtension sourceSchemaExtension)
Patches this SchemaExtension with a source
|
SchemaExtension |
post(SchemaExtension newSchemaExtension)
Creates a SchemaExtension with a new object
|
java.util.concurrent.CompletableFuture<SchemaExtension> |
postAsync(SchemaExtension newSchemaExtension)
Creates a SchemaExtension with a new object
|
SchemaExtension |
put(SchemaExtension newSchemaExtension)
Creates a SchemaExtension with a new object
|
java.util.concurrent.CompletableFuture<SchemaExtension> |
putAsync(SchemaExtension newSchemaExtension)
Creates a SchemaExtension with a new object
|
SchemaExtensionRequest |
select(java.lang.String value)
Sets the select clause for the request
|
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, getClient, getDelay, getFunctionOptions, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getQueryOptions, getRequestUrl, getResponseType, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setHttpMethod, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethod
public SchemaExtensionRequest(@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<SchemaExtension> getAsync()
@Nullable public SchemaExtension get() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<SchemaExtension> deleteAsync()
@Nullable public SchemaExtension delete() throws com.microsoft.graph.core.ClientException
com.microsoft.graph.core.ClientException
- if there was an exception during the delete operation@Nonnull public java.util.concurrent.CompletableFuture<SchemaExtension> patchAsync(@Nonnull SchemaExtension sourceSchemaExtension)
sourceSchemaExtension
- the source object with updates@Nullable public SchemaExtension patch(@Nonnull SchemaExtension sourceSchemaExtension) throws com.microsoft.graph.core.ClientException
sourceSchemaExtension
- the source object with updatescom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<SchemaExtension> postAsync(@Nonnull SchemaExtension newSchemaExtension)
newSchemaExtension
- the new object to create@Nullable public SchemaExtension post(@Nonnull SchemaExtension newSchemaExtension) throws com.microsoft.graph.core.ClientException
newSchemaExtension
- the new object to createcom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public java.util.concurrent.CompletableFuture<SchemaExtension> putAsync(@Nonnull SchemaExtension newSchemaExtension)
newSchemaExtension
- the object to create/update@Nullable public SchemaExtension put(@Nonnull SchemaExtension newSchemaExtension) throws com.microsoft.graph.core.ClientException
newSchemaExtension
- the object to create/updatecom.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason@Nonnull public SchemaExtensionRequest select(@Nonnull java.lang.String value)
value
- the select clause@Nonnull public SchemaExtensionRequest expand(@Nonnull java.lang.String value)
value
- the expand clause