Skip to content

Commit 2b81d61

Browse files
Merge pull request #370 from microsoftgraph/beta/pipelinebuild/84225
Generated beta models and request builders using Typewriter
2 parents d3675fc + 66e6822 commit 2b81d61

File tree

237 files changed

+15439
-388
lines changed

Some content is hidden

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

237 files changed

+15439
-388
lines changed

CHANGELOG.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,27 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Changed
1313

14+
## [0.55.0] - 2022-09-01
15+
16+
### Added
17+
18+
- DataProcessorServiceForWindowsFeaturesOnboarding model.
19+
- DetectedAppPlatformType model.
20+
- SubjectSet model.
21+
- CreateRemoteHelpSessionResponse model and requests.
22+
- DeletedItemContainer model and requests.
23+
- ManagedDeviceCreateRemoteHelpSession models and requests.
24+
- ManagedDeviceRequestRemoteHelpSessionAccess models and requests.
25+
- ManagedDeviceRetrieveRemoteHelpSession models and requests.
26+
- RequestRemoteHelpSessionAccessResponse model and requests.
27+
- RetrieveRemoteHelpSessionResponse model and requests.
28+
- WinGetApp models and requests.
29+
- Models and Requests added to the IdentityGovernance namespace.
30+
31+
### Changed
32+
33+
- Updated beta models and request builders generated using Typewriter, based on latest Beta-Metadata.
34+
1435
## [0.54.0] - 2022-08-23
1536

1637
### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ repositories {
2020
2121
dependencies {
2222
// Include the sdk as a dependency
23-
implementation 'com.microsoft.graph:microsoft-graph-beta:0.54.0-SNAPSHOT'
23+
implementation 'com.microsoft.graph:microsoft-graph-beta:0.55.0-SNAPSHOT'
2424
// Uncomment the line below if you are building an android application
2525
//implementation 'com.google.guava:guava:30.1.1-android'
2626
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -37,7 +37,7 @@ Add the dependency in `dependencies` in pom.xml
3737
<!-- Include the sdk as a dependency -->
3838
<groupId>com.microsoft.graph</groupId>
3939
<artifactId>microsoft-graph-beta</artifactId>
40-
<version>0.54.0-SNAPSHOT</version>
40+
<version>0.55.0-SNAPSHOT</version>
4141
</dependency>
4242
<dependency>
4343
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -191,5 +191,6 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
191191

192192

193193

194+
194195

195196

gradle.properties

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ org.gradle.caching=true
2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph-beta
2828
mavenMajorVersion = 0
29-
mavenMinorVersion = 54
29+
mavenMinorVersion = 55
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -90,5 +90,6 @@ mavenCentralPublishingEnabled=false
9090

9191

9292

93+
9394

9495

src/main/java/com/microsoft/graph/callrecords/models/ClientUserAgent.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,24 @@
2727
public class ClientUserAgent extends UserAgent implements IJsonBackedObject {
2828

2929

30+
/**
31+
* The Azure ADApp Id.
32+
* The unique identifier of the Azure AD application used by this endpoint.
33+
*/
34+
@SerializedName(value = "azureADAppId", alternate = {"AzureADAppId"})
35+
@Expose
36+
@Nullable
37+
public String azureADAppId;
38+
39+
/**
40+
* The Communication Service Id.
41+
* Immutable resource identifier of the Azure Communication Service associated with this endpoint based on Communication Services APIs.
42+
*/
43+
@SerializedName(value = "communicationServiceId", alternate = {"CommunicationServiceId"})
44+
@Expose
45+
@Nullable
46+
public String communicationServiceId;
47+
3048
/**
3149
* The Platform.
3250
* Identifies the platform used by this endpoint. Possible values are: unknown, windows, macOS, iOS, android, web, ipPhone, roomSystem, surfaceHub, holoLens, unknownFutureValue.
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
// Template Source: BaseEntityCollectionPage.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.identitygovernance.requests;
7+
import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
8+
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequestBuilder;
9+
import javax.annotation.Nullable;
10+
import javax.annotation.Nonnull;
11+
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionResponse;
12+
import com.microsoft.graph.http.BaseCollectionPage;
13+
14+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
15+
16+
/**
17+
* The class for the Custom Task Extension Collection Page.
18+
*/
19+
public class CustomTaskExtensionCollectionPage extends BaseCollectionPage<CustomTaskExtension, CustomTaskExtensionCollectionRequestBuilder> {
20+
21+
/**
22+
* A collection page for CustomTaskExtension
23+
*
24+
* @param response the serialized CustomTaskExtensionCollectionResponse from the service
25+
* @param builder the request builder for the next collection page
26+
*/
27+
public CustomTaskExtensionCollectionPage(@Nonnull final CustomTaskExtensionCollectionResponse response, @Nonnull final CustomTaskExtensionCollectionRequestBuilder builder) {
28+
super(response, builder);
29+
}
30+
31+
/**
32+
* Creates the collection page for CustomTaskExtension
33+
*
34+
* @param pageContents the contents of this page
35+
* @param nextRequestBuilder the request builder for the next page
36+
*/
37+
public CustomTaskExtensionCollectionPage(@Nonnull final java.util.List<CustomTaskExtension> pageContents, @Nullable final CustomTaskExtensionCollectionRequestBuilder nextRequestBuilder) {
38+
super(pageContents, nextRequestBuilder);
39+
}
40+
}
Lines changed: 173 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,173 @@
1+
// Template Source: BaseEntityCollectionRequest.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.identitygovernance.requests;
7+
8+
import com.microsoft.graph.http.IRequestBuilder;
9+
import com.microsoft.graph.core.ClientException;
10+
import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
11+
import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
12+
import java.util.Arrays;
13+
import java.util.EnumSet;
14+
import javax.annotation.Nullable;
15+
import javax.annotation.Nonnull;
16+
17+
import com.microsoft.graph.options.QueryOption;
18+
import com.microsoft.graph.core.IBaseClient;
19+
import com.microsoft.graph.http.BaseEntityCollectionRequest;
20+
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionResponse;
21+
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequestBuilder;
22+
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequest;
23+
24+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
25+
26+
/**
27+
* The class for the Custom Task Extension Collection Request.
28+
*/
29+
public class CustomTaskExtensionCollectionRequest extends BaseEntityCollectionRequest<CustomTaskExtension, CustomTaskExtensionCollectionResponse, CustomTaskExtensionCollectionPage> {
30+
31+
/**
32+
* The request builder for this collection of CustomTaskExtension
33+
*
34+
* @param requestUrl the request URL
35+
* @param client the service client
36+
* @param requestOptions the options for this request
37+
*/
38+
public CustomTaskExtensionCollectionRequest(@Nonnull final String requestUrl, @Nonnull final IBaseClient<?> client, @Nullable final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
39+
super(requestUrl, client, requestOptions, CustomTaskExtensionCollectionResponse.class, CustomTaskExtensionCollectionPage.class, CustomTaskExtensionCollectionRequestBuilder.class);
40+
}
41+
42+
/**
43+
* Creates a new CustomTaskExtension
44+
* @param newCustomTaskExtension the CustomTaskExtension to create
45+
* @return a future with the created object
46+
*/
47+
@Nonnull
48+
public java.util.concurrent.CompletableFuture<CustomTaskExtension> postAsync(@Nonnull final CustomTaskExtension newCustomTaskExtension) {
49+
final String requestUrl = getBaseRequest().getRequestUrl().toString();
50+
return new CustomTaskExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
51+
.buildRequest(getBaseRequest().getHeaders())
52+
.postAsync(newCustomTaskExtension);
53+
}
54+
55+
/**
56+
* Creates a new CustomTaskExtension
57+
* @param newCustomTaskExtension the CustomTaskExtension to create
58+
* @return the newly created object
59+
*/
60+
@Nonnull
61+
public CustomTaskExtension post(@Nonnull final CustomTaskExtension newCustomTaskExtension) throws ClientException {
62+
final String requestUrl = getBaseRequest().getRequestUrl().toString();
63+
return new CustomTaskExtensionRequestBuilder(requestUrl, getBaseRequest().getClient(), /* Options */ null)
64+
.buildRequest(getBaseRequest().getHeaders())
65+
.post(newCustomTaskExtension);
66+
}
67+
68+
/**
69+
* Sets the expand clause for the request
70+
*
71+
* @param value the expand clause
72+
* @return the updated request
73+
*/
74+
@Nonnull
75+
public CustomTaskExtensionCollectionRequest expand(@Nonnull final String value) {
76+
addExpandOption(value);
77+
return this;
78+
}
79+
80+
/**
81+
* Sets the filter clause for the request
82+
*
83+
* @param value the filter clause
84+
* @return the updated request
85+
*/
86+
@Nonnull
87+
public CustomTaskExtensionCollectionRequest filter(@Nonnull final String value) {
88+
addFilterOption(value);
89+
return this;
90+
}
91+
92+
/**
93+
* Sets the order by clause for the request
94+
*
95+
* @param value the order by clause
96+
* @return the updated request
97+
*/
98+
@Nonnull
99+
public CustomTaskExtensionCollectionRequest orderBy(@Nonnull final String value) {
100+
addOrderByOption(value);
101+
return this;
102+
}
103+
104+
/**
105+
* Sets the select clause for the request
106+
*
107+
* @param value the select clause
108+
* @return the updated request
109+
*/
110+
@Nonnull
111+
public CustomTaskExtensionCollectionRequest select(@Nonnull final String value) {
112+
addSelectOption(value);
113+
return this;
114+
}
115+
116+
/**
117+
* Sets the top value for the request
118+
*
119+
* @param value the max number of items to return
120+
* @return the updated request
121+
*/
122+
@Nonnull
123+
public CustomTaskExtensionCollectionRequest top(final int value) {
124+
addTopOption(value);
125+
return this;
126+
}
127+
128+
/**
129+
* Sets the count value for the request
130+
*
131+
* @param value whether or not to return the count of objects with the request
132+
* @return the updated request
133+
*/
134+
@Nonnull
135+
public CustomTaskExtensionCollectionRequest count(final boolean value) {
136+
addCountOption(value);
137+
return this;
138+
}
139+
/**
140+
* Sets the count value to true for the request
141+
*
142+
* @return the updated request
143+
*/
144+
@Nonnull
145+
public CustomTaskExtensionCollectionRequest count() {
146+
addCountOption(true);
147+
return this;
148+
}
149+
/**
150+
* Sets the skip value for the request
151+
*
152+
* @param value of the number of items to skip
153+
* @return the updated request
154+
*/
155+
@Nonnull
156+
public CustomTaskExtensionCollectionRequest skip(final int value) {
157+
addSkipOption(value);
158+
return this;
159+
}
160+
161+
162+
/**
163+
* Add Skip token for pagination
164+
* @param skipToken - Token for pagination
165+
* @return the updated request
166+
*/
167+
@Nonnull
168+
public CustomTaskExtensionCollectionRequest skipToken(@Nonnull final String skipToken) {
169+
addSkipTokenOption(skipToken);
170+
return this;
171+
}
172+
}
173+
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// Template Source: BaseEntityCollectionRequestBuilder.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.identitygovernance.requests;
7+
8+
import com.microsoft.graph.http.IRequestBuilder;
9+
import com.microsoft.graph.core.ClientException;
10+
import com.microsoft.graph.identitygovernance.models.LifecycleWorkflowsContainer;
11+
import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
12+
import java.util.Arrays;
13+
import java.util.EnumSet;
14+
import javax.annotation.Nullable;
15+
import javax.annotation.Nonnull;
16+
17+
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequestBuilder;
18+
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionRequestBuilder;
19+
import com.microsoft.graph.identitygovernance.requests.CustomTaskExtensionCollectionRequest;
20+
import com.microsoft.graph.http.BaseCollectionRequestBuilder;
21+
import com.microsoft.graph.core.IBaseClient;
22+
import com.microsoft.graph.http.PrimitiveRequestBuilder;
23+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
24+
25+
/**
26+
* The class for the Custom Task Extension Collection Request Builder.
27+
*/
28+
public class CustomTaskExtensionCollectionRequestBuilder extends BaseCollectionRequestBuilder<CustomTaskExtension, CustomTaskExtensionRequestBuilder, CustomTaskExtensionCollectionResponse, CustomTaskExtensionCollectionPage, CustomTaskExtensionCollectionRequest> {
29+
30+
/**
31+
* The request builder for this collection of LifecycleWorkflowsContainer
32+
*
33+
* @param requestUrl the request URL
34+
* @param client the service client
35+
* @param requestOptions the options for this request
36+
*/
37+
public CustomTaskExtensionCollectionRequestBuilder(@Nonnull final String requestUrl, @Nonnull final IBaseClient<?> client, @Nullable final java.util.List<? extends com.microsoft.graph.options.Option> requestOptions) {
38+
super(requestUrl, client, requestOptions, CustomTaskExtensionRequestBuilder.class, CustomTaskExtensionCollectionRequest.class);
39+
}
40+
41+
42+
43+
/**
44+
* Gets the raw count request for the collection
45+
* @return The raw count request for the collection
46+
*/
47+
@Nonnull
48+
public PrimitiveRequestBuilder<Long> count() {
49+
return new PrimitiveRequestBuilder<Long>(getRequestUrlWithAdditionalSegment("$count"), getClient(), null, Long.class);
50+
}
51+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// Template Source: BaseEntityCollectionResponse.java.tt
2+
// ------------------------------------------------------------------------------
3+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
4+
// ------------------------------------------------------------------------------
5+
6+
package com.microsoft.graph.identitygovernance.requests;
7+
import com.microsoft.graph.identitygovernance.models.CustomTaskExtension;
8+
9+
import com.microsoft.graph.http.BaseCollectionResponse;
10+
11+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
12+
13+
/**
14+
* The class for the Custom Task Extension Collection Response.
15+
*/
16+
public class CustomTaskExtensionCollectionResponse extends BaseCollectionResponse<CustomTaskExtension> {
17+
18+
}

0 commit comments

Comments
 (0)