Skip to content

Commit 3d96f08

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 199349
1 parent ecf5aaf commit 3d96f08

File tree

78 files changed

+553
-433
lines changed

Some content is hidden

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

78 files changed

+553
-433
lines changed

src/main/java/com/microsoft/graph/beta/generated/admin/windows/updates/resourceconnections/item/ResourceConnectionItemRequestBuilder.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-
* 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-beta">Find more info here</a>
63+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta">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-beta">Find more info here</a>
74+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-get?view=graph-rest-beta">Find more info here</a>
7575
*/
7676
@jakarta.annotation.Nullable
7777
public ResourceConnection 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-
* 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: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -93,21 +93,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
9393
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
9494
}
9595
/**
96-
* Read the properties and relationships of an updatableAssetGroup object.
96+
* Read the properties of an azureADDevice object.
9797
* @return a {@link UpdatableAsset}
9898
* @throws ODataError When receiving a 4XX or 5XX status code
99-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta">Find more info here</a>
99+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta">Find more info here</a>
100100
*/
101101
@jakarta.annotation.Nullable
102102
public UpdatableAsset get() {
103103
return get(null);
104104
}
105105
/**
106-
* Read the properties and relationships of an updatableAssetGroup object.
106+
* Read the properties of an azureADDevice object.
107107
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
108108
* @return a {@link UpdatableAsset}
109109
* @throws ODataError When receiving a 4XX or 5XX status code
110-
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta">Find more info here</a>
110+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-azureaddevice-get?view=graph-rest-beta">Find more info here</a>
111111
*/
112112
@jakarta.annotation.Nullable
113113
public UpdatableAsset get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
@@ -162,15 +162,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
162162
return requestInfo;
163163
}
164164
/**
165-
* Read the properties and relationships of an updatableAssetGroup object.
165+
* Read the properties of an azureADDevice object.
166166
* @return a {@link RequestInformation}
167167
*/
168168
@jakarta.annotation.Nonnull
169169
public RequestInformation toGetRequestInformation() {
170170
return toGetRequestInformation(null);
171171
}
172172
/**
173-
* Read the properties and relationships of an updatableAssetGroup object.
173+
* Read the properties of an azureADDevice object.
174174
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
175175
* @return a {@link RequestInformation}
176176
*/
@@ -222,7 +222,7 @@ public UpdatableAssetItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
222222
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
223223
}
224224
/**
225-
* Read the properties and relationships of an updatableAssetGroup object.
225+
* Read the properties of an azureADDevice object.
226226
*/
227227
@jakarta.annotation.Generated("com.microsoft.kiota")
228228
public class GetQueryParameters implements QueryParameters {

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
@@ -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) {
@@ -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-beta">Find more info here</a>
97+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta">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-beta">Find more info here</a>
109+
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta">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) {
@@ -137,15 +137,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
137137
return requestInfo;
138138
}
139139
/**
140-
* Read the properties and relationships of a contentApproval object.
140+
* Read the properties and relationships of a complianceChange object.
141141
* @return a {@link RequestInformation}
142142
*/
143143
@jakarta.annotation.Nonnull
144144
public RequestInformation toGetRequestInformation() {
145145
return toGetRequestInformation(null);
146146
}
147147
/**
148-
* Read the properties and relationships of a contentApproval object.
148+
* Read the properties and relationships of a complianceChange object.
149149
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
150150
* @return a {@link RequestInformation}
151151
*/
@@ -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}
@@ -197,7 +197,7 @@ public ComplianceChangeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
197197
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
198198
}
199199
/**
200-
* Read the properties and relationships of a contentApproval object.
200+
* Read the properties and relationships of a complianceChange object.
201201
*/
202202
@jakarta.annotation.Generated("com.microsoft.kiota")
203203
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 channel or a chat.
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.
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/chatmessage-post?view=graph-rest-beta">Find more info here</a>
118+
* @see <a href="https://learn.microsoft.com/graph/api/chat-post-messages?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 channel or a chat.
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.
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/chatmessage-post?view=graph-rest-beta">Find more info here</a>
130+
* @see <a href="https://learn.microsoft.com/graph/api/chat-post-messages?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 channel or a chat.
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.
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 channel or a chat.
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.
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/contacts/ContactsRequestBuilder.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,15 +84,15 @@ public OrgContactItemRequestBuilder byOrgContactId(@jakarta.annotation.Nonnull f
8484
* @param requestAdapter The request adapter to use to execute the requests.
8585
*/
8686
public ContactsRequestBuilder(@jakarta.annotation.Nonnull final HashMap<String, Object> pathParameters, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
87-
super(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}", pathParameters);
87+
super(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", pathParameters);
8888
}
8989
/**
9090
* Instantiates a new {@link ContactsRequestBuilder} and sets the default values.
9191
* @param rawUrl The raw URL to use for the request builder.
9292
* @param requestAdapter The request adapter to use to execute the requests.
9393
*/
9494
public ContactsRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @jakarta.annotation.Nonnull final RequestAdapter requestAdapter) {
95-
super(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24top}", rawUrl);
95+
super(requestAdapter, "{+baseurl}/contacts{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
9696
}
9797
/**
9898
* Get the list of organizational contacts for this organization.
@@ -183,6 +183,11 @@ public class GetQueryParameters implements QueryParameters {
183183
*/
184184
@jakarta.annotation.Nullable
185185
public String[] select;
186+
/**
187+
* Skip the first n items
188+
*/
189+
@jakarta.annotation.Nullable
190+
public Integer skip;
186191
/**
187192
* Show only the first n items
188193
*/
@@ -198,6 +203,7 @@ public Map<String, Object> toQueryParameters() {
198203
allQueryParams.put("%24count", count);
199204
allQueryParams.put("%24filter", filter);
200205
allQueryParams.put("%24search", search);
206+
allQueryParams.put("%24skip", skip);
201207
allQueryParams.put("%24top", top);
202208
allQueryParams.put("%24expand", expand);
203209
allQueryParams.put("%24orderby", orderby);

0 commit comments

Comments
 (0)