Package com.microsoft.graph.requests
Class PlannerGroupRequest
java.lang.Object
com.microsoft.graph.http.BaseRequest<PlannerGroup>
com.microsoft.graph.requests.PlannerGroupRequest
- All Implemented Interfaces:
com.microsoft.graph.http.IHttpRequest
The class for the Planner Group Request.
-
Field Summary
Fields inherited from class com.microsoft.graph.http.BaseRequest
functionOptions, queryOptions, REQUEST_STATS_HEADER_VALUE_FORMAT_STRING
-
Constructor Summary
ConstructorsConstructorDescriptionPlannerGroupRequest
(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request for the PlannerGroup -
Method Summary
Modifier and TypeMethodDescriptiondelete()
Delete this item from the serviceDelete this item from the serviceSets the expand clause for the requestget()
Gets the PlannerGroup from the servicegetAsync()
Gets the PlannerGroup from the servicepatch
(PlannerGroup sourcePlannerGroup) Patches this PlannerGroup with a sourcepatchAsync
(PlannerGroup sourcePlannerGroup) Patches this PlannerGroup with a sourcepost
(PlannerGroup newPlannerGroup) Creates a PlannerGroup with a new objectpostAsync
(PlannerGroup newPlannerGroup) Creates a PlannerGroup with a new objectput
(PlannerGroup newPlannerGroup) Creates a PlannerGroup with a new objectputAsync
(PlannerGroup newPlannerGroup) Creates a PlannerGroup with a new objectSets the select clause for the requestMethods inherited from class com.microsoft.graph.http.BaseRequest
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.microsoft.graph.http.IHttpRequest
getHttpRequest
-
Constructor Details
-
PlannerGroupRequest
public PlannerGroupRequest(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request for the PlannerGroup- Parameters:
requestUrl
- the request URLclient
- the service clientrequestOptions
- the options for this request
-
-
Method Details
-
getAsync
Gets the PlannerGroup from the service- Returns:
- a future with the result
-
get
Gets the PlannerGroup from the service- Returns:
- the PlannerGroup from the request
- Throws:
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason
-
deleteAsync
Delete this item from the service- Returns:
- a future with the deletion result
-
delete
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<PlannerGroup> patchAsync(@Nonnull PlannerGroup sourcePlannerGroup) Patches this PlannerGroup with a source- Parameters:
sourcePlannerGroup
- the source object with updates- Returns:
- a future with the result
-
patch
@Nullable public PlannerGroup patch(@Nonnull PlannerGroup sourcePlannerGroup) throws com.microsoft.graph.core.ClientException Patches this PlannerGroup with a source- Parameters:
sourcePlannerGroup
- the source object with updates- Returns:
- the updated PlannerGroup
- Throws:
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason
-
postAsync
Creates a PlannerGroup with a new object- Parameters:
newPlannerGroup
- the new object to create- Returns:
- a future with the result
-
post
@Nullable public PlannerGroup post(@Nonnull PlannerGroup newPlannerGroup) throws com.microsoft.graph.core.ClientException Creates a PlannerGroup with a new object- Parameters:
newPlannerGroup
- the new object to create- Returns:
- the created PlannerGroup
- Throws:
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason
-
putAsync
Creates a PlannerGroup with a new object- Parameters:
newPlannerGroup
- the object to create/update- Returns:
- a future with the result
-
put
@Nullable public PlannerGroup put(@Nonnull PlannerGroup newPlannerGroup) throws com.microsoft.graph.core.ClientException Creates a PlannerGroup with a new object- Parameters:
newPlannerGroup
- the object to create/update- Returns:
- the created PlannerGroup
- Throws:
com.microsoft.graph.core.ClientException
- this exception occurs if the request was unable to complete for any reason
-
select
Sets the select clause for the request- Parameters:
value
- the select clause- Returns:
- the updated request
-
expand
Sets the expand clause for the request- Parameters:
value
- the expand clause- Returns:
- the updated request
-