You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 36f4f8b
Browse filesBrowse the repository at this point in the historyBrowse files
public class CustomRequestBuilder<T> extends BaseRequestBuilder<T> {
19
18
/** Type to use for response deserialization */
20
19
public final Class<T> responseType;
21
-
20
+
22
21
/**
23
22
* Instanciates a new custom request builder
24
-
*
23
+
*
25
24
* @param requestUrl the URL to send the request to
26
25
* @param client the client to use for the request
27
26
* @param requestOptions options to apply to the request
28
27
* @param responseType type to use for response deserialization
29
28
*/
30
-
public CustomRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final List<? extends Option> requestOptions, @Nonnull final Class<T> responseType) {
29
+
public CustomRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient<?> client, @Nullable final List<? extends Option> requestOptions, @Nonnull final Class<T> responseType) {
31
30
super(requestUrl, client, requestOptions);
32
31
this.responseType = responseType;
33
32
}
34
-
33
+
35
34
/**
36
35
* Builds the request to be executed
37
-
*
36
+
*
38
37
* @return the request to be executed
39
38
* @param requestOptions the options to apply to the request
40
39
*/
41
40
@Nonnull
42
41
public CustomRequest<T> buildRequest(@Nullable final com.microsoft.graph.options.Option... requestOptions) {
43
42
return buildRequest(getOptions(requestOptions));
44
43
}
45
-
44
+
46
45
/**
47
46
* Builds the request to be executed
48
-
*
47
+
*
49
48
* @return the request to be executed
50
49
* @param requestOptions the options to apply to the request
@@ -47,7 +43,7 @@ public class BaseCollectionReferenceRequestBuilder<T, T2 extends BaseRequestBuil
47
43
* @param requestBuilderClass the class for the request builder
48
44
* @param collectionRequestClass the class for the collection request
49
45
*/
50
-
public BaseCollectionReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient client, @Nullable final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions,
46
+
public BaseCollectionReferenceRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient<?> client, @Nullable final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions,
51
47
@Nonnull final Class<T2> requestBuilderClass,
52
48
@Nonnull final Class<T5> collectionRequestClass) {
0 commit comments