Skip to content

Commit 1ea474c

Browse files
authored
Merge pull request #1158 from microsoftgraph/beta/pipelinebuild/185491
Generated beta models and request builders
2 parents 5c47f35 + 2661048 commit 1ea474c

File tree

65 files changed

+507
-480
lines changed

Some content is hidden

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

65 files changed

+507
-480
lines changed

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

Lines changed: 6 additions & 6 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-beta">Find more info here</a>
42+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta">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-beta">Find more info here</a>
51+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta">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);
@@ -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
*/

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 updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
76+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
7777
* @throws ODataError When receiving a 4XX or 5XX status code
78-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-delete?view=graph-rest-beta">Find more info here</a>
78+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta">Find more info here</a>
7979
*/
8080
public void delete() {
8181
delete(null);
8282
}
8383
/**
84-
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
84+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
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-updatableassetgroup-delete?view=graph-rest-beta">Find more info here</a>
87+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-delete?view=graph-rest-beta">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 updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
145+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
146146
* @return a {@link RequestInformation}
147147
*/
148148
@jakarta.annotation.Nonnull
149149
public RequestInformation toDeleteRequestInformation() {
150150
return toDeleteRequestInformation(null);
151151
}
152152
/**
153-
* Delete an updatableAssetGroup object. When an updatableAssetGroup object, its member updatableAsset objects are not deleted.
153+
* Delete an azureADDevice object. When a Microsoft Entra device is deleted, it is unregistered and automatically unenrolled from management for all update categories, as well as removed from every deploymentAudience and updatableAssetGroup.
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: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,18 +46,18 @@ public ComplianceChangeItemRequestBuilder(@jakarta.annotation.Nonnull final Stri
4646
super(requestAdapter, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/complianceChanges/{complianceChange%2Did}{?%24expand,%24select}", rawUrl);
4747
}
4848
/**
49-
* Delete a complianceChange object.
49+
* Delete a contentApproval object.
5050
* @throws ODataError When receiving a 4XX or 5XX status code
51-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta">Find more info here</a>
51+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta">Find more info here</a>
5252
*/
5353
public void delete() {
5454
delete(null);
5555
}
5656
/**
57-
* Delete a complianceChange object.
57+
* Delete a contentApproval object.
5858
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
5959
* @throws ODataError When receiving a 4XX or 5XX status code
60-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta">Find more info here</a>
60+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta">Find more info here</a>
6161
*/
6262
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
6363
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
@@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
6666
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
6767
}
6868
/**
69-
* Read the properties and relationships of a contentApproval object.
69+
* Read the properties and relationships of a complianceChange object.
7070
* @return a {@link ComplianceChange}
7171
* @throws ODataError When receiving a 4XX or 5XX status code
72-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta">Find more info here</a>
72+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta">Find more info here</a>
7373
*/
7474
@jakarta.annotation.Nullable
7575
public ComplianceChange get() {
7676
return get(null);
7777
}
7878
/**
79-
* Read the properties and relationships of a contentApproval object.
79+
* Read the properties and relationships of a complianceChange object.
8080
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
8181
* @return a {@link ComplianceChange}
8282
* @throws ODataError When receiving a 4XX or 5XX status code
83-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta">Find more info here</a>
83+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta">Find more info here</a>
8484
*/
8585
@jakarta.annotation.Nullable
8686
public ComplianceChange get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -117,15 +117,15 @@ public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange
117117
return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue);
118118
}
119119
/**
120-
* Delete a complianceChange object.
120+
* Delete a contentApproval object.
121121
* @return a {@link RequestInformation}
122122
*/
123123
@jakarta.annotation.Nonnull
124124
public RequestInformation toDeleteRequestInformation() {
125125
return toDeleteRequestInformation(null);
126126
}
127127
/**
128-
* Delete a complianceChange object.
128+
* Delete a contentApproval object.
129129
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
130130
* @return a {@link RequestInformation}
131131
*/
@@ -136,15 +136,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
136136
return requestInfo;
137137
}
138138
/**
139-
* Read the properties and relationships of a contentApproval object.
139+
* Read the properties and relationships of a complianceChange object.
140140
* @return a {@link RequestInformation}
141141
*/
142142
@jakarta.annotation.Nonnull
143143
public RequestInformation toGetRequestInformation() {
144144
return toGetRequestInformation(null);
145145
}
146146
/**
147-
* Read the properties and relationships of a contentApproval object.
147+
* Read the properties and relationships of a complianceChange object.
148148
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
149149
* @return a {@link RequestInformation}
150150
*/
@@ -196,7 +196,7 @@ public ComplianceChangeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
196196
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
197197
}
198198
/**
199-
* Read the properties and relationships of a contentApproval object.
199+
* Read the properties and relationships of a complianceChange object.
200200
*/
201201
@jakarta.annotation.Generated("com.microsoft.kiota")
202202
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/beta/generated/chats/item/messages/MessagesRequestBuilder.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -111,23 +111,23 @@ public ChatMessageCollectionResponse get(@jakarta.annotation.Nullable final java
111111
return this.requestAdapter.send(requestInfo, errorMapping, ChatMessageCollectionResponse::createFromDiscriminatorValue);
112112
}
113113
/**
114-
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
114+
* Send a new chatMessage in the specified channel or a chat.
115115
* @param body The request body
116116
* @return a {@link ChatMessage}
117117
* @throws ODataError When receiving a 4XX or 5XX status code
118-
* @see <a href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta">Find more info here</a>
118+
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta">Find more info here</a>
119119
*/
120120
@jakarta.annotation.Nullable
121121
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body) {
122122
return post(body, null);
123123
}
124124
/**
125-
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
125+
* Send a new chatMessage in the specified channel or a chat.
126126
* @param body The request body
127127
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
128128
* @return a {@link ChatMessage}
129129
* @throws ODataError When receiving a 4XX or 5XX status code
130-
* @see <a href="https://learn.microsoft.com/graph/api/chat-post-messages?view=graph-rest-beta">Find more info here</a>
130+
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-post?view=graph-rest-beta">Find more info here</a>
131131
*/
132132
@jakarta.annotation.Nullable
133133
public ChatMessage post(@jakarta.annotation.Nonnull final ChatMessage body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
@@ -158,7 +158,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
158158
return requestInfo;
159159
}
160160
/**
161-
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
161+
* Send a new chatMessage in the specified channel or a chat.
162162
* @param body The request body
163163
* @return a {@link RequestInformation}
164164
*/
@@ -167,7 +167,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
167167
return toPostRequestInformation(body, null);
168168
}
169169
/**
170-
* Send a new chatMessage in the specified chat. This API cannot create a new chat; you must use the list chats method to retrieve the ID of an existing chat before creating a chat message.
170+
* Send a new chatMessage in the specified channel or a chat.
171171
* @param body The request body
172172
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
173173
* @return a {@link RequestInformation}

src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/ScheduledActionsForRuleRequestBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public ScheduledActionsForRuleRequestBuilder(@jakarta.annotation.Nonnull final S
6060
super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
6161
}
6262
/**
63-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
63+
* The list of scheduled action for this rule
6464
* @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse}
6565
* @throws ODataError When receiving a 4XX or 5XX status code
6666
*/
@@ -69,7 +69,7 @@ public DeviceComplianceScheduledActionForRuleCollectionResponse get() {
6969
return get(null);
7070
}
7171
/**
72-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
72+
* The list of scheduled action for this rule
7373
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7474
* @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse}
7575
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -107,15 +107,15 @@ public DeviceComplianceScheduledActionForRule post(@jakarta.annotation.Nonnull f
107107
return this.requestAdapter.send(requestInfo, errorMapping, DeviceComplianceScheduledActionForRule::createFromDiscriminatorValue);
108108
}
109109
/**
110-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
110+
* The list of scheduled action for this rule
111111
* @return a {@link RequestInformation}
112112
*/
113113
@jakarta.annotation.Nonnull
114114
public RequestInformation toGetRequestInformation() {
115115
return toGetRequestInformation(null);
116116
}
117117
/**
118-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
118+
* The list of scheduled action for this rule
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 ScheduledActionsForRuleRequestBuilder withUrl(@jakarta.annotation.Nonnull
161161
return new ScheduledActionsForRuleRequestBuilder(rawUrl, requestAdapter);
162162
}
163163
/**
164-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
164+
* The list of scheduled action for this rule
165165
*/
166166
@jakarta.annotation.Generated("com.microsoft.kiota")
167167
public class GetQueryParameters implements QueryParameters {

src/main/java/com/microsoft/graph/beta/generated/devicemanagement/devicecompliancepolicies/item/scheduledactionsforrule/item/DeviceComplianceScheduledActionForRuleItemRequestBuilder.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
6464
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
6565
}
6666
/**
67-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
67+
* The list of scheduled action for this rule
6868
* @return a {@link DeviceComplianceScheduledActionForRule}
6969
* @throws ODataError When receiving a 4XX or 5XX status code
7070
*/
@@ -73,7 +73,7 @@ public DeviceComplianceScheduledActionForRule get() {
7373
return get(null);
7474
}
7575
/**
76-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
76+
* The list of scheduled action for this rule
7777
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
7878
* @return a {@link DeviceComplianceScheduledActionForRule}
7979
* @throws ODataError When receiving a 4XX or 5XX status code
@@ -130,15 +130,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
130130
return requestInfo;
131131
}
132132
/**
133-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
133+
* The list of scheduled action for this rule
134134
* @return a {@link RequestInformation}
135135
*/
136136
@jakarta.annotation.Nonnull
137137
public RequestInformation toGetRequestInformation() {
138138
return toGetRequestInformation(null);
139139
}
140140
/**
141-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
141+
* The list of scheduled action for this rule
142142
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
143143
* @return a {@link RequestInformation}
144144
*/
@@ -190,7 +190,7 @@ public DeviceComplianceScheduledActionForRuleItemRequestBuilder withUrl(@jakarta
190190
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
191191
}
192192
/**
193-
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
193+
* The list of scheduled action for this rule
194194
*/
195195
@jakarta.annotation.Generated("com.microsoft.kiota")
196196
public class GetQueryParameters implements QueryParameters {

0 commit comments

Comments
 (0)