Skip to content

Commit

Permalink
- updates test files
Browse files Browse the repository at this point in the history
  • Loading branch information
baywet committed Sep 16, 2020
1 parent ba08383 commit 35456e2
Show file tree
Hide file tree
Showing 98 changed files with 572 additions and 161 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import com.microsoft.graph.requests.extensions.ICallCollectionRequest;
import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import java.util.Arrays;

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

Expand All @@ -36,10 +37,22 @@ public CallCollectionRequestBuilder(final String requestUrl, final IBaseClient c
super(requestUrl, client, requestOptions);
}

public ICallCollectionRequest buildRequest() {
return buildRequest(getOptions());
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public ICallCollectionRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public ICallCollectionRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
return new CallCollectionRequest(getRequestUrl(), getClient(), requestOptions);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import java.util.Arrays;

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

Expand All @@ -36,10 +37,11 @@ public CallReferenceRequestBuilder(final String requestUrl, final IBaseClient cl
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return The ICallReferenceRequest instance
*/
public ICallReferenceRequest buildRequest() {
return buildRequest(getOptions());
public ICallReferenceRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.util.EnumSet;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
import java.util.Arrays;

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

Expand All @@ -34,10 +35,11 @@ public CallRequestBuilder(final String requestUrl, final IBaseClient client, fin
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the ICallRequest instance
*/
public ICallRequest buildRequest() {
return buildRequest(getOptions());
public ICallRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import java.util.Arrays;

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

Expand All @@ -35,10 +36,11 @@ public CallWithReferenceRequestBuilder(final String requestUrl, final IBaseClien
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the ICallWithReferenceRequest instance
*/
public ICallWithReferenceRequest buildRequest() {
return buildRequest(getOptions());
public ICallWithReferenceRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
import java.util.EnumSet;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
import java.util.Arrays;

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

Expand All @@ -42,10 +43,11 @@ public CloudCommunicationsRequestBuilder(final String requestUrl, final IBaseCli
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the ICloudCommunicationsRequest instance
*/
public ICloudCommunicationsRequest buildRequest() {
return buildRequest(getOptions());
public ICloudCommunicationsRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.util.EnumSet;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
import java.util.Arrays;

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

Expand All @@ -34,10 +35,11 @@ public EndpointRequestBuilder(final String requestUrl, final IBaseClient client,
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IEndpointRequest instance
*/
public IEndpointRequest buildRequest() {
return buildRequest(getOptions());
public IEndpointRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.util.EnumSet;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
import java.util.Arrays;

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

Expand All @@ -34,10 +35,11 @@ public EntityRequestBuilder(final String requestUrl, final IBaseClient client, f
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IEntityRequest instance
*/
public IEntityRequest buildRequest() {
return buildRequest(getOptions());
public IEntityRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import com.microsoft.graph.requests.extensions.IEntityType2CollectionRequest;
import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import java.util.Arrays;

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

Expand All @@ -36,10 +37,22 @@ public EntityType2CollectionRequestBuilder(final String requestUrl, final IBaseC
super(requestUrl, client, requestOptions);
}

public IEntityType2CollectionRequest buildRequest() {
return buildRequest(getOptions());
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public IEntityType2CollectionRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public IEntityType2CollectionRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
return new EntityType2CollectionRequest(getRequestUrl(), getClient(), requestOptions);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import java.util.Arrays;

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

Expand All @@ -36,10 +37,11 @@ public EntityType2ReferenceRequestBuilder(final String requestUrl, final IBaseCl
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return The IEntityType2ReferenceRequest instance
*/
public IEntityType2ReferenceRequest buildRequest() {
return buildRequest(getOptions());
public IEntityType2ReferenceRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
import java.util.EnumSet;
import com.microsoft.graph.core.IBaseClient;
import com.microsoft.graph.http.BaseRequestBuilder;
import java.util.Arrays;

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

Expand All @@ -34,10 +35,11 @@ public EntityType2RequestBuilder(final String requestUrl, final IBaseClient clie
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IEntityType2Request instance
*/
public IEntityType2Request buildRequest() {
return buildRequest(getOptions());
public IEntityType2Request buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import java.util.Arrays;

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

Expand All @@ -35,10 +36,11 @@ public EntityType2WithReferenceRequestBuilder(final String requestUrl, final IBa
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IEntityType2WithReferenceRequest instance
*/
public IEntityType2WithReferenceRequest buildRequest() {
return buildRequest(getOptions());
public IEntityType2WithReferenceRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import java.util.Arrays;

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

Expand All @@ -35,10 +36,22 @@ public EntityType3CollectionReferenceRequestBuilder(final String requestUrl, fin
super(requestUrl, client, requestOptions);
}

public IEntityType3CollectionReferenceRequest buildRequest() {
return buildRequest(getOptions());
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public IEntityType3CollectionReferenceRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public IEntityType3CollectionReferenceRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
return new EntityType3CollectionReferenceRequest(getRequestUrl(), getClient(), requestOptions);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import com.microsoft.graph.requests.extensions.IEntityType3CollectionRequest;
import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import java.util.Arrays;

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

Expand All @@ -37,10 +38,22 @@ public EntityType3CollectionRequestBuilder(final String requestUrl, final IBaseC
super(requestUrl, client, requestOptions);
}

public IEntityType3CollectionRequest buildRequest() {
return buildRequest(getOptions());
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public IEntityType3CollectionRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public IEntityType3CollectionRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
return new EntityType3CollectionRequest(getRequestUrl(), getClient(), requestOptions);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@

import com.microsoft.graph.http.BaseRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import java.util.Arrays;

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

Expand All @@ -35,10 +36,22 @@ public EntityType3CollectionWithReferencesRequestBuilder(final String requestUrl
super(requestUrl, client, requestOptions);
}

public IEntityType3CollectionWithReferencesRequest buildRequest() {
return buildRequest(getOptions());
/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public IEntityType3CollectionWithReferencesRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
* Creates the request
*
* @param requestOptions the options for this request
* @return the IUserRequest instance
*/
public IEntityType3CollectionWithReferencesRequest buildRequest(final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
return new EntityType3CollectionWithReferencesRequest(getRequestUrl(), getClient(), requestOptions);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
import com.microsoft.graph.core.BaseFunctionRequestBuilder;
import com.microsoft.graph.core.IBaseClient;
import com.google.gson.JsonElement;
import java.util.Arrays;

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

Expand Down Expand Up @@ -43,10 +44,11 @@ public EntityType3ForwardRequestBuilder(final String requestUrl, final IBaseClie
/**
* Creates the IEntityType3ForwardRequest
*
* @param requestOptions the options for the request
* @return the IEntityType3ForwardRequest instance
*/
public IEntityType3ForwardRequest buildRequest() {
return buildRequest(getOptions());
public IEntityType3ForwardRequest buildRequest(final com.microsoft.graph.options.Option... requestOptions) {
return buildRequest(requestOptions != null && requestOptions.length > 0 ? Arrays.asList(requestOptions) : getOptions());
}

/**
Expand Down
Loading

0 comments on commit 35456e2

Please sign in to comment.