Skip to content

Commit

Permalink
feat(generation): update request builders and models
Browse files Browse the repository at this point in the history
Update generated files with build 170643
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Nov 13, 2024
1 parent f6e7d99 commit feb9b5f
Show file tree
Hide file tree
Showing 50 changed files with 264 additions and 264 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,18 +46,18 @@ public ComplianceChangeItemRequestBuilder(@jakarta.annotation.Nonnull final Stri
super(requestAdapter, "{+baseurl}/admin/windows/updates/updatePolicies/{updatePolicy%2Did}/complianceChanges/{complianceChange%2Did}{?%24expand,%24select}", rawUrl);
}
/**
* Delete a contentApproval object.
* Delete a complianceChange object.
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-contentapproval-delete?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-delete?view=graph-rest-beta">Find more info here</a>
*/
public void delete() {
delete(null);
}
/**
* Delete a contentApproval object.
* Delete a complianceChange 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-contentapproval-delete?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/windowsupdates-compliancechange-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 @@ -117,15 +117,15 @@ public ComplianceChange patch(@jakarta.annotation.Nonnull final ComplianceChange
return this.requestAdapter.send(requestInfo, errorMapping, ComplianceChange::createFromDiscriminatorValue);
}
/**
* Delete a contentApproval object.
* Delete a complianceChange object.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toDeleteRequestInformation() {
return toDeleteRequestInformation(null);
}
/**
* Delete a contentApproval object.
* Delete a complianceChange 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 @@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
super(requestAdapter, "{+baseurl}/app/calls/{call%2Did}/participants/invite", rawUrl);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) {
return post(body, null);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite
return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @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 @@ -55,7 +55,7 @@ public void delete(@jakarta.annotation.Nullable final java.util.function.Consume
this.requestAdapter.sendPrimitive(requestInfo, errorMapping, Void.class);
}
/**
* Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens.
* Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs.
* @return a {@link SignIn}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/signin-get?view=graph-rest-beta">Find more info here</a>
Expand All @@ -65,7 +65,7 @@ public SignIn get() {
return get(null);
}
/**
* Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens.
* Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link SignIn}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -124,15 +124,15 @@ public RequestInformation toDeleteRequestInformation(@jakarta.annotation.Nullabl
return requestInfo;
}
/**
* Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens.
* Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens.
* Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -184,7 +184,7 @@ public SignInItemRequestBuilder withUrl(@jakarta.annotation.Nonnull final String
public class DeleteRequestConfiguration extends BaseRequestConfiguration {
}
/**
* Get a signIn object that contains a specific user sign-in event for your tenant that includes sign-ins where a user is asked to enter a username or password, and session tokens.
* Retrieve a specific Microsoft Entra user sign-in event for your tenant. Sign-ins that are interactive in nature (where a username/password is passed as part of auth token) and successful federated sign-ins are currently included in the sign-in logs.
*/
@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 @@ -36,23 +36,23 @@ public InviteRequestBuilder(@jakarta.annotation.Nonnull final String rawUrl, @ja
super(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body) {
return post(body, null);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link InviteParticipantsOperation}
* @throws ODataError When receiving a 4XX or 5XX status code
* @see <a href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-beta">Find more info here</a>
* @see <a href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-beta">Find more info here</a>
*/
@jakarta.annotation.Nullable
public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final InvitePostRequestBody body, @jakarta.annotation.Nullable final java.util.function.Consumer<PostRequestConfiguration> requestConfiguration) {
Expand All @@ -63,7 +63,7 @@ public InviteParticipantsOperation post(@jakarta.annotation.Nonnull final Invite
return this.requestAdapter.send(requestInfo, errorMapping, InviteParticipantsOperation::createFromDiscriminatorValue);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @param body The request body
* @return a {@link RequestInformation}
*/
Expand All @@ -72,7 +72,7 @@ public RequestInformation toPostRequestInformation(@jakarta.annotation.Nonnull f
return toPostRequestInformation(body, null);
}
/**
* Invite participants to the active call. For more information about how to handle operations, see commsOperation.
* Delete a specific participant in a call. In some situations, it is appropriate for an application to remove a participant from an active call. This action can be done before or after the participant answers the call. When an active caller is removed, they are immediately dropped from the call with no pre- or post-removal notification. When an invited participant is removed, any outstanding add participant request is canceled.
* @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 @@ -60,7 +60,7 @@ public ScheduledActionsForRuleRequestBuilder(@jakarta.annotation.Nonnull final S
super(requestAdapter, "{+baseurl}/deviceManagement/deviceCompliancePolicies/{deviceCompliancePolicy%2Did}/scheduledActionsForRule{?%24count,%24expand,%24filter,%24orderby,%24search,%24select,%24skip,%24top}", rawUrl);
}
/**
* The list of scheduled action for this rule
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
*/
Expand All @@ -69,7 +69,7 @@ public DeviceComplianceScheduledActionForRuleCollectionResponse get() {
return get(null);
}
/**
* The list of scheduled action for this rule
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link DeviceComplianceScheduledActionForRuleCollectionResponse}
* @throws ODataError When receiving a 4XX or 5XX status code
Expand Down Expand Up @@ -107,15 +107,15 @@ public DeviceComplianceScheduledActionForRule post(@jakarta.annotation.Nonnull f
return this.requestAdapter.send(requestInfo, errorMapping, DeviceComplianceScheduledActionForRule::createFromDiscriminatorValue);
}
/**
* The list of scheduled action for this rule
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @return a {@link RequestInformation}
*/
@jakarta.annotation.Nonnull
public RequestInformation toGetRequestInformation() {
return toGetRequestInformation(null);
}
/**
* The list of scheduled action for this rule
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
* @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options.
* @return a {@link RequestInformation}
*/
Expand Down Expand Up @@ -161,7 +161,7 @@ public ScheduledActionsForRuleRequestBuilder withUrl(@jakarta.annotation.Nonnull
return new ScheduledActionsForRuleRequestBuilder(rawUrl, requestAdapter);
}
/**
* The list of scheduled action for this rule
* The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies.
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public class GetQueryParameters implements QueryParameters {
Expand Down
Loading

0 comments on commit feb9b5f

Please sign in to comment.