forked from microsoftgraph/msgraph-sdk-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBaseAlertRequestBuilder.java
More file actions
52 lines (43 loc) · 1.86 KB
/
Copy pathBaseAlertRequestBuilder.java
File metadata and controls
52 lines (43 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// ------------------------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
// ------------------------------------------------------------------------------
package com.microsoft.graph.requests.generated;
import com.microsoft.graph.requests.extensions.IAlertRequest;
import com.microsoft.graph.requests.extensions.AlertRequest;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.options.Option;
import java.util.EnumSet;
// **NOTE** This file was generated by a tool and any changes will be overwritten.
/**
* The class for the Base Alert Request Builder.
*/
public class BaseAlertRequestBuilder extends BaseRequestBuilder implements IBaseAlertRequestBuilder {
/**
* The request builder for the Alert
*
* @param requestUrl the request URL
* @param client the service client
* @param requestOptions the options for this request
*/
public BaseAlertRequestBuilder(final String requestUrl, final IBaseClient client, final java.util.List<? extends Option> requestOptions) {
super(requestUrl, client, requestOptions);
}
/**
* Creates the request
*
* @return the IAlertRequest instance
*/
public IAlertRequest buildRequest() {
return buildRequest(getOptions());
}
/**
* Creates the request with specific requestOptions instead of the existing requestOptions
*
* @param requestOptions the options for this request
* @return the IAlertRequest instance
*/
public IAlertRequest buildRequest(final java.util.List<? extends Option> requestOptions) {
return new AlertRequest(getRequestUrl(), getClient(), requestOptions);
}
}