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