Package com.microsoft.graph.http
Class BaseVoidActionCollectionRequest<T,T2 extends ICollectionResponse<T>,T3 extends BaseCollectionPage<T,? extends BaseRequestBuilder<T>>>
java.lang.Object
com.microsoft.graph.http.BaseCollectionRequest<T,T2,T3>
com.microsoft.graph.http.BaseVoidActionCollectionRequest<T,T2,T3>
- Type Parameters:
T- the type of the object in the collectionT2- the response collection typeT3- the collection page type
- All Implemented Interfaces:
IHttpRequest
public abstract class BaseVoidActionCollectionRequest<T,T2 extends ICollectionResponse<T>,T3 extends BaseCollectionPage<T,? extends BaseRequestBuilder<T>>>
extends BaseCollectionRequest<T,T2,T3>
A request against a collection bound action
-
Field Summary
Fields inherited from class com.microsoft.graph.http.BaseCollectionRequest
responseCollectionClass -
Constructor Summary
ConstructorsConstructorDescriptionBaseVoidActionCollectionRequest(String requestUrl, IBaseClient<?> client, List<? extends Option> options, Class<T2> responseCollectionClass, Class<T3> collectionPageClass, Class<? extends BaseCollectionRequestBuilder<T,? extends BaseRequestBuilder<T>,T2,T3,? extends BaseCollectionRequest<T,T2,T3>>> collectionRequestBuilderClass)Create the collection request -
Method Summary
Modifier and TypeMethodDescriptionpost()Invokes the methodInvokes the method and calls the callback with the resulting collection of objectsMethods inherited from class com.microsoft.graph.http.BaseCollectionRequest
addCountOption, addExpandOption, addFilterOption, addFunctionOption, addHeader, addOrderByOption, addQueryOption, addSelectOption, addSkipOption, addSkipTokenOption, addTopOption, buildFromResponse, getBaseRequest, getCollectionPageClass, getDelay, getHeaders, getHttpMethod, getHttpRequest, getMaxRedirects, getMaxRetries, getOptions, getRequestUrl, getShouldRedirect, getShouldRetry, getUseCaches, send, sendAsync, setDelay, setMaxRedirects, setMaxRetries, setShouldRedirect, setShouldRetry, setUseCaches, withHttpMethodMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.http.IHttpRequest
getHttpRequest
-
Constructor Details
-
BaseVoidActionCollectionRequest
public BaseVoidActionCollectionRequest(@Nonnull String requestUrl, @Nonnull IBaseClient<?> client, @Nullable List<? extends Option> options, @Nonnull Class<T2> responseCollectionClass, @Nonnull Class<T3> collectionPageClass, @Nonnull Class<? extends BaseCollectionRequestBuilder<T,? extends BaseRequestBuilder<T>,T2,T3,? extends BaseCollectionRequest<T,T2,T3>>> collectionRequestBuilderClass)Create the collection request- Parameters:
requestUrl- the URL to make the request againstclient- the client which can issue the requestoptions- the options for this requestresponseCollectionClass- the class for the response collectioncollectionPageClass- the class for the collection pagecollectionRequestBuilderClass- the class for the collection request builder
-
-
Method Details
-
postAsync
Invokes the method and calls the callback with the resulting collection of objects- Returns:
- a future with the result
-
post
Invokes the method- Throws:
ClientException
-