Skip to content

Commit fc2b502

Browse files
authored
Merge pull request #890 from microsoftgraph/beta/pipelinebuild/137240
Generated beta models and request builders
2 parents 167fca5 + 0b31507 commit fc2b502

File tree

318 files changed

+12188
-1967
lines changed

Some content is hidden

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

318 files changed

+12188
-1967
lines changed

CHANGELOG.md

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

1212
### Changed
1313

14+
## [6.4.0] - 2024-02-28
15+
16+
### Added
17+
- Weekly generated beta models and request builders using Kiota
18+
1419
## [6.3.0] - 2024-02-23
1520

1621
### Added

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ repositories {
2121
2222
dependencies {
2323
// Include the sdk as a dependency
24-
implementation 'com.microsoft.graph:microsoft-graph-beta:6.3.0'
24+
implementation 'com.microsoft.graph:microsoft-graph-beta:6.4.0'
2525
// Uncomment the line below if you are building an android application
2626
//implementation 'com.google.guava:guava:30.1.1-android'
2727
// This dependency is only needed if you are using the TokenCrendentialAuthProvider
@@ -38,7 +38,7 @@ Add the dependency in `dependencies` in pom.xml
3838
<!-- Include the sdk as a dependency -->
3939
<groupId>com.microsoft.graph</groupId>
4040
<artifactId>microsoft-graph-beta</artifactId>
41-
<version>6.3.0</version>
41+
<version>6.4.0</version>
4242
</dependency>
4343
<dependency>
4444
<!-- This dependency is only needed if you are using the TokenCrendentialAuthProvider -->
@@ -123,3 +123,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
123123
[Third-party notices](THIRD%20PARTY%20NOTICES)
124124

125125

126+

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 = 6
29-
mavenMinorVersion = 3
29+
mavenMinorVersion = 4
3030
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

@@ -95,5 +95,6 @@ mavenCentralPublishingEnabled=true
9595

9696

9797

98+
9899

99100

gradle/dependencies.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ dependencies {
1010
implementation 'jakarta.annotation:jakarta.annotation-api:2.1.1'
1111

1212
// Core Http library
13-
api 'com.microsoft.graph:microsoft-graph-core:3.1.4'
13+
api 'com.microsoft.graph:microsoft-graph-core:3.1.5'
1414
implementation 'com.microsoft.kiota:microsoft-kiota-authentication-azure:1.0.4'
1515
implementation 'com.microsoft.kiota:microsoft-kiota-http-okHttp:1.0.4'
1616
implementation 'com.microsoft.kiota:microsoft-kiota-serialization-json:1.0.4'

src/main/java/com/microsoft/graph/beta/generated/BaseGraphServiceClient.java

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,7 @@
7979
import com.microsoft.graph.beta.payloadresponse.PayloadResponseRequestBuilder;
8080
import com.microsoft.graph.beta.permissiongrants.PermissionGrantsRequestBuilder;
8181
import com.microsoft.graph.beta.places.PlacesRequestBuilder;
82+
import com.microsoft.graph.beta.placeswithplaceid.PlacesWithPlaceIdRequestBuilder;
8283
import com.microsoft.graph.beta.planner.PlannerRequestBuilder;
8384
import com.microsoft.graph.beta.policies.PoliciesRequestBuilder;
8485
import com.microsoft.graph.beta.print.PrintRequestBuilder;
@@ -1106,6 +1107,16 @@ public GroupsWithUniqueNameRequestBuilder groupsWithUniqueName(@jakarta.annotati
11061107
Objects.requireNonNull(uniqueName);
11071108
return new GroupsWithUniqueNameRequestBuilder(pathParameters, requestAdapter, uniqueName);
11081109
}
1110+
/**
1111+
* Provides operations to manage the collection of place entities.
1112+
* @param placeId Alternate key of place
1113+
* @return a {@link PlacesWithPlaceIdRequestBuilder}
1114+
*/
1115+
@jakarta.annotation.Nonnull
1116+
public PlacesWithPlaceIdRequestBuilder placesWithPlaceId(@jakarta.annotation.Nonnull final String placeId) {
1117+
Objects.requireNonNull(placeId);
1118+
return new PlacesWithPlaceIdRequestBuilder(pathParameters, requestAdapter, placeId);
1119+
}
11091120
/**
11101121
* Provides operations to manage the collection of servicePrincipal entities.
11111122
* @param appId Alternate key of servicePrincipal

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.java

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -37,18 +37,18 @@ public ResourceConnectionItemRequestBuilder(@jakarta.annotation.Nonnull final St
3737
super(requestAdapter, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}{?%24expand,%24select}", rawUrl);
3838
}
3939
/**
40-
* Delete a resourceConnection object.
40+
* Delete an operationalInsightsConnection object.
4141
* @throws ODataError When receiving a 4XX or 5XX status code
42-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-1.0">Find more info here</a>
42+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-1.0">Find more info here</a>
4343
*/
4444
public void delete() {
4545
delete(null);
4646
}
4747
/**
48-
* Delete a resourceConnection object.
48+
* Delete an operationalInsightsConnection object.
4949
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5050
* @throws ODataError When receiving a 4XX or 5XX status code
51-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-1.0">Find more info here</a>
51+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-1.0">Find more info here</a>
5252
*/
5353
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
5454
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -57,21 +57,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
5757
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
5858
}
5959
/**
60-
* Read the properties and relationships of a resourceConnection object.
60+
* Read the properties and relationships of an operationalInsightsConnection object.
6161
* @return a {@link ResourceConnection}
6262
* @throws ODataError When receiving a 4XX or 5XX status code
63-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-1.0">Find more info here</a>
63+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-1.0">Find more info here</a>
6464
*/
6565
@jakarta.annotation.Nullable
6666
public ResourceConnection get() {
6767
return get(null);
6868
}
6969
/**
70-
* Read the properties and relationships of a resourceConnection object.
70+
* Read the properties and relationships of an operationalInsightsConnection object.
7171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7272
* @return a {@link ResourceConnection}
7373
* @throws ODataError When receiving a 4XX or 5XX status code
74-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-get?view=graph-rest-1.0">Find more info here</a>
74+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-1.0">Find more info here</a>
7575
*/
7676
@jakarta.annotation.Nullable
7777
public ResourceConnection get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -106,15 +106,15 @@ public ResourceConnection patch(@jakarta.annotation.Nonnull final ResourceConnec
106106
return this.requestAdapter.send(requestInfo, errorMapping, ResourceConnection::createFromDiscriminatorValue);
107107
}
108108
/**
109-
* Delete a resourceConnection object.
109+
* Delete an operationalInsightsConnection object.
110110
* @return a {@link RequestInformation}
111111
*/
112112
@jakarta.annotation.Nonnull
113113
public RequestInformation toDeleteRequestInformation() {
114114
return toDeleteRequestInformation(null);
115115
}
116116
/**
117-
* Delete a resourceConnection object.
117+
* Delete an operationalInsightsConnection object.
118118
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
119119
* @return a {@link RequestInformation}
120120
*/
@@ -126,15 +126,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
126126
return requestInfo;
127127
}
128128
/**
129-
* Read the properties and relationships of a resourceConnection object.
129+
* Read the properties and relationships of an operationalInsightsConnection object.
130130
* @return a {@link RequestInformation}
131131
*/
132132
@jakarta.annotation.Nonnull
133133
public RequestInformation toGetRequestInformation() {
134134
return toGetRequestInformation(null);
135135
}
136136
/**
137-
* Read the properties and relationships of a resourceConnection object.
137+
* Read the properties and relationships of an operationalInsightsConnection object.
138138
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
139139
* @return a {@link RequestInformation}
140140
*/
@@ -186,7 +186,7 @@ public ResourceConnectionItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
186186
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
187187
}
188188
/**
189-
* Read the properties and relationships of a resourceConnection object.
189+
* Read the properties and relationships of an operationalInsightsConnection object.
190190
*/
191191
@jakarta.annotation.Generated("com.microsoft.kiota")
192192
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatableassets/item/UpdatableAssetItemRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,18 +73,18 @@ public UpdatableAssetItemRequestBuilder(@jakarta.annotation.Nonnull final String
7373
super(requestAdapter, "{+baseurl}/admin/windows/updates/updatableAssets/{updatableAsset%2Did}{?%24expand,%24select}", rawUrl);
7474
}
7575
/**
76-
* Delete an updatableAsset object.
76+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
7777
* @throws ODataError When receiving a 4XX or 5XX status code
78-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-1.0">Find more info here</a>
78+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-1.0">Find more info here</a>
7979
*/
8080
public void delete() {
8181
delete(null);
8282
}
8383
/**
84-
* Delete an updatableAsset object.
84+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
8585
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8686
* @throws ODataError When receiving a 4XX or 5XX status code
87-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-delete?view=graph-rest-1.0">Find more info here</a>
87+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-1.0">Find more info here</a>
8888
*/
8989
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
9090
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -142,15 +142,15 @@ public UpdatableAsset patch(@jakarta.annotation.Nonnull final UpdatableAsset bod
142142
return this.requestAdapter.send(requestInfo, errorMapping, UpdatableAsset::createFromDiscriminatorValue);
143143
}
144144
/**
145-
* Delete an updatableAsset object.
145+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
146146
* @return a {@link RequestInformation}
147147
*/
148148
@jakarta.annotation.Nonnull
149149
public RequestInformation toDeleteRequestInformation() {
150150
return toDeleteRequestInformation(null);
151151
}
152152
/**
153-
* Delete an updatableAsset object.
153+
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
154154
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
155155
* @return a {@link RequestInformation}
156156
*/

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/updatepolicies/item/compliancechanges/item/ComplianceChangeItemRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -90,23 +90,23 @@ public ComplianceChange get(@jakarta.annotation.Nullable final java.util.functio
9090
return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue);
9191
}
9292
/**
93-
* Update the properties of a contentApproval object.
93+
* Update the properties of a complianceChange object.
9494
* @param body The request body
9595
* @return a {@link ComplianceChange}
9696
* @throws ODataError When receiving a 4XX or 5XX status code
97-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-1.0">Find more info here</a>
97+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-1.0">Find more info here</a>
9898
*/
9999
@jakarta.annotation.Nullable
100100
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body) {
101101
return patch(body, null);
102102
}
103103
/**
104-
* Update the properties of a contentApproval object.
104+
* Update the properties of a complianceChange object.
105105
* @param body The request body
106106
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
107107
* @return a {@link ComplianceChange}
108108
* @throws ODataError When receiving a 4XX or 5XX status code
109-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-1.0">Find more info here</a>
109+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-1.0">Find more info here</a>
110110
*/
111111
@jakarta.annotation.Nullable
112112
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
@@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
157157
return requestInfo;
158158
}
159159
/**
160-
* Update the properties of a contentApproval object.
160+
* Update the properties of a complianceChange object.
161161
* @param body The request body
162162
* @return a {@link RequestInformation}
163163
*/
@@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
166166
return toPatchRequestInformation(body, null);
167167
}
168168
/**
169-
* Update the properties of a contentApproval object.
169+
* Update the properties of a complianceChange object.
170170
* @param body The request body
171171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
172172
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/beta/generated/app/onlinemeetings/item/registration/RegistrationRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -55,18 +55,18 @@ public RegistrationRequestBuilder(@jakarta.annotation.Nonnull final String rawUr
5555
super(requestAdapter, "{+baseurl}/app/onlineMeetings/{onlineMeeting%2Did}/registration{?%24expand,%24select}", rawUrl);
5656
}
5757
/**
58-
* Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
58+
* Disable and delete the externalMeetingRegistration of an onlineMeeting.
5959
* @throws ODataError When receiving a 4XX or 5XX status code
60-
* @see <a href="https://learn.microsoft.com/graph/api/meetingregistration-delete?view=graph-rest-1.0">Find more info here</a>
60+
* @see <a href="https://learn.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0">Find more info here</a>
6161
*/
6262
public void delete() {
6363
delete(null);
6464
}
6565
/**
66-
* Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
66+
* Disable and delete the externalMeetingRegistration of an onlineMeeting.
6767
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
6868
* @throws ODataError When receiving a 4XX or 5XX status code
69-
* @see <a href="https://learn.microsoft.com/graph/api/meetingregistration-delete?view=graph-rest-1.0">Find more info here</a>
69+
* @see <a href="https://learn.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0">Find more info here</a>
7070
*/
7171
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
7272
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -126,15 +126,15 @@ public MeetingRegistration patch(@jakarta.annotation.Nonnull final MeetingRegist
126126
return this.requestAdapter.send(requestInfo, errorMapping, MeetingRegistration::createFromDiscriminatorValue);
127127
}
128128
/**
129-
* Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
129+
* Disable and delete the externalMeetingRegistration of an onlineMeeting.
130130
* @return a {@link RequestInformation}
131131
*/
132132
@jakarta.annotation.Nonnull
133133
public RequestInformation toDeleteRequestInformation() {
134134
return toDeleteRequestInformation(null);
135135
}
136136
/**
137-
* Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
137+
* Disable and delete the externalMeetingRegistration of an onlineMeeting.
138138
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
139139
* @return a {@link RequestInformation}
140140
*/

src/main/java/com/microsoft/graph/beta/generated/appcatalogs/teamsapps/item/appdefinitions/item/dashboardcards/DashboardCardsRequestBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public DashboardCardsRequestBuilder(@jakarta.annotation.Nonnull final String raw
6060
super(requestAdapter, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}/appDefinitions/{teamsAppDefinition%2Did}/dashboardCards{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
6161
}
6262
/**
63-
* Get dashboardCards from appCatalogs
63+
* Dashboard cards specified in the Teams app manifest.
6464
* @return a {@link TeamsAppDashboardCardDefinitionCollectionResponse}
6565
* @throws ODataError When receiving a 4XX or 5XX status code
6666
*/
@@ -69,7 +69,7 @@ public TeamsAppDashboardCardDefinitionCollectionResponse get() {
6969
return get(null);
7070
}
7171
/**
72-
* Get dashboardCards from appCatalogs
72+
* Dashboard cards specified in the Teams app manifest.
7373
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7474
* @return a {@link TeamsAppDashboardCardDefinitionCollectionResponse}
7575
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,15 +107,15 @@ public TeamsAppDashboardCardDefinition post(@jakarta.annotation.Nonnull final Te
107107
return this.requestAdapter.send(requestInfo, errorMapping, TeamsAppDashboardCardDefinition::createFromDiscriminatorValue);
108108
}
109109
/**
110-
* Get dashboardCards from appCatalogs
110+
* Dashboard cards specified in the Teams app manifest.
111111
* @return a {@link RequestInformation}
112112
*/
113113
@jakarta.annotation.Nonnull
114114
public RequestInformation toGetRequestInformation() {
115115
return toGetRequestInformation(null);
116116
}
117117
/**
118-
* Get dashboardCards from appCatalogs
118+
* Dashboard cards specified in the Teams app manifest.
119119
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
120120
* @return a {@link RequestInformation}
121121
*/
@@ -161,7 +161,7 @@ public DashboardCardsRequestBuilder withUrl(@jakarta.annotation.Nonnull final St
161161
return new DashboardCardsRequestBuilder(rawUrl, requestAdapter);
162162
}
163163
/**
164-
* Get dashboardCards from appCatalogs
164+
* Dashboard cards specified in the Teams app manifest.
165165
*/
166166
@jakarta.annotation.Generated("com.microsoft.kiota")
167167
public class GetQueryParameters implements QueryParameters {

0 commit comments

Comments
 (0)