Skip to content

Commit f2960ba

Browse files
authored
Merge pull request #1837 from microsoftgraph/v1.0/pipelinebuild/136169
Generated models and request builders
2 parents 8280e5a + a38c19c commit f2960ba

File tree

168 files changed

+1100
-1018
lines changed

Some content is hidden

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

168 files changed

+1100
-1018
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.3.0] - 2024-02-20
15+
16+
### Added
17+
- Weekly Generated v1.0 models and request builders using Kiota.
18+
1419
## [6.2.1] - 2024-02-16
1520

1621
### Changed

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:6.2.1'
23+
implementation 'com.microsoft.graph:microsoft-graph:6.3.0'
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 a TokenCredential object for authentication
@@ -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</artifactId>
40-
<version>6.2.1</version>
40+
<version>6.3.0</version>
4141
</dependency>
4242
<dependency>
4343
<!-- This dependency is only needed if you are using a TokenCredential object for authentication -->
@@ -119,3 +119,4 @@ Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the [MI
119119

120120
[Third-party notices](THIRD%20PARTY%20NOTICES)
121121

122+

gradle.properties

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ org.gradle.caching=true
2626
mavenGroupId = com.microsoft.graph
2727
mavenArtifactId = microsoft-graph
2828
mavenMajorVersion = 6
29-
mavenMinorVersion = 2
30-
mavenPatchVersion = 1
29+
mavenMinorVersion = 3
30+
mavenPatchVersion = 0
3131
mavenArtifactSuffix =
3232

3333
#These values are used to run functional tests
@@ -122,5 +122,6 @@ mavenCentralPublishingEnabled=true
122122

123123

124124

125+
125126

126127

src/main/java/com/microsoft/graph/generated/applications/item/synchronization/jobs/item/provisionondemand/ProvisionOnDemandRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public ProvisionOnDemandRequestBuilder(@jakarta.annotation.Nonnull final String
3636
super(requestAdapter, "{+baseurl}/applications/{application%2Did}/synchronization/jobs/{synchronizationJob%2Did}/provisionOnDemand", rawUrl);
3737
}
3838
/**
39-
* Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
39+
* Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
4040
* @param body The request body
4141
* @return a {@link StringKeyStringValuePair}
4242
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -47,7 +47,7 @@ public StringKeyStringValuePair post(@jakarta.annotation.Nonnull final Provision
4747
return post(body, null);
4848
}
4949
/**
50-
* Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
50+
* Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
5151
* @param body The request body
5252
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5353
* @return a {@link StringKeyStringValuePair}
@@ -63,7 +63,7 @@ public StringKeyStringValuePair post(@jakarta.annotation.Nonnull final Provision
6363
return this.requestAdapter.send(requestInfo, errorMapping, StringKeyStringValuePair::createFromDiscriminatorValue);
6464
}
6565
/**
66-
* Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
66+
* Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
6767
* @param body The request body
6868
* @return a {@link RequestInformation}
6969
*/
@@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
7272
return toPostRequestInformation(body, null);
7373
}
7474
/**
75-
* Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
75+
* Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
7676
* @param body The request body
7777
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7878
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/generated/chats/item/members/item/ConversationMemberItemRequestBuilder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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-
* Retrieve a conversationMember from a chat.
60+
* Retrieve a conversationMember from a chat or channel.
6161
* @return a {@link ConversationMember}
6262
* @throws ODataError When receiving a 4XX or 5XX status code
63-
* @see <a href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0">Find more info here</a>
63+
* @see <a href="https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0">Find more info here</a>
6464
*/
6565
@jakarta.annotation.Nullable
6666
public ConversationMember get() {
6767
return get(null);
6868
}
6969
/**
70-
* Retrieve a conversationMember from a chat.
70+
* Retrieve a conversationMember from a chat or channel.
7171
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7272
* @return a {@link ConversationMember}
7373
* @throws ODataError When receiving a 4XX or 5XX status code
74-
* @see <a href="https://learn.microsoft.com/graph/api/chat-get-members?view=graph-rest-1.0">Find more info here</a>
74+
* @see <a href="https://learn.microsoft.com/graph/api/conversationmember-get?view=graph-rest-1.0">Find more info here</a>
7575
*/
7676
@jakarta.annotation.Nullable
7777
public ConversationMember get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -126,15 +126,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
126126
return requestInfo;
127127
}
128128
/**
129-
* Retrieve a conversationMember from a chat.
129+
* Retrieve a conversationMember from a chat or channel.
130130
* @return a {@link RequestInformation}
131131
*/
132132
@jakarta.annotation.Nonnull
133133
public RequestInformation toGetRequestInformation() {
134134
return toGetRequestInformation(null);
135135
}
136136
/**
137-
* Retrieve a conversationMember from a chat.
137+
* Retrieve a conversationMember from a chat or channel.
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 ConversationMemberItemRequestBuilder withUrl(@jakarta.annotation.Nonnull
186186
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
187187
}
188188
/**
189-
* Retrieve a conversationMember from a chat.
189+
* Retrieve a conversationMember from a chat or channel.
190190
*/
191191
@jakarta.annotation.Generated("com.microsoft.kiota")
192192
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/generated/chats/item/messages/item/replies/RepliesRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -93,23 +93,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java
9393
return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue);
9494
}
9595
/**
96-
* Create a new reply to a chatMessage in a specified channel.
96+
* Send a new reply to a chatMessage in a specified channel.
9797
* @param body The request body
9898
* @return a {@link ChatMessage}
9999
* @throws ODataError When receiving a 4XX or 5XX status code
100-
* @see <a href="https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0">Find more info here</a>
100+
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0">Find more info here</a>
101101
*/
102102
@jakarta.annotation.Nullable
103103
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) {
104104
return post(body, null);
105105
}
106106
/**
107-
* Create a new reply to a chatMessage in a specified channel.
107+
* Send a new reply to a chatMessage in a specified channel.
108108
* @param body The request body
109109
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
110110
* @return a {@link ChatMessage}
111111
* @throws ODataError When receiving a 4XX or 5XX status code
112-
* @see <a href="https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0">Find more info here</a>
112+
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0">Find more info here</a>
113113
*/
114114
@jakarta.annotation.Nullable
115115
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
@@ -140,7 +140,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
140140
return requestInfo;
141141
}
142142
/**
143-
* Create a new reply to a chatMessage in a specified channel.
143+
* Send a new reply to a chatMessage in a specified channel.
144144
* @param body The request body
145145
* @return a {@link RequestInformation}
146146
*/
@@ -149,7 +149,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
149149
return toPostRequestInformation(body, null);
150150
}
151151
/**
152-
* Create a new reply to a chatMessage in a specified channel.
152+
* Send a new reply to a chatMessage in a specified channel.
153153
* @param body The request body
154154
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
155155
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/generated/deviceappmanagement/DeviceAppManagementRequestBuilder.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ public DeviceAppManagementRequestBuilder(@jakarta.annotation.Nonnull final Strin
175175
* Read properties and relationships of the deviceAppManagement object.
176176
* @return a {@link DeviceAppManagement}
177177
* @throws ODataError When receiving a 4XX or 5XX status code
178-
* @see <a href="https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
178+
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
179179
*/
180180
@jakarta.annotation.Nullable
181181
public DeviceAppManagement get() {
@@ -186,7 +186,7 @@ public DeviceAppManagement get() {
186186
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
187187
* @return a {@link DeviceAppManagement}
188188
* @throws ODataError When receiving a 4XX or 5XX status code
189-
* @see <a href="https://learn.microsoft.com/graph/api/intune-books-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
189+
* @see <a href="https://learn.microsoft.com/graph/api/intune-apps-deviceappmanagement-get?view=graph-rest-1.0">Find more info here</a>
190190
*/
191191
@jakarta.annotation.Nullable
192192
public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -200,7 +200,7 @@ public DeviceAppManagement get(@jakarta.annotation.Nullable final java.util.func
200200
* @param body The request body
201201
* @return a {@link DeviceAppManagement}
202202
* @throws ODataError When receiving a 4XX or 5XX status code
203-
* @see <a href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
203+
* @see <a href="https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
204204
*/
205205
@jakarta.annotation.Nullable
206206
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body) {
@@ -212,7 +212,7 @@ public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppMana
212212
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
213213
* @return a {@link DeviceAppManagement}
214214
* @throws ODataError When receiving a 4XX or 5XX status code
215-
* @see <a href="https://learn.microsoft.com/graph/api/intune-policyset-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
215+
* @see <a href="https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0">Find more info here</a>
216216
*/
217217
@jakarta.annotation.Nullable
218218
public DeviceAppManagement patch(@jakarta.annotation.Nonnull final DeviceAppManagement body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {

src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/ManagedAppPoliciesRequestBuilder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -60,21 +60,21 @@ public ManagedAppPoliciesRequestBuilder(@jakarta.annotation.Nonnull final String
6060
super(requestAdapter, "{+baseurl}/deviceAppManagement/managedAppPolicies{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
6161
}
6262
/**
63-
* List properties and relationships of the managedAppConfiguration objects.
63+
* List properties and relationships of the managedAppPolicy objects.
6464
* @return a {@link ManagedAppPolicyCollectionResponse}
6565
* @throws ODataError When receiving a 4XX or 5XX status code
66-
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0">Find more info here</a>
66+
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0">Find more info here</a>
6767
*/
6868
@jakarta.annotation.Nullable
6969
public ManagedAppPolicyCollectionResponse get() {
7070
return get(null);
7171
}
7272
/**
73-
* List properties and relationships of the managedAppConfiguration objects.
73+
* List properties and relationships of the managedAppPolicy objects.
7474
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7575
* @return a {@link ManagedAppPolicyCollectionResponse}
7676
* @throws ODataError When receiving a 4XX or 5XX status code
77-
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-list?view=graph-rest-1.0">Find more info here</a>
77+
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedapppolicy-list?view=graph-rest-1.0">Find more info here</a>
7878
*/
7979
@jakarta.annotation.Nullable
8080
public ManagedAppPolicyCollectionResponse get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -109,15 +109,15 @@ public ManagedAppPolicy post(@jakarta.annotation.Nonnull final ManagedAppPolicy
109109
return this.requestAdapter.send(requestInfo, errorMapping, ManagedAppPolicy::createFromDiscriminatorValue);
110110
}
111111
/**
112-
* List properties and relationships of the managedAppConfiguration objects.
112+
* List properties and relationships of the managedAppPolicy objects.
113113
* @return a {@link RequestInformation}
114114
*/
115115
@jakarta.annotation.Nonnull
116116
public RequestInformation toGetRequestInformation() {
117117
return toGetRequestInformation(null);
118118
}
119119
/**
120-
* List properties and relationships of the managedAppConfiguration objects.
120+
* List properties and relationships of the managedAppPolicy objects.
121121
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
122122
* @return a {@link RequestInformation}
123123
*/
@@ -163,7 +163,7 @@ public ManagedAppPoliciesRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
163163
return new ManagedAppPoliciesRequestBuilder(rawUrl, requestAdapter);
164164
}
165165
/**
166-
* List properties and relationships of the managedAppConfiguration objects.
166+
* List properties and relationships of the managedAppPolicy objects.
167167
*/
168168
@jakarta.annotation.Generated("com.microsoft.kiota")
169169
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/generated/deviceappmanagement/managedapppolicies/item/ManagedAppPolicyItemRequestBuilder.java

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -64,21 +64,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
6464
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
6565
}
6666
/**
67-
* Read properties and relationships of the managedAppConfiguration object.
67+
* Read properties and relationships of the targetedManagedAppProtection object.
6868
* @return a {@link ManagedAppPolicy}
6969
* @throws ODataError When receiving a 4XX or 5XX status code
70-
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0">Find more info here</a>
70+
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0">Find more info here</a>
7171
*/
7272
@jakarta.annotation.Nullable
7373
public ManagedAppPolicy get() {
7474
return get(null);
7575
}
7676
/**
77-
* Read properties and relationships of the managedAppConfiguration object.
77+
* Read properties and relationships of the targetedManagedAppProtection object.
7878
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7979
* @return a {@link ManagedAppPolicy}
8080
* @throws ODataError When receiving a 4XX or 5XX status code
81-
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-managedappconfiguration-get?view=graph-rest-1.0">Find more info here</a>
81+
* @see <a href="https://learn.microsoft.com/graph/api/intune-mam-targetedmanagedappprotection-get?view=graph-rest-1.0">Find more info here</a>
8282
*/
8383
@jakarta.annotation.Nullable
8484
public ManagedAppPolicy get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -133,15 +133,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
133133
return requestInfo;
134134
}
135135
/**
136-
* Read properties and relationships of the managedAppConfiguration object.
136+
* Read properties and relationships of the targetedManagedAppProtection object.
137137
* @return a {@link RequestInformation}
138138
*/
139139
@jakarta.annotation.Nonnull
140140
public RequestInformation toGetRequestInformation() {
141141
return toGetRequestInformation(null);
142142
}
143143
/**
144-
* Read properties and relationships of the managedAppConfiguration object.
144+
* Read properties and relationships of the targetedManagedAppProtection object.
145145
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
146146
* @return a {@link RequestInformation}
147147
*/
@@ -193,7 +193,7 @@ public ManagedAppPolicyItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
193193
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
194194
}
195195
/**
196-
* Read properties and relationships of the managedAppConfiguration object.
196+
* Read properties and relationships of the targetedManagedAppProtection object.
197197
*/
198198
@jakarta.annotation.Generated("com.microsoft.kiota")
199199
public class GetQueryParameters implements QueryParameters {

0 commit comments

Comments
 (0)