-
Notifications
You must be signed in to change notification settings - Fork 481
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create TeamMember model and apply small feedback
- Loading branch information
1 parent
f0ebe7d
commit 94ad1d1
Showing
7 changed files
with
74 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
|
||
namespace Microsoft.Bot.Schema.Teams | ||
{ | ||
using Newtonsoft.Json; | ||
|
||
/// <summary> | ||
/// Describes a member. | ||
/// </summary> | ||
public partial class TeamMember | ||
{ | ||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TeamMember"/> class. | ||
/// </summary> | ||
public TeamMember() | ||
{ | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Initializes a new instance of the <see cref="TeamMember"/> class. | ||
/// </summary> | ||
/// <param name="id">Unique identifier representing a member (user or channel).</param> | ||
public TeamMember(string id = default) | ||
{ | ||
Id = id; | ||
CustomInit(); | ||
} | ||
|
||
/// <summary> | ||
/// Gets or sets unique identifier representing a member (user or channel). | ||
/// </summary> | ||
/// <value>The member ID.</value> | ||
[JsonProperty(PropertyName = "id")] | ||
public string Id { get; set; } | ||
|
||
/// <summary> | ||
/// An initialization method that performs custom operations like setting defaults. | ||
/// </summary> | ||
partial void CustomInit(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters