Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,18 @@ public ResourceConnectionItemRequestBuilder(@jakarta.annotation.Nonnull final St
super(requestAdapter, "{+baseurl}/admin/windows/updates/resourceConnections/{resourceConnection%2Did}{?%24expand,%24select}", rawUrl);
}
/**
* Delete a resourceConnection object.
* Delete an operationalInsightsConnection object.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta">Find more info here</a>
*/
public void delete() {
delete(null);
}
/**
* Delete a resourceConnection object.
* Delete an operationalInsightsConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-resourceconnection-delete?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-operationalinsightsconnection-delete?view=graph-rest-beta">Find more info here</a>
*/
public void delete(@jakarta.annotation.Nullable final java.util.function.Consumer<DeleteRequestConfiguration> requestConfiguration) {
final RequestInformation requestInfo = toDeleteRequestInformation(requestConfiguration);
Expand Down Expand Up @@ -106,15 +106,15 @@ public ResourceConnection patch(@jakarta.annotation.Nonnull final ResourceConnec
return this.requestAdapter.send(requestInfo, errorMapping, ResourceConnection::createFromDiscriminatorValue);
}
/**
* Delete a resourceConnection object.
* Delete an operationalInsightsConnection object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
* Delete a resourceConnection object.
* Delete an operationalInsightsConnection object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -93,21 +93,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Read the properties and relationships of an updatableAssetGroup object.
* Read the properties and relationships of an updatableAsset object.
* @return a {@link UpdatableAsset}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public UpdatableAsset get() {
return get(null);
}
/**
* Read the properties and relationships of an updatableAssetGroup object.
* Read the properties and relationships of an updatableAsset object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link UpdatableAsset}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableassetgroup-get?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-updatableasset-get?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public UpdatableAsset get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand Down Expand Up @@ -162,15 +162,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Read the properties and relationships of an updatableAssetGroup object.
* Read the properties and relationships of an updatableAsset object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Read the properties and relationships of an updatableAssetGroup object.
* Read the properties and relationships of an updatableAsset object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -222,7 +222,7 @@ public UpdatableAssetItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fina
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Read the properties and relationships of an updatableAssetGroup object.
* Read the properties and relationships of an updatableAsset object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,21 +66,21 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
* @return a {@link ComplianceChange}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ComplianceChange get() {
return get(null);
}
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ComplianceChange}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-get?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-get?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ComplianceChange get(@jakarta.annotation.Nullable final java.util.function.Consumer<GetRequestConfiguration> requestConfiguration) {
Expand All @@ -90,23 +90,23 @@ public ComplianceChange get(@jakarta.annotation.Nullable final java.util.functio
return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue);
}
/**
* Update the properties of a contentApproval object.
* Update the properties of a complianceChange object.
* @param body The request body
* @return a {@link ComplianceChange}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body) {
return patch(body, null);
}
/**
* Update the properties of a contentApproval object.
* Update the properties of a complianceChange object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ComplianceChange}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-update?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-update?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange body, @jakarta.annotation.Nullable final java.util.function.Consumer<PatchRequestConfiguration> requestConfiguration) {
Expand Down Expand Up @@ -137,15 +137,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand All @@ -157,7 +157,7 @@ public RequestInformation toGetRequestInformation(@jakarta.annotation.Nullable f
return requestInfo;
}
/**
* Update the properties of a contentApproval object.
* Update the properties of a complianceChange object.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -166,7 +166,7 @@ public RequestInformation toPatchRequestInformation(@jakarta.annotation.Nonnull
return toPatchRequestInformation(body, null);
}
/**
* Update the properties of a contentApproval object.
* Update the properties of a complianceChange object.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down Expand Up @@ -197,7 +197,7 @@ public ComplianceChangeItemRequestBuilder withUrl(@jakarta.annotation.Nonnull fi
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Read the properties and relationships of a contentApproval object.
* Read the properties and relationships of a complianceChange object.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,23 @@ public ForwardToChatRequestBuilder(@jakarta.annotation.Nonnull final String rawU
super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/forwardToChat", rawUrl);
}
/**
* Invoke action forwardToChat
* Forward a chat message, a channel message, or a channel message reply to a chat.
* @param body The request body
* @return a {@link ForwardToChatPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ForwardToChatPostResponse post(@jakarta.annotation.Nonnull final ForwardToChatPostRequestBody body) {
return post(body, null);
}
/**
* Invoke action forwardToChat
* Forward a chat message, a channel message, or a channel message reply to a chat.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ForwardToChatPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ForwardToChatPostResponse post(@jakarta.annotation.Nonnull final ForwardToChatPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -60,7 +62,7 @@ public ForwardToChatPostResponse post(@jakarta.annotation.Nonnull final ForwardT
return this.requestAdapter.send(requestInfo, errorMapping, ForwardToChatPostResponse::createFromDiscriminatorValue);
}
/**
* Invoke action forwardToChat
* Forward a chat message, a channel message, or a channel message reply to a chat.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -69,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Invoke action forwardToChat
* Forward a chat message, a channel message, or a channel message reply to a chat.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,23 @@ public ForwardToChatRequestBuilder(@jakarta.annotation.Nonnull final String rawU
super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/forwardToChat", rawUrl);
}
/**
* Invoke action forwardToChat
* Forward a chat message, a channel message, or a channel message reply to a chat.
* @param body The request body
* @return a {@link ForwardToChatPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ForwardToChatPostResponse post(@jakarta.annotation.Nonnull final ForwardToChatPostRequestBody body) {
return post(body, null);
}
/**
* Invoke action forwardToChat
* Forward a chat message, a channel message, or a channel message reply to a chat.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ForwardToChatPostResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-forwardtochat?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ForwardToChatPostResponse post(@jakarta.annotation.Nonnull final ForwardToChatPostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -60,7 +62,7 @@ public ForwardToChatPostResponse post(@jakarta.annotation.Nonnull final ForwardT
return this.requestAdapter.send(requestInfo, errorMapping, ForwardToChatPostResponse::createFromDiscriminatorValue);
}
/**
* Invoke action forwardToChat
* Forward a chat message, a channel message, or a channel message reply to a chat.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -69,7 +71,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Invoke action forwardToChat
* Forward a chat message, a channel message, or a channel message reply to a chat.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,21 +36,23 @@ public ReplyWithQuoteRequestBuilder(@jakarta.annotation.Nonnull final String raw
super(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/replyWithQuote", rawUrl);
}
/**
* Invoke action replyWithQuote
* Reply with quote to a single chat message or multiple chat messages in a chat.
* @param body The request body
* @return a {@link ChatMessage}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body) {
return post(body, null);
}
/**
* Invoke action replyWithQuote
* Reply with quote to a single chat message or multiple chat messages in a chat.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link ChatMessage}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/chatmessage-replywithquote?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -61,7 +63,7 @@ public ChatMessage post(@jakarta.annotation.Nonnull final ReplyWithQuotePostRequ
return this.requestAdapter.send(requestInfo, errorMapping, ChatMessage::createFromDiscriminatorValue);
}
/**
* Invoke action replyWithQuote
* Reply with quote to a single chat message or multiple chat messages in a chat.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -70,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Invoke action replyWithQuote
* Reply with quote to a single chat message or multiple chat messages in a chat.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
Expand Down
Loading
Loading