Skip to content

Commit 0477739

Browse files
authored
Merge pull request #1529 from microsoftgraph/dev
Release 4.45.0
2 parents 5858c8f + 82545dd commit 0477739

59 files changed

Lines changed: 3190 additions & 5 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.

.github/workflows/validatePullRequest.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
steps:
1616
- uses: actions/checkout@v3.1.0
1717
- name: Setup .NET
18-
uses: actions/setup-dotnet@v3.0.1
18+
uses: actions/setup-dotnet@v3.0.2
1919
with:
2020
dotnet-version: 6.0.x
2121
- name: Initialize CodeQL
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: ComplexType.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Text.Json.Serialization;
16+
17+
/// <summary>
18+
/// The type AuthenticationMethodFeatureConfiguration.
19+
/// </summary>
20+
[JsonConverter(typeof(DerivedTypeConverter<AuthenticationMethodFeatureConfiguration>))]
21+
public partial class AuthenticationMethodFeatureConfiguration
22+
{
23+
24+
/// <summary>
25+
/// Gets or sets excludeTarget.
26+
/// A single entity that is excluded from this feature.
27+
/// </summary>
28+
[JsonPropertyName("excludeTarget")]
29+
public FeatureTarget ExcludeTarget { get; set; }
30+
31+
/// <summary>
32+
/// Gets or sets includeTarget.
33+
/// A single entity that is included in this feature.
34+
/// </summary>
35+
[JsonPropertyName("includeTarget")]
36+
public FeatureTarget IncludeTarget { get; set; }
37+
38+
/// <summary>
39+
/// Gets or sets state.
40+
/// Enable or disable the feature. Possible values are: default, enabled, disabled, unknownFutureValue. The default value is used when the configuration hasn't been explicitly set and uses the default behavior of Azure AD for the setting. The default value is disabled.
41+
/// </summary>
42+
[JsonPropertyName("state")]
43+
public AdvancedConfigState? State { get; set; }
44+
45+
/// <summary>
46+
/// Gets or sets additional data.
47+
/// </summary>
48+
[JsonExtensionData]
49+
public IDictionary<string, object> AdditionalData { get; set; }
50+
51+
/// <summary>
52+
/// Gets or sets @odata.type.
53+
/// </summary>
54+
[JsonPropertyName("@odata.type")]
55+
public string ODataType { get; set; }
56+
57+
}
58+
}

src/Microsoft.Graph/Generated/model/Chat.cs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,13 @@ public partial class Chat : Entity
6363
[JsonPropertyName("topic")]
6464
public string Topic { get; set; }
6565

66+
/// <summary>
67+
/// Gets or sets viewpoint.
68+
/// Represents caller-specific information about the chat, such as last message read date and time. This property is populated only when the request is made in a delegated context.
69+
/// </summary>
70+
[JsonPropertyName("viewpoint")]
71+
public ChatViewpoint Viewpoint { get; set; }
72+
6673
/// <summary>
6774
/// Gets or sets web url.
6875
/// The URL for the chat in Microsoft Teams. The URL should be treated as an opaque blob, and not parsed. Read-only.
@@ -84,6 +91,13 @@ public partial class Chat : Entity
8491
[JsonConverter(typeof(NextLinkConverter))]
8592
public string InstalledAppsNextLink { get; set; }
8693

94+
/// <summary>
95+
/// Gets or sets last message preview.
96+
/// Preview of the last message sent in the chat. Null if no messages have been sent in the chat. Currently, only the list chats operation supports this property.
97+
/// </summary>
98+
[JsonPropertyName("lastMessagePreview")]
99+
public ChatMessageInfo LastMessagePreview { get; set; }
100+
87101
/// <summary>
88102
/// Gets or sets members.
89103
/// A collection of all the members in the chat. Nullable.
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: MethodRequestBody.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Text.Json.Serialization;
16+
17+
/// <summary>
18+
/// The type ChatHideForUserRequestBody.
19+
/// </summary>
20+
public partial class ChatHideForUserRequestBody
21+
{
22+
23+
/// <summary>
24+
/// Gets or sets User.
25+
/// </summary>
26+
[JsonPropertyName("user")]
27+
public TeamworkUserIdentity User { get; set; }
28+
29+
}
30+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: MethodRequestBody.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Text.Json.Serialization;
16+
17+
/// <summary>
18+
/// The type ChatMarkChatReadForUserRequestBody.
19+
/// </summary>
20+
public partial class ChatMarkChatReadForUserRequestBody
21+
{
22+
23+
/// <summary>
24+
/// Gets or sets User.
25+
/// </summary>
26+
[JsonPropertyName("user")]
27+
public TeamworkUserIdentity User { get; set; }
28+
29+
}
30+
}
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: MethodRequestBody.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Text.Json.Serialization;
16+
17+
/// <summary>
18+
/// The type ChatMarkChatUnreadForUserRequestBody.
19+
/// </summary>
20+
public partial class ChatMarkChatUnreadForUserRequestBody
21+
{
22+
23+
/// <summary>
24+
/// Gets or sets User.
25+
/// </summary>
26+
[JsonPropertyName("user")]
27+
public TeamworkUserIdentity User { get; set; }
28+
29+
/// <summary>
30+
/// Gets or sets LastMessageReadDateTime.
31+
/// </summary>
32+
[JsonPropertyName("lastMessageReadDateTime")]
33+
public DateTimeOffset? LastMessageReadDateTime { get; set; }
34+
35+
}
36+
}
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: EntityType.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Text.Json.Serialization;
16+
17+
/// <summary>
18+
/// The type Chat Message Info.
19+
/// </summary>
20+
[JsonConverter(typeof(DerivedTypeConverter<ChatMessageInfo>))]
21+
public partial class ChatMessageInfo : Entity
22+
{
23+
24+
/// <summary>
25+
/// Gets or sets body.
26+
/// Body of the chatMessage. This will still contain markers for @mentions and attachments even though the object does not return @mentions and attachments.
27+
/// </summary>
28+
[JsonPropertyName("body")]
29+
public ItemBody Body { get; set; }
30+
31+
/// <summary>
32+
/// Gets or sets created date time.
33+
/// Date time object representing the time at which message was created.
34+
/// </summary>
35+
[JsonPropertyName("createdDateTime")]
36+
public DateTimeOffset? CreatedDateTime { get; set; }
37+
38+
/// <summary>
39+
/// Gets or sets event detail.
40+
/// Read-only. If present, represents details of an event that happened in a chat, a channel, or a team, for example, members were added, and so on. For event messages, the messageType property will be set to systemEventMessage.
41+
/// </summary>
42+
[JsonPropertyName("eventDetail")]
43+
public EventMessageDetail EventDetail { get; set; }
44+
45+
/// <summary>
46+
/// Gets or sets from.
47+
/// Information about the sender of the message.
48+
/// </summary>
49+
[JsonPropertyName("from")]
50+
public ChatMessageFromIdentitySet From { get; set; }
51+
52+
/// <summary>
53+
/// Gets or sets is deleted.
54+
/// If set to true, the original message has been deleted.
55+
/// </summary>
56+
[JsonPropertyName("isDeleted")]
57+
public bool? IsDeleted { get; set; }
58+
59+
/// <summary>
60+
/// Gets or sets message type.
61+
/// The type of chat message. The possible values are: message, unknownFutureValue, systemEventMessage.
62+
/// </summary>
63+
[JsonPropertyName("messageType")]
64+
public ChatMessageType? MessageType { get; set; }
65+
66+
}
67+
}
68+
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: MethodRequestBody.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Text.Json.Serialization;
16+
17+
/// <summary>
18+
/// The type ChatUnhideForUserRequestBody.
19+
/// </summary>
20+
public partial class ChatUnhideForUserRequestBody
21+
{
22+
23+
/// <summary>
24+
/// Gets or sets User.
25+
/// </summary>
26+
[JsonPropertyName("user")]
27+
public TeamworkUserIdentity User { get; set; }
28+
29+
}
30+
}
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
// **NOTE** This file was generated by a tool and any changes will be overwritten.
6+
// <auto-generated/>
7+
8+
// Template Source: ComplexType.cs.tt
9+
10+
namespace Microsoft.Graph
11+
{
12+
using System;
13+
using System.Collections.Generic;
14+
using System.IO;
15+
using System.Text.Json.Serialization;
16+
17+
/// <summary>
18+
/// The type ChatViewpoint.
19+
/// </summary>
20+
[JsonConverter(typeof(DerivedTypeConverter<ChatViewpoint>))]
21+
public partial class ChatViewpoint
22+
{
23+
24+
/// <summary>
25+
/// Gets or sets isHidden.
26+
/// Indicates whether the chat is hidden for the current user.
27+
/// </summary>
28+
[JsonPropertyName("isHidden")]
29+
public bool? IsHidden { get; set; }
30+
31+
/// <summary>
32+
/// Gets or sets lastMessageReadDateTime.
33+
/// Represents the dateTime up until which the current user has read chatMessages in a specific chat.
34+
/// </summary>
35+
[JsonPropertyName("lastMessageReadDateTime")]
36+
public DateTimeOffset? LastMessageReadDateTime { get; set; }
37+
38+
/// <summary>
39+
/// Gets or sets additional data.
40+
/// </summary>
41+
[JsonExtensionData]
42+
public IDictionary<string, object> AdditionalData { get; set; }
43+
44+
/// <summary>
45+
/// Gets or sets @odata.type.
46+
/// </summary>
47+
[JsonPropertyName("@odata.type")]
48+
public string ODataType { get; set; }
49+
50+
}
51+
}

0 commit comments

Comments
 (0)