public class SchemaRequest extends com.microsoft.graph.http.BaseRequest<Schema>
| Constructor and Description |
|---|
SchemaRequest(java.lang.String requestUrl,
com.microsoft.graph.core.IBaseClient<?> client,
java.util.List<? extends com.microsoft.graph.options.Option> requestOptions)
The request for the Schema
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
delete()
Delete this item from the service
|
java.util.concurrent.CompletableFuture<Schema> |
deleteAsync()
Delete this item from the service
|
SchemaRequest |
expand(java.lang.String value)
Sets the expand clause for the request
|
Schema |
get()
Gets the Schema from the service
|
java.util.concurrent.CompletableFuture<Schema> |
getAsync()
Gets the Schema from the service
|
Schema |
patch(Schema sourceSchema)
Patches this Schema with a source
|
java.util.concurrent.CompletableFuture<Schema> |
patchAsync(Schema sourceSchema)
Patches this Schema with a source
|
Schema |
post(Schema newSchema)
Creates a Schema with a new object
|
java.util.concurrent.CompletableFuture<Schema> |
postAsync(Schema newSchema)
Creates a Schema with a new object
|
Schema |
put(Schema newSchema)
Creates a Schema with a new object
|
java.util.concurrent.CompletableFuture<Schema> |
putAsync(Schema newSchema)
Creates a Schema with a new object
|
SchemaRequest |
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, withHttpMethodpublic SchemaRequest(@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<Schema> getAsync()
@Nullable public Schema 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<Schema> deleteAsync()
@Nullable public Schema 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<Schema> patchAsync(@Nonnull Schema sourceSchema)
sourceSchema - the source object with updates@Nullable public Schema patch(@Nonnull Schema sourceSchema) throws com.microsoft.graph.core.ClientException
sourceSchema - 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<Schema> postAsync(@Nonnull Schema newSchema)
newSchema - the new object to create@Nullable public Schema post(@Nonnull Schema newSchema) throws com.microsoft.graph.core.ClientException
newSchema - 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<Schema> putAsync(@Nonnull Schema newSchema)
newSchema - the object to create/update@Nullable public Schema put(@Nonnull Schema newSchema) throws com.microsoft.graph.core.ClientException
newSchema - the object to create/updatecom.microsoft.graph.core.ClientException - this exception occurs if the request was unable to complete for any reason@Nonnull public SchemaRequest select(@Nonnull java.lang.String value)
value - the select clause@Nonnull public SchemaRequest expand(@Nonnull java.lang.String value)
value - the expand clause