Skip to content

Commit 597a3a3

Browse files
Microsoft Graph DevX ToolingMicrosoft Graph DevX Tooling
authored andcommitted
feat(generation): update request builders and models
Update generated files with build 169540
1 parent cce3ac1 commit 597a3a3

File tree

109 files changed

+2269
-303
lines changed

Some content is hidden

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

109 files changed

+2269
-303
lines changed

src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiatePostRequestBody.cs

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,22 @@ public string DisplayName
3636
get { return BackingStore?.Get<string>("displayName"); }
3737
set { BackingStore?.Set("displayName", value); }
3838
}
39+
#endif
40+
/// <summary>The serviceManagementReference property</summary>
41+
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
42+
#nullable enable
43+
public string? ServiceManagementReference
44+
{
45+
get { return BackingStore?.Get<string?>("serviceManagementReference"); }
46+
set { BackingStore?.Set("serviceManagementReference", value); }
47+
}
48+
#nullable restore
49+
#else
50+
public string ServiceManagementReference
51+
{
52+
get { return BackingStore?.Get<string>("serviceManagementReference"); }
53+
set { BackingStore?.Set("serviceManagementReference", value); }
54+
}
3955
#endif
4056
/// <summary>
4157
/// Instantiates a new <see cref="global::Microsoft.Graph.ApplicationTemplates.Item.Instantiate.InstantiatePostRequestBody"/> and sets the default values.
@@ -64,6 +80,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
6480
return new Dictionary<string, Action<IParseNode>>
6581
{
6682
{ "displayName", n => { DisplayName = n.GetStringValue(); } },
83+
{ "serviceManagementReference", n => { ServiceManagementReference = n.GetStringValue(); } },
6784
};
6885
}
6986
/// <summary>
@@ -74,6 +91,7 @@ public virtual void Serialize(ISerializationWriter writer)
7491
{
7592
_ = writer ?? throw new ArgumentNullException(nameof(writer));
7693
writer.WriteStringValue("displayName", DisplayName);
94+
writer.WriteStringValue("serviceManagementReference", ServiceManagementReference);
7795
writer.WriteAdditionalData(AdditionalData);
7896
}
7997
}

src/Microsoft.Graph/Generated/ApplicationTemplates/Item/Instantiate/InstantiateRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public InstantiateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
3535
{
3636
}
3737
/// <summary>
38-
/// Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
38+
/// Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
3939
/// Find more info here <see href="https://learn.microsoft.com/graph/api/applicationtemplate-instantiate?view=graph-rest-1.0" />
4040
/// </summary>
4141
/// <returns>A <see cref="global::Microsoft.Graph.Models.ApplicationServicePrincipal"/></returns>
@@ -61,7 +61,7 @@ public InstantiateRequestBuilder(string rawUrl, IRequestAdapter requestAdapter)
6161
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.ApplicationServicePrincipal>(requestInfo, global::Microsoft.Graph.Models.ApplicationServicePrincipal.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
6262
}
6363
/// <summary>
64-
/// Add an instance of an application from the Microsoft Entra application gallery into your directory. The application template with ID 8adf8e6e-67b2-4cf2-a259-e3dc5476c621 can be used to add a non-gallery app that you can configure different single-sign on (SSO) modes like SAML SSO and password-based SSO.
64+
/// Add an instance of an application from the Microsoft Entra application gallery into your directory. For non-gallery apps, use an application template with one of the following IDs to configure different single sign-on (SSO) modes like SAML SSO and password-based SSO.
6565
/// </summary>
6666
/// <returns>A <see cref="RequestInformation"/></returns>
6767
/// <param name="body">The request body</param>

src/Microsoft.Graph/Generated/Applications/Delta/DeltaRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
3434
{
3535
}
3636
/// <summary>
37-
/// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
37+
/// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
3838
/// Find more info here <see href="https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-1.0" />
3939
/// </summary>
4040
/// <returns>A <see cref="global::Microsoft.Graph.Applications.Delta.DeltaGetResponse"/></returns>
@@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
5858
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Applications.Delta.DeltaGetResponse>(requestInfo, global::Microsoft.Graph.Applications.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
5959
}
6060
/// <summary>
61-
/// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
61+
/// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
6262
/// Find more info here <see href="https://learn.microsoft.com/graph/api/application-delta?view=graph-rest-1.0" />
6363
/// </summary>
6464
/// <returns>A <see cref="global::Microsoft.Graph.Applications.Delta.DeltaResponse"/></returns>
@@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
8383
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Applications.Delta.DeltaResponse>(requestInfo, global::Microsoft.Graph.Applications.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
8484
}
8585
/// <summary>
86-
/// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
86+
/// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
8787
/// </summary>
8888
/// <returns>A <see cref="RequestInformation"/></returns>
8989
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
111111
return new global::Microsoft.Graph.Applications.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter);
112112
}
113113
/// <summary>
114-
/// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For details, see Using delta query.
114+
/// Get newly created, updated, or deleted applications without performing a full read of the entire resource collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
115115
/// </summary>
116116
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
117117
public partial class DeltaRequestBuilderGetQueryParameters

src/Microsoft.Graph/Generated/BaseGraphServiceClient.cs

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,7 @@
7575
using Microsoft.Graph.Teamwork;
7676
using Microsoft.Graph.TenantRelationships;
7777
using Microsoft.Graph.Users;
78+
using Microsoft.Graph.UsersWithUserPrincipalName;
7879
using Microsoft.Kiota.Abstractions.Extensions;
7980
using Microsoft.Kiota.Abstractions.Store;
8081
using Microsoft.Kiota.Abstractions;
@@ -520,6 +521,16 @@ public partial class BaseGraphServiceClient : BaseRequestBuilder
520521
if(string.IsNullOrEmpty(appId)) throw new ArgumentNullException(nameof(appId));
521522
return new global::Microsoft.Graph.ServicePrincipalsWithAppId.ServicePrincipalsWithAppIdRequestBuilder(PathParameters, RequestAdapter, appId);
522523
}
524+
/// <summary>
525+
/// Provides operations to manage the collection of user entities.
526+
/// </summary>
527+
/// <returns>A <see cref="global::Microsoft.Graph.UsersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder"/></returns>
528+
/// <param name="userPrincipalName">Alternate key of user</param>
529+
public global::Microsoft.Graph.UsersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder UsersWithUserPrincipalName(string userPrincipalName)
530+
{
531+
if(string.IsNullOrEmpty(userPrincipalName)) throw new ArgumentNullException(nameof(userPrincipalName));
532+
return new global::Microsoft.Graph.UsersWithUserPrincipalName.UsersWithUserPrincipalNameRequestBuilder(PathParameters, RequestAdapter, userPrincipalName);
533+
}
523534
}
524535
}
525536
#pragma warning restore CS0618

src/Microsoft.Graph/Generated/Communications/Calls/CallsRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ public CallsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
8383
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.CallCollectionResponse>(requestInfo, global::Microsoft.Graph.Models.CallCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
8484
}
8585
/// <summary>
86-
/// Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
86+
/// Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
8787
/// Find more info here <see href="https://learn.microsoft.com/graph/api/application-post-calls?view=graph-rest-1.0" />
8888
/// </summary>
8989
/// <returns>A <see cref="global::Microsoft.Graph.Models.Call"/></returns>
@@ -128,7 +128,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
128128
return requestInfo;
129129
}
130130
/// <summary>
131-
/// Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You will need to register the calling bot and go through the list of permissions needed as mentioned below. This API supports the following PSTN scenarios:
131+
/// Create call enables your bot to create a new outgoing peer-to-peer or group call, or join an existing meeting. You need to register the calling bot and go through the list of permissions needed. This API supports the following PSTN scenarios:
132132
/// </summary>
133133
/// <returns>A <see cref="RequestInformation"/></returns>
134134
/// <param name="body">The request body</param>

src/Microsoft.Graph/Generated/Communications/Calls/Item/Answer/AnswerRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public AnswerRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
3434
{
3535
}
3636
/// <summary>
37-
/// Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
37+
/// Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
3838
/// Find more info here <see href="https://learn.microsoft.com/graph/api/call-answer?view=graph-rest-1.0" />
3939
/// </summary>
4040
/// <param name="body">The request body</param>
@@ -59,7 +59,7 @@ public async Task PostAsync(global::Microsoft.Graph.Communications.Calls.Item.An
5959
await RequestAdapter.SendNoContentAsync(requestInfo, errorMapping, cancellationToken).ConfigureAwait(false);
6060
}
6161
/// <summary>
62-
/// Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification will contain the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios, and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
62+
/// Enable a bot to answer an incoming call. The incoming call request can be an invitation from a participant in a group call or a peer-to-peer call. If an invitation to a group call is received, the notification contains the chatInfo and meetingInfo parameters. The bot is expected to answer, reject, or redirect the call before the call times out. The current timeout value is 15 seconds for regular scenarios and 5 seconds for policy-based recording scenarios. This API supports the following PSTN scenarios:
6363
/// </summary>
6464
/// <returns>A <see cref="RequestInformation"/></returns>
6565
/// <param name="body">The request body</param>

src/Microsoft.Graph/Generated/Communications/Calls/Item/Participants/Invite/InviteRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
3535
{
3636
}
3737
/// <summary>
38-
/// 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.
39-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0" />
38+
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
39+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0" />
4040
/// </summary>
4141
/// <returns>A <see cref="global::Microsoft.Graph.Models.InviteParticipantsOperation"/></returns>
4242
/// <param name="body">The request body</param>
@@ -61,7 +61,7 @@ public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : bas
6161
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Models.InviteParticipantsOperation>(requestInfo, global::Microsoft.Graph.Models.InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
6262
}
6363
/// <summary>
64-
/// 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.
64+
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation.
6565
/// </summary>
6666
/// <returns>A <see cref="RequestInformation"/></returns>
6767
/// <param name="body">The request body</param>

src/Microsoft.Graph/Generated/Contacts/Delta/DeltaRequestBuilder.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
3434
{
3535
}
3636
/// <summary>
37-
/// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
37+
/// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
3838
/// Find more info here <see href="https://learn.microsoft.com/graph/api/orgcontact-delta?view=graph-rest-1.0" />
3939
/// </summary>
4040
/// <returns>A <see cref="global::Microsoft.Graph.Contacts.Delta.DeltaGetResponse"/></returns>
@@ -58,7 +58,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
5858
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Contacts.Delta.DeltaGetResponse>(requestInfo, global::Microsoft.Graph.Contacts.Delta.DeltaGetResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
5959
}
6060
/// <summary>
61-
/// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
61+
/// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
6262
/// Find more info here <see href="https://learn.microsoft.com/graph/api/orgcontact-delta?view=graph-rest-1.0" />
6363
/// </summary>
6464
/// <returns>A <see cref="global::Microsoft.Graph.Contacts.Delta.DeltaResponse"/></returns>
@@ -83,7 +83,7 @@ public DeltaRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base
8383
return await RequestAdapter.SendAsync<global::Microsoft.Graph.Contacts.Delta.DeltaResponse>(requestInfo, global::Microsoft.Graph.Contacts.Delta.DeltaResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
8484
}
8585
/// <summary>
86-
/// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
86+
/// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
8787
/// </summary>
8888
/// <returns>A <see cref="RequestInformation"/></returns>
8989
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -111,7 +111,7 @@ public RequestInformation ToGetRequestInformation(Action<RequestConfiguration<gl
111111
return new global::Microsoft.Graph.Contacts.Delta.DeltaRequestBuilder(rawUrl, RequestAdapter);
112112
}
113113
/// <summary>
114-
/// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. See change tracking for details.
114+
/// Get newly created, updated, or deleted organizational contacts without having to perform a full read of the entire collection. For more information, see Use delta query to track changes in Microsoft Graph data for details.
115115
/// </summary>
116116
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.0.0")]
117117
public partial class DeltaRequestBuilderGetQueryParameters

0 commit comments

Comments
 (0)