Skip to content

Commit

Permalink
Update generated files with build 109147
Browse files Browse the repository at this point in the history
  • Loading branch information
Microsoft Graph DevX Tooling authored and Microsoft Graph DevX Tooling committed Mar 14, 2023
1 parent f0f0f37 commit 16f542b
Show file tree
Hide file tree
Showing 245 changed files with 4,666 additions and 850 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {
RequestAdapter = requestAdapter;
}
/// <summary>
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0" />
/// 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.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -69,7 +69,7 @@ public async Task<InviteParticipantsOperation> PostAsync(InvitePostRequestBody b
return await RequestAdapter.SendAsync<InviteParticipantsOperation>(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// 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.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public RegistrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
RequestAdapter = requestAdapter;
}
/// <summary>
/// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/meetingregistration-delete?view=graph-rest-1.0" />
/// Disable and delete the externalMeetingRegistration of an onlineMeeting.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -72,8 +72,8 @@ public async Task DeleteAsync(Action<RegistrationRequestBuilderDeleteRequestConf
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken);
}
/// <summary>
/// Get the externalMeetingRegistration details associated with an onlineMeeting.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/externalmeetingregistration-get?view=graph-rest-1.0" />
/// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/meetingregistration-get?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -114,7 +114,7 @@ public async Task<MeetingRegistration> PatchAsync(MeetingRegistration body, Acti
return await RequestAdapter.SendAsync<MeetingRegistration>(requestInfo, MeetingRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
/// Disable and delete the externalMeetingRegistration of an onlineMeeting.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand All @@ -138,7 +138,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RegistrationRequestB
return requestInfo;
}
/// <summary>
/// Get the externalMeetingRegistration details associated with an onlineMeeting.
/// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand Down Expand Up @@ -208,7 +208,7 @@ public RegistrationRequestBuilderDeleteRequestConfiguration() {
}
}
/// <summary>
/// Get the externalMeetingRegistration details associated with an onlineMeeting.
/// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
/// </summary>
public class RegistrationRequestBuilderGetQueryParameters {
/// <summary>Expand related entities</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public ProvisionOnDemandRequestBuilder(string rawUrl, IRequestAdapter requestAda
}
/// <summary>
/// Select a user and provision the account on-demand. The rate limit for this API is 5 requests per 10 seconds.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/synchronization-synchronizationjob-provision-on-demand?view=graph-rest-1.0" />
/// Find more info here <see href="https://docs.microsoft.com/graph/api/synchronization-synchronizationjob-provisionondemand?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ public async Task DeleteAsync(Action<SynchronizationRequestBuilderDeleteRequestC
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken);
}
/// <summary>
/// Get synchronization from applications
/// Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API.
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -155,7 +155,7 @@ public RequestInformation ToDeleteRequestInformation(Action<SynchronizationReque
return requestInfo;
}
/// <summary>
/// Get synchronization from applications
/// Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand Down Expand Up @@ -225,7 +225,7 @@ public SynchronizationRequestBuilderDeleteRequestConfiguration() {
}
}
/// <summary>
/// Get synchronization from applications
/// Represents the capability for Azure Active Directory (Azure AD) identity synchronization through the Microsoft Graph API.
/// </summary>
public class SynchronizationRequestBuilderGetQueryParameters {
/// <summary>Expand related entities</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) {
RequestAdapter = requestAdapter;
}
/// <summary>
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0" />
/// 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.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0" />
/// </summary>
/// <param name="body">The request body</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
Expand All @@ -69,7 +69,7 @@ public async Task<InviteParticipantsOperation> PostAsync(InvitePostRequestBody b
return await RequestAdapter.SendAsync<InviteParticipantsOperation>(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// 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.
/// </summary>
/// <param name="body">The request body</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,8 +52,8 @@ public RegistrationRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
RequestAdapter = requestAdapter;
}
/// <summary>
/// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/meetingregistration-delete?view=graph-rest-1.0" />
/// Disable and delete the externalMeetingRegistration of an onlineMeeting.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/externalmeetingregistration-delete?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -72,8 +72,8 @@ public async Task DeleteAsync(Action<RegistrationRequestBuilderDeleteRequestConf
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken);
}
/// <summary>
/// Get the externalMeetingRegistration details associated with an onlineMeeting.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/externalmeetingregistration-get?view=graph-rest-1.0" />
/// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
/// Find more info here <see href="https://docs.microsoft.com/graph/api/meetingregistration-get?view=graph-rest-1.0" />
/// </summary>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand Down Expand Up @@ -114,7 +114,7 @@ public async Task<MeetingRegistration> PatchAsync(MeetingRegistration body, Acti
return await RequestAdapter.SendAsync<MeetingRegistration>(requestInfo, MeetingRegistration.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Disable and delete the meetingRegistration of an onlineMeeting on behalf of the organizer.
/// Disable and delete the externalMeetingRegistration of an onlineMeeting.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand All @@ -138,7 +138,7 @@ public RequestInformation ToDeleteRequestInformation(Action<RegistrationRequestB
return requestInfo;
}
/// <summary>
/// Get the externalMeetingRegistration details associated with an onlineMeeting.
/// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
Expand Down Expand Up @@ -208,7 +208,7 @@ public RegistrationRequestBuilderDeleteRequestConfiguration() {
}
}
/// <summary>
/// Get the externalMeetingRegistration details associated with an onlineMeeting.
/// Get the meetingRegistration details associated with an onlineMeeting on behalf of the organizer.
/// </summary>
public class RegistrationRequestBuilderGetQueryParameters {
/// <summary>Expand related entities</summary>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,27 @@ public async Task<DeviceHealthScriptPolicyStateCollectionResponse> GetAsync(Acti
return await RequestAdapter.SendAsync<DeviceHealthScriptPolicyStateCollectionResponse>(requestInfo, DeviceHealthScriptPolicyStateCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Create new navigation property to deviceHealthScriptStates for deviceManagement
/// </summary>
/// <param name="body">Contains properties for policy run state of the device health script.</param>
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public async Task<DeviceHealthScriptPolicyState?> PostAsync(DeviceHealthScriptPolicyState body, Action<DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration>? requestConfiguration = default, CancellationToken cancellationToken = default) {
#nullable restore
#else
public async Task<DeviceHealthScriptPolicyState> PostAsync(DeviceHealthScriptPolicyState body, Action<DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration> requestConfiguration = default, CancellationToken cancellationToken = default) {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = ToPostRequestInformation(body, requestConfiguration);
var errorMapping = new Dictionary<string, ParsableFactory<IParsable>> {
{"4XX", ODataError.CreateFromDiscriminatorValue},
{"5XX", ODataError.CreateFromDiscriminatorValue},
};
return await RequestAdapter.SendAsync<DeviceHealthScriptPolicyState>(requestInfo, DeviceHealthScriptPolicyState.CreateFromDiscriminatorValue, errorMapping, cancellationToken);
}
/// <summary>
/// Results of device health scripts that ran for this device. Default is empty list. This property is read-only.
/// </summary>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
Expand All @@ -98,6 +119,34 @@ public RequestInformation ToGetRequestInformation(Action<DeviceHealthScriptState
return requestInfo;
}
/// <summary>
/// Create new navigation property to deviceHealthScriptStates for deviceManagement
/// </summary>
/// <param name="body">Contains properties for policy run state of the device health script.</param>
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
#nullable enable
public RequestInformation ToPostRequestInformation(DeviceHealthScriptPolicyState body, Action<DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration>? requestConfiguration = default) {
#nullable restore
#else
public RequestInformation ToPostRequestInformation(DeviceHealthScriptPolicyState body, Action<DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration> requestConfiguration = default) {
#endif
_ = body ?? throw new ArgumentNullException(nameof(body));
var requestInfo = new RequestInformation {
HttpMethod = Method.POST,
UrlTemplate = UrlTemplate,
PathParameters = PathParameters,
};
requestInfo.Headers.Add("Accept", "application/json");
requestInfo.SetContentFromParsable(RequestAdapter, "application/json", body);
if (requestConfiguration != null) {
var requestConfig = new DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration();
requestConfiguration.Invoke(requestConfig);
requestInfo.AddRequestOptions(requestConfig.Options);
requestInfo.AddHeaders(requestConfig.Headers);
}
return requestInfo;
}
/// <summary>
/// Provides operations to manage the deviceHealthScriptStates property of the microsoft.graph.managedDevice entity.
/// </summary>
/// <param name="deviceId">Property in multi-part unique identifier of deviceHealthScriptPolicyState</param>
Expand Down Expand Up @@ -191,5 +240,21 @@ public DeviceHealthScriptStatesRequestBuilderGetRequestConfiguration() {
Headers = new RequestHeaders();
}
}
/// <summary>
/// Configuration for the request such as headers, query parameters, and middleware options.
/// </summary>
public class DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration {
/// <summary>Request headers</summary>
public RequestHeaders Headers { get; set; }
/// <summary>Request options</summary>
public IList<IRequestOption> Options { get; set; }
/// <summary>
/// Instantiates a new deviceHealthScriptStatesRequestBuilderPostRequestConfiguration and sets the default values.
/// </summary>
public DeviceHealthScriptStatesRequestBuilderPostRequestConfiguration() {
Options = new List<IRequestOption>();
Headers = new RequestHeaders();
}
}
}
}
Loading

0 comments on commit 16f542b

Please sign in to comment.