Skip to content

Commit fc141c8

Browse files
authored
Merge pull request #2189 from microsoftgraph/kiota/v1.0/pipelinebuild/127844
Generated models and request builders
2 parents 3a7f6d3 + 2a8b0db commit fc141c8

280 files changed

Lines changed: 3472 additions & 985 deletions

File tree

Some content is hidden

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

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ and this project does adheres to [Semantic Versioning](https://semver.org/spec/v
77

88
## [Unreleased]
99

10+
## [5.33.0] - 2023-11-02
11+
12+
- Latest metadata updates from 31st October 2023.
13+
1014
## [5.32.0] - 2023-10-24
1115

1216
- SDK is compatible with trimming(https://github.com/microsoftgraph/msgraph-sdk-dotnet/pull/2174)

src/Microsoft.Graph/Extensions/PlannerCheckListItem.cs

Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
namespace Microsoft.Graph.Models;
1111

12-
public class PlannerCheckListItem: IAdditionalDataHolder, IBackedModel, IParsable
12+
public class PlannerChecklistItem: IAdditionalDataHolder, IBackedModel, IParsable
1313
{
1414
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary>
1515
public IDictionary<string, object> AdditionalData {
@@ -87,7 +87,7 @@ public string Title {
8787
/// <summary>
8888
/// Instantiates a new auditActivityInitiator and sets the default values.
8989
/// </summary>
90-
public PlannerCheckListItem() {
90+
public PlannerChecklistItem() {
9191
BackingStore = BackingStoreFactorySingleton.Instance.CreateBackingStore();
9292
AdditionalData = new Dictionary<string, object>();
9393
OdataType = "#microsoft.graph.plannerChecklistItem";
@@ -96,9 +96,9 @@ public PlannerCheckListItem() {
9696
/// Creates a new instance of the appropriate class based on discriminator value
9797
/// </summary>
9898
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
99-
public static PlannerCheckListItem CreateFromDiscriminatorValue(IParseNode parseNode) {
99+
public static PlannerChecklistItem CreateFromDiscriminatorValue(IParseNode parseNode) {
100100
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
101-
return new PlannerCheckListItem();
101+
return new PlannerChecklistItem();
102102
}
103103
/// <summary>
104104
/// The deserialization information for the current model
@@ -128,3 +128,16 @@ public void Serialize(ISerializationWriter writer) {
128128
writer.WriteAdditionalData(AdditionalData);
129129
}
130130
}
131+
132+
[Obsolete("This class is obsolete due to incorrect naming. Use PlannerChecklistItem instead.")]
133+
public class PlannerCheckListItem: PlannerChecklistItem
134+
{
135+
/// <summary>
136+
/// Creates a new instance of the appropriate class based on discriminator value
137+
/// </summary>
138+
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param>
139+
public static new PlannerCheckListItem CreateFromDiscriminatorValue(IParseNode parseNode) {
140+
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode));
141+
return new PlannerCheckListItem();
142+
}
143+
}

src/Microsoft.Graph/Generated/AppCatalogs/TeamsApps/Item/TeamsAppItemRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public TeamsAppItemRequestBuilder(Dictionary<string, object> pathParameters, IRe
3434
public TeamsAppItemRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/appCatalogs/teamsApps/{teamsApp%2Did}{?%24select,%24expand}", rawUrl) {
3535
}
3636
/// <summary>
37-
/// This API is available in the following national cloud deployments.
37+
/// Delete an app from an organization&apos;s app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments.
3838
/// Find more info here <see href="https://learn.microsoft.com/graph/api/teamsapp-delete?view=graph-rest-1.0" />
3939
/// </summary>
4040
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -94,7 +94,7 @@ public async Task DeleteAsync(Action<TeamsAppItemRequestBuilderDeleteRequestConf
9494
return await RequestAdapter.SendAsync<Microsoft.Graph.Models.TeamsApp>(requestInfo, Microsoft.Graph.Models.TeamsApp.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
9595
}
9696
/// <summary>
97-
/// This API is available in the following national cloud deployments.
97+
/// Delete an app from an organization&apos;s app catalog (the tenant app catalog). To delete an app, the distributionMethod property for the app must be set to organization. You can also use this API to remove a submitted app from the review process. This API is available in the following national cloud deployments.
9898
/// </summary>
9999
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
100100
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER

src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/HostedContents/HostedContentsRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary<string, object> pathParameters, I
4242
public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
4343
}
4444
/// <summary>
45-
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments.
45+
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
4646
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0" />
4747
/// </summary>
4848
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -83,7 +83,7 @@ public async Task<ChatMessageHostedContent> PostAsync(ChatMessageHostedContent b
8383
return await RequestAdapter.SendAsync<ChatMessageHostedContent>(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
8484
}
8585
/// <summary>
86-
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments.
86+
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
8787
/// </summary>
8888
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
8989
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) {
144144
return new HostedContentsRequestBuilder(rawUrl, RequestAdapter);
145145
}
146146
/// <summary>
147-
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments.
147+
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
148148
/// </summary>
149149
public class HostedContentsRequestBuilderGetQueryParameters {
150150
/// <summary>Include count of items</summary>

src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/Item/HostedContents/HostedContentsRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public HostedContentsRequestBuilder(Dictionary<string, object> pathParameters, I
4242
public HostedContentsRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/chats/{chat%2Did}/messages/{chatMessage%2Did}/replies/{chatMessage%2Did1}/hostedContents{?%24top,%24skip,%24search,%24filter,%24count,%24orderby,%24select,%24expand}", rawUrl) {
4343
}
4444
/// <summary>
45-
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments.
45+
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
4646
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chatmessage-list-hostedcontents?view=graph-rest-1.0" />
4747
/// </summary>
4848
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -83,7 +83,7 @@ public async Task<ChatMessageHostedContent> PostAsync(ChatMessageHostedContent b
8383
return await RequestAdapter.SendAsync<ChatMessageHostedContent>(requestInfo, ChatMessageHostedContent.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
8484
}
8585
/// <summary>
86-
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments.
86+
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
8787
/// </summary>
8888
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
8989
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER
@@ -144,7 +144,7 @@ public HostedContentsRequestBuilder WithUrl(string rawUrl) {
144144
return new HostedContentsRequestBuilder(rawUrl, RequestAdapter);
145145
}
146146
/// <summary>
147-
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments.
147+
/// Retrieve the list of chatMessageHostedContent objects from a message. This API only lists the hosted content objects. To get the content bytes, see get chatmessage hosted content This API is available in the following national cloud deployments. The following tables show the least privileged permission or permissions required to call this API on each supported resource type. Follow best practices to request least privileged permissions. For details about delegated and application permissions, see Permission types. To learn more about these permissions, see the permissions reference.
148148
/// </summary>
149149
public class HostedContentsRequestBuilderGetQueryParameters {
150150
/// <summary>Include count of items</summary>

src/Microsoft.Graph/Generated/Chats/Item/Messages/Item/Replies/RepliesRequestBuilder.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ public async Task<ChatMessageCollectionResponse> GetAsync(Action<RepliesRequestB
6767
return await RequestAdapter.SendAsync<ChatMessageCollectionResponse>(requestInfo, ChatMessageCollectionResponse.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
6868
}
6969
/// <summary>
70-
/// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
71-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/chatmessage-post-replies?view=graph-rest-1.0" />
70+
/// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
71+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/channel-post-messagereply?view=graph-rest-1.0" />
7272
/// </summary>
7373
/// <param name="body">The request body</param>
7474
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -115,7 +115,7 @@ public RequestInformation ToGetRequestInformation(Action<RepliesRequestBuilderGe
115115
return requestInfo;
116116
}
117117
/// <summary>
118-
/// Send a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
118+
/// Create a new reply to a chatMessage in a specified channel. This API is available in the following national cloud deployments.
119119
/// </summary>
120120
/// <param name="body">The request body</param>
121121
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</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
@@ -29,8 +29,8 @@ public InviteRequestBuilder(Dictionary<string, object> pathParameters, IRequestA
2929
public InviteRequestBuilder(string rawUrl, IRequestAdapter requestAdapter) : base(requestAdapter, "{+baseurl}/communications/calls/{call%2Did}/participants/invite", rawUrl) {
3030
}
3131
/// <summary>
32-
/// 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. This API is available in the following national cloud deployments.
33-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/participant-delete?view=graph-rest-1.0" />
32+
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments.
33+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/participant-invite?view=graph-rest-1.0" />
3434
/// </summary>
3535
/// <param name="body">The request body</param>
3636
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
@@ -51,7 +51,7 @@ public async Task<InviteParticipantsOperation> PostAsync(InvitePostRequestBody b
5151
return await RequestAdapter.SendAsync<InviteParticipantsOperation>(requestInfo, InviteParticipantsOperation.CreateFromDiscriminatorValue, errorMapping, cancellationToken).ConfigureAwait(false);
5252
}
5353
/// <summary>
54-
/// 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. This API is available in the following national cloud deployments.
54+
/// Invite participants to the active call. For more information about how to handle operations, see commsOperation. This API is available in the following national cloud deployments.
5555
/// </summary>
5656
/// <param name="body">The request body</param>
5757
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>

src/Microsoft.Graph/Generated/DeviceAppManagement/DeviceAppManagementRequestBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
105105
}
106106
/// <summary>
107107
/// Read properties and relationships of the deviceAppManagement object.
108-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-get?view=graph-rest-1.0" />
108+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-get?view=graph-rest-1.0" />
109109
/// </summary>
110110
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>
111111
/// <param name="requestConfiguration">Configuration for the request such as headers, query parameters, and middleware options.</param>
@@ -125,7 +125,7 @@ public DeviceAppManagementRequestBuilder(string rawUrl, IRequestAdapter requestA
125125
}
126126
/// <summary>
127127
/// Update the properties of a deviceAppManagement object.
128-
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-onboarding-deviceappmanagement-update?view=graph-rest-1.0" />
128+
/// Find more info here <see href="https://learn.microsoft.com/graph/api/intune-partnerintegration-deviceappmanagement-update?view=graph-rest-1.0" />
129129
/// </summary>
130130
/// <param name="body">The request body</param>
131131
/// <param name="cancellationToken">Cancellation token to use when cancelling requests</param>

0 commit comments

Comments
 (0)