Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,14 @@
import com.microsoft.graph.authentication.IAuthenticationProvider;
import com.microsoft.graph.logger.ILogger;
import com.microsoft.graph.serializer.ISerializer;
import okhttp3.Call;
import okhttp3.OkHttpClient;
import okhttp3.Request;

// **NOTE** This file was generated by a tool and any changes will be overwritten.

/**
* The class for the Graph Service Client.
* The class for the Graph Service Client.
* @param <nativeRequestType> type of a request for the native http client
*/
public class GraphServiceClient<nativeRequestType> extends BaseClient<nativeRequestType> implements IBaseClient<nativeRequestType> {
Expand Down Expand Up @@ -63,14 +64,14 @@ public static Builder<OkHttpClient, Request> builder() {
* @return builder to start configuring the client
*/
@Nonnull
public static <nativeClient, nativeRequest> Builder<nativeClient, nativeRequest> builder(@Nonnull final Class<nativeClient> nativeClientClass, @Nonnull final Class<nativeRequest> nativeRequestClass) {
public static <nativeClient extends Call.Factory, nativeRequest> Builder<nativeClient, nativeRequest> builder(@Nonnull final Class<nativeClient> nativeClientClass, @Nonnull final Class<nativeRequest> nativeRequestClass) {
return new Builder<>();
}
/**
* Builder to help configure the Graph service client
* @param <nativeRequestType> type of a request for the native http client
*/
public static class Builder<httpClientType, nativeRequestType> extends BaseClient.Builder<httpClientType, nativeRequestType> {
public static class Builder<httpClientType extends Call.Factory, nativeRequestType> extends BaseClient.Builder<httpClientType, nativeRequestType> {
/**
* Sets the serializer.
*
Expand Down