Package com.microsoft.graph.requests
Class OfferShiftRequestRequestBuilder
java.lang.Object
com.microsoft.graph.http.BaseRequestBuilder<OfferShiftRequest>
com.microsoft.graph.requests.OfferShiftRequestRequestBuilder
- All Implemented Interfaces:
com.microsoft.graph.http.IRequestBuilder
public class OfferShiftRequestRequestBuilder
extends com.microsoft.graph.http.BaseRequestBuilder<OfferShiftRequest>
The class for the Offer Shift Request Request Builder.
-
Constructor Summary
ConstructorsConstructorDescriptionOfferShiftRequestRequestBuilder(String requestUrl, com.microsoft.graph.core.IBaseClient<?> client, List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the OfferShiftRequest -
Method Summary
Modifier and TypeMethodDescriptionapprove(ScheduleChangeRequestApproveParameterSet parameters) Gets a builder to execute the methodbuildRequest(com.microsoft.graph.options.Option... requestOptions) Creates the requestbuildRequest(List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptionsdecline(ScheduleChangeRequestDeclineParameterSet parameters) Gets a builder to execute the methodMethods inherited from class com.microsoft.graph.http.BaseRequestBuilder
getClient, getOptions, getRequestUrl, getRequestUrlWithAdditionalParameter, getRequestUrlWithAdditionalSegment
-
Constructor Details
-
OfferShiftRequestRequestBuilder
public OfferShiftRequestRequestBuilder(@Nonnull String requestUrl, @Nonnull com.microsoft.graph.core.IBaseClient<?> client, @Nullable List<? extends com.microsoft.graph.options.Option> requestOptions) The request builder for the OfferShiftRequest- Parameters:
requestUrl- the request URLclient- the service clientrequestOptions- the options for this request
-
-
Method Details
-
buildRequest
@Nonnull public OfferShiftRequestRequest buildRequest(@Nullable com.microsoft.graph.options.Option... requestOptions) Creates the request- Parameters:
requestOptions- the options for this request- Returns:
- the OfferShiftRequestRequest instance
-
buildRequest
@Nonnull public OfferShiftRequestRequest buildRequest(@Nonnull List<? extends com.microsoft.graph.options.Option> requestOptions) Creates the request with specific requestOptions instead of the existing requestOptions- Parameters:
requestOptions- the options for this request- Returns:
- the OfferShiftRequestRequest instance
-
decline
@Nonnull public ScheduleChangeRequestDeclineRequestBuilder decline(@Nonnull ScheduleChangeRequestDeclineParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-
approve
@Nonnull public ScheduleChangeRequestApproveRequestBuilder approve(@Nonnull ScheduleChangeRequestApproveParameterSet parameters) Gets a builder to execute the method- Parameters:
parameters- the parameters for the service method- Returns:
- the request builder
-