Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit e324431

Browse files
authored
Merge pull request #21 from microsoftgraph/v0.9.3-beta
v0.9.3 beta release build
2 parents 2fad4f0 + b304a20 commit e324431

File tree

49 files changed

+923
-1
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+923
-1
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,5 @@ mavenGroupId = com.microsoft.graph
2323
mavenArtifactId = msgraph-sdk-android
2424
mavenMajorVersion = 0
2525
mavenMinorVersion = 9
26-
mavenPatchVersion = 2
26+
mavenPatchVersion = 3
2727
nightliesUrl = http://dl.bintray.com/MicrosoftGraph/Maven

graphsdk/src/main/java/com/microsoft/graph/generated/BaseDeviceCollectionRequest.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,28 @@ public Device post(final Device newDevice) throws ClientException {
6767
.post(newDevice);
6868
}
6969

70+
/**
71+
* Sets the expand clause for the request
72+
*
73+
* @param value The expand clause
74+
* @return The updated request
75+
*/
76+
public IDeviceCollectionRequest expand(final String value) {
77+
addQueryOption(new QueryOption("$expand", value));
78+
return (DeviceCollectionRequest)this;
79+
}
80+
81+
/**
82+
* Sets the select clause for the request
83+
*
84+
* @param value The select clause
85+
* @return The updated request
86+
*/
87+
public IDeviceCollectionRequest select(final String value) {
88+
addQueryOption(new QueryOption("$select", value));
89+
return (DeviceCollectionRequest)this;
90+
}
91+
7092
/**
7193
* Sets the top value for the request
7294
*

graphsdk/src/main/java/com/microsoft/graph/generated/BaseDeviceRequest.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,26 @@ public Device post(final Device newDevice) throws ClientException {
108108
return send(HttpMethod.POST, newDevice);
109109
}
110110

111+
/**
112+
* Sets the select clause for the request
113+
*
114+
* @param value The select clause
115+
* @return The updated request
116+
*/
117+
public IDeviceRequest select(final String value) {
118+
getQueryOptions().add(new QueryOption("$select", value));
119+
return (DeviceRequest)this;
120+
}
121+
122+
/**
123+
* Sets the expand clause for the request
124+
*
125+
* @param value The expand clause
126+
* @return The updated request
127+
*/
128+
public IDeviceRequest expand(final String value) {
129+
getQueryOptions().add(new QueryOption("$expand", value));
130+
return (DeviceRequest)this;
131+
}
132+
111133
}

graphsdk/src/main/java/com/microsoft/graph/generated/BaseDirectoryObjectCollectionReferenceRequest.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,28 @@ public DirectoryObject post(final DirectoryObject newDirectoryObject) throws Cli
5050
.post(newDirectoryObject, body);
5151
}
5252

53+
/**
54+
* Sets the expand clause for the request
55+
*
56+
* @param value The expand clause
57+
* @return The updated request
58+
*/
59+
public IDirectoryObjectCollectionReferenceRequest expand(final String value) {
60+
addQueryOption(new QueryOption("$expand", value));
61+
return (DirectoryObjectCollectionReferenceRequest)this;
62+
}
63+
64+
/**
65+
* Sets the select clause for the request
66+
*
67+
* @param value The select clause
68+
* @return The updated request
69+
*/
70+
public IDirectoryObjectCollectionReferenceRequest select(final String value) {
71+
addQueryOption(new QueryOption("$select", value));
72+
return (DirectoryObjectCollectionReferenceRequest)this;
73+
}
74+
5375
/**
5476
* Sets the top value for the request
5577
*

graphsdk/src/main/java/com/microsoft/graph/generated/BaseDirectoryObjectCollectionRequest.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,28 @@ public DirectoryObject post(final DirectoryObject newDirectoryObject) throws Cli
6767
.post(newDirectoryObject);
6868
}
6969

70+
/**
71+
* Sets the expand clause for the request
72+
*
73+
* @param value The expand clause
74+
* @return The updated request
75+
*/
76+
public IDirectoryObjectCollectionRequest expand(final String value) {
77+
addQueryOption(new QueryOption("$expand", value));
78+
return (DirectoryObjectCollectionRequest)this;
79+
}
80+
81+
/**
82+
* Sets the select clause for the request
83+
*
84+
* @param value The select clause
85+
* @return The updated request
86+
*/
87+
public IDirectoryObjectCollectionRequest select(final String value) {
88+
addQueryOption(new QueryOption("$select", value));
89+
return (DirectoryObjectCollectionRequest)this;
90+
}
91+
7092
/**
7193
* Sets the top value for the request
7294
*

graphsdk/src/main/java/com/microsoft/graph/generated/BaseDirectoryObjectCollectionWithReferencesRequest.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,16 @@ public IDirectoryObjectCollectionWithReferencesPage get() throws ClientException
5353
return buildFromResponse(response);
5454
}
5555

56+
public IDirectoryObjectCollectionWithReferencesRequest expand(final String value) {
57+
addQueryOption(new QueryOption("$expand", value));
58+
return (DirectoryObjectCollectionWithReferencesRequest)this;
59+
}
60+
61+
public IDirectoryObjectCollectionWithReferencesRequest select(final String value) {
62+
addQueryOption(new QueryOption("$select", value));
63+
return (DirectoryObjectCollectionWithReferencesRequest)this;
64+
}
65+
5666
public IDirectoryObjectCollectionWithReferencesRequest top(final int value) {
5767
addQueryOption(new QueryOption("$top", value + ""));
5868
return (DirectoryObjectCollectionWithReferencesRequest)this;

graphsdk/src/main/java/com/microsoft/graph/generated/BaseDirectoryObjectReferenceRequest.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,4 +41,25 @@ public DirectoryObject delete() throws ClientException {
4141
return send(HttpMethod.DELETE, null);
4242
}
4343

44+
/**
45+
* Sets the select clause for the request
46+
*
47+
* @param value The select clause
48+
* @return The updated request
49+
*/
50+
public IDirectoryObjectReferenceRequest select(final String value) {
51+
getQueryOptions().add(new QueryOption("$select", value));
52+
return (DirectoryObjectReferenceRequest)this;
53+
}
54+
55+
/**
56+
* Sets the expand clause for the request
57+
*
58+
* @param value The expand clause
59+
* @return The updated request
60+
*/
61+
public IDirectoryObjectReferenceRequest expand(final String value) {
62+
getQueryOptions().add(new QueryOption("$expand", value));
63+
return (DirectoryObjectReferenceRequest)this;
64+
}
4465
}

graphsdk/src/main/java/com/microsoft/graph/generated/BaseDirectoryObjectRequest.java

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,4 +108,26 @@ public DirectoryObject post(final DirectoryObject newDirectoryObject) throws Cli
108108
return send(HttpMethod.POST, newDirectoryObject);
109109
}
110110

111+
/**
112+
* Sets the select clause for the request
113+
*
114+
* @param value The select clause
115+
* @return The updated request
116+
*/
117+
public IDirectoryObjectRequest select(final String value) {
118+
getQueryOptions().add(new QueryOption("$select", value));
119+
return (DirectoryObjectRequest)this;
120+
}
121+
122+
/**
123+
* Sets the expand clause for the request
124+
*
125+
* @param value The expand clause
126+
* @return The updated request
127+
*/
128+
public IDirectoryObjectRequest expand(final String value) {
129+
getQueryOptions().add(new QueryOption("$expand", value));
130+
return (DirectoryObjectRequest)this;
131+
}
132+
111133
}

graphsdk/src/main/java/com/microsoft/graph/generated/BaseDirectoryObjectWithReferenceRequest.java

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,25 @@ public DirectoryObject get() throws ClientException {
5353
return send(HttpMethod.GET, null);
5454
}
5555

56+
/**
57+
* Sets the select clause for the request
58+
*
59+
* @param value The select clause
60+
* @return The updated request
61+
*/
62+
public IDirectoryObjectWithReferenceRequest select(final String value) {
63+
getQueryOptions().add(new QueryOption("$select", value));
64+
return (IDirectoryObjectWithReferenceRequest)this;
65+
}
66+
67+
/**
68+
* Sets the expand clause for the request
69+
*
70+
* @param value The expand clause
71+
* @return The updated request
72+
*/
73+
public IDirectoryObjectWithReferenceRequest expand(final String value) {
74+
getQueryOptions().add(new QueryOption("$expand", value));
75+
return (DirectoryObjectWithReferenceRequest)this;
76+
}
5677
}

graphsdk/src/main/java/com/microsoft/graph/generated/BaseDirectoryRoleCollectionRequest.java

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,39 @@ public DirectoryRole post(final DirectoryRole newDirectoryRole) throws ClientExc
6767
.post(newDirectoryRole);
6868
}
6969

70+
/**
71+
* Sets the expand clause for the request
72+
*
73+
* @param value The expand clause
74+
* @return The updated request
75+
*/
76+
public IDirectoryRoleCollectionRequest expand(final String value) {
77+
addQueryOption(new QueryOption("$expand", value));
78+
return (DirectoryRoleCollectionRequest)this;
79+
}
80+
81+
/**
82+
* Sets the select clause for the request
83+
*
84+
* @param value The select clause
85+
* @return The updated request
86+
*/
87+
public IDirectoryRoleCollectionRequest select(final String value) {
88+
addQueryOption(new QueryOption("$select", value));
89+
return (DirectoryRoleCollectionRequest)this;
90+
}
91+
92+
/**
93+
* Sets the top value for the request
94+
*
95+
* @param value The max number of items to return
96+
* @return The updated request
97+
*/
98+
public IDirectoryRoleCollectionRequest top(final int value) {
99+
addQueryOption(new QueryOption("$top", value + ""));
100+
return (DirectoryRoleCollectionRequest)this;
101+
}
102+
70103
public IDirectoryRoleCollectionPage buildFromResponse(final BaseDirectoryRoleCollectionResponse response) {
71104
final IDirectoryRoleCollectionRequestBuilder builder;
72105
if (response.nextLink != null) {

0 commit comments

Comments
 (0)