Skip to content

Commit cbaa9c5

Browse files
committed
- updated unit test reference files
1 parent 601e674 commit cbaa9c5

16 files changed

+296
-0
lines changed

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/CallCollectionRequest.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,27 @@ public ICallCollectionRequest top(final int value) {
106106
return (CallCollectionRequest)this;
107107
}
108108

109+
/**
110+
* Sets the skip value for the request
111+
*
112+
* @param value of the number of items to skip
113+
* @return the updated request
114+
*/
115+
public ICallCollectionRequest skip(final int value) {
116+
addQueryOption(new com.microsoft.graph.options.QueryOption("$skip", value + ""));
117+
return (CallCollectionRequest)this;
118+
}
119+
120+
121+
/**
122+
* Add Skip token for pagination
123+
* @param skipToken - Token for pagination
124+
* @return the updated request
125+
*/
126+
public ICallCollectionRequest skipToken(final String skipToken) {
127+
addQueryOption(new QueryOption("$skiptoken", skipToken));
128+
return (ICallCollectionRequest)this;
129+
}
109130
public ICallCollectionPage buildFromResponse(final CallCollectionResponse response) {
110131
final ICallCollectionRequestBuilder builder;
111132
if (response.nextLink != null) {

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/EntityType2CollectionRequest.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,27 @@ public IEntityType2CollectionRequest top(final int value) {
106106
return (EntityType2CollectionRequest)this;
107107
}
108108

109+
/**
110+
* Sets the skip value for the request
111+
*
112+
* @param value of the number of items to skip
113+
* @return the updated request
114+
*/
115+
public IEntityType2CollectionRequest skip(final int value) {
116+
addQueryOption(new com.microsoft.graph.options.QueryOption("$skip", value + ""));
117+
return (EntityType2CollectionRequest)this;
118+
}
119+
120+
121+
/**
122+
* Add Skip token for pagination
123+
* @param skipToken - Token for pagination
124+
* @return the updated request
125+
*/
126+
public IEntityType2CollectionRequest skipToken(final String skipToken) {
127+
addQueryOption(new QueryOption("$skiptoken", skipToken));
128+
return (IEntityType2CollectionRequest)this;
129+
}
109130
public IEntityType2CollectionPage buildFromResponse(final EntityType2CollectionResponse response) {
110131
final IEntityType2CollectionRequestBuilder builder;
111132
if (response.nextLink != null) {

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/EntityType3CollectionRequest.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,27 @@ public IEntityType3CollectionRequest top(final int value) {
107107
return (EntityType3CollectionRequest)this;
108108
}
109109

110+
/**
111+
* Sets the skip value for the request
112+
*
113+
* @param value of the number of items to skip
114+
* @return the updated request
115+
*/
116+
public IEntityType3CollectionRequest skip(final int value) {
117+
addQueryOption(new com.microsoft.graph.options.QueryOption("$skip", value + ""));
118+
return (EntityType3CollectionRequest)this;
119+
}
120+
121+
122+
/**
123+
* Add Skip token for pagination
124+
* @param skipToken - Token for pagination
125+
* @return the updated request
126+
*/
127+
public IEntityType3CollectionRequest skipToken(final String skipToken) {
128+
addQueryOption(new QueryOption("$skiptoken", skipToken));
129+
return (IEntityType3CollectionRequest)this;
130+
}
110131
public IEntityType3CollectionPage buildFromResponse(final EntityType3CollectionResponse response) {
111132
final IEntityType3CollectionRequestBuilder builder;
112133
if (response.nextLink != null) {

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/ICallCollectionRequest.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,20 @@ public interface ICallCollectionRequest {
5353
*/
5454
ICallCollectionRequest top(final int value);
5555

56+
/**
57+
* Sets the skip value for the request
58+
*
59+
* @param value of the number of items to skip
60+
* @return the updated request
61+
*/
62+
ICallCollectionRequest skip(final int value);
63+
64+
/**
65+
* Sets the skip token value for the request
66+
*
67+
* @param skipToken value for pagination
68+
*
69+
* @return the updated request
70+
*/
71+
ICallCollectionRequest skipToken(String skipToken);
5672
}

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/IEntityType2CollectionRequest.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,20 @@ public interface IEntityType2CollectionRequest {
5353
*/
5454
IEntityType2CollectionRequest top(final int value);
5555

56+
/**
57+
* Sets the skip value for the request
58+
*
59+
* @param value of the number of items to skip
60+
* @return the updated request
61+
*/
62+
IEntityType2CollectionRequest skip(final int value);
63+
64+
/**
65+
* Sets the skip token value for the request
66+
*
67+
* @param skipToken value for pagination
68+
*
69+
* @return the updated request
70+
*/
71+
IEntityType2CollectionRequest skipToken(String skipToken);
5672
}

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/IEntityType3CollectionRequest.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,20 @@ public interface IEntityType3CollectionRequest {
5454
*/
5555
IEntityType3CollectionRequest top(final int value);
5656

57+
/**
58+
* Sets the skip value for the request
59+
*
60+
* @param value of the number of items to skip
61+
* @return the updated request
62+
*/
63+
IEntityType3CollectionRequest skip(final int value);
64+
65+
/**
66+
* Sets the skip token value for the request
67+
*
68+
* @param skipToken value for pagination
69+
*
70+
* @return the updated request
71+
*/
72+
IEntityType3CollectionRequest skipToken(String skipToken);
5773
}

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/ITimeOffCollectionRequest.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,20 @@ public interface ITimeOffCollectionRequest {
5353
*/
5454
ITimeOffCollectionRequest top(final int value);
5555

56+
/**
57+
* Sets the skip value for the request
58+
*
59+
* @param value of the number of items to skip
60+
* @return the updated request
61+
*/
62+
ITimeOffCollectionRequest skip(final int value);
63+
64+
/**
65+
* Sets the skip token value for the request
66+
*
67+
* @param skipToken value for pagination
68+
*
69+
* @return the updated request
70+
*/
71+
ITimeOffCollectionRequest skipToken(String skipToken);
5672
}

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/ITimeOffRequestCollectionRequest.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,20 @@ public interface ITimeOffRequestCollectionRequest {
5454
*/
5555
ITimeOffRequestCollectionRequest top(final int value);
5656

57+
/**
58+
* Sets the skip value for the request
59+
*
60+
* @param value of the number of items to skip
61+
* @return the updated request
62+
*/
63+
ITimeOffRequestCollectionRequest skip(final int value);
64+
65+
/**
66+
* Sets the skip token value for the request
67+
*
68+
* @param skipToken value for pagination
69+
*
70+
* @return the updated request
71+
*/
72+
ITimeOffRequestCollectionRequest skipToken(String skipToken);
5773
}

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/TimeOffCollectionRequest.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,27 @@ public ITimeOffCollectionRequest top(final int value) {
106106
return (TimeOffCollectionRequest)this;
107107
}
108108

109+
/**
110+
* Sets the skip value for the request
111+
*
112+
* @param value of the number of items to skip
113+
* @return the updated request
114+
*/
115+
public ITimeOffCollectionRequest skip(final int value) {
116+
addQueryOption(new com.microsoft.graph.options.QueryOption("$skip", value + ""));
117+
return (TimeOffCollectionRequest)this;
118+
}
119+
120+
121+
/**
122+
* Add Skip token for pagination
123+
* @param skipToken - Token for pagination
124+
* @return the updated request
125+
*/
126+
public ITimeOffCollectionRequest skipToken(final String skipToken) {
127+
addQueryOption(new QueryOption("$skiptoken", skipToken));
128+
return (ITimeOffCollectionRequest)this;
129+
}
109130
public ITimeOffCollectionPage buildFromResponse(final TimeOffCollectionResponse response) {
110131
final ITimeOffCollectionRequestBuilder builder;
111132
if (response.nextLink != null) {

test/Typewriter.Test/TestDataJava/com/microsoft/graph/requests/extensions/TimeOffRequestCollectionRequest.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,27 @@ public ITimeOffRequestCollectionRequest top(final int value) {
107107
return (TimeOffRequestCollectionRequest)this;
108108
}
109109

110+
/**
111+
* Sets the skip value for the request
112+
*
113+
* @param value of the number of items to skip
114+
* @return the updated request
115+
*/
116+
public ITimeOffRequestCollectionRequest skip(final int value) {
117+
addQueryOption(new com.microsoft.graph.options.QueryOption("$skip", value + ""));
118+
return (TimeOffRequestCollectionRequest)this;
119+
}
120+
121+
122+
/**
123+
* Add Skip token for pagination
124+
* @param skipToken - Token for pagination
125+
* @return the updated request
126+
*/
127+
public ITimeOffRequestCollectionRequest skipToken(final String skipToken) {
128+
addQueryOption(new QueryOption("$skiptoken", skipToken));
129+
return (ITimeOffRequestCollectionRequest)this;
130+
}
110131
public ITimeOffRequestCollectionPage buildFromResponse(final TimeOffRequestCollectionResponse response) {
111132
final ITimeOffRequestCollectionRequestBuilder builder;
112133
if (response.nextLink != null) {

0 commit comments

Comments
 (0)