-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bad1843
commit bff8750
Showing
7 changed files
with
170 additions
and
15 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
// <auto-generated/> | ||
using System.Runtime.Serialization; | ||
using System; | ||
namespace GitHub.Models | ||
{ | ||
/// <summary>The Copilot plan of the organization, or the parent enterprise, when applicable.</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] | ||
public enum CopilotOrganizationDetails_plan_type | ||
{ | ||
[EnumMember(Value = "business")] | ||
#pragma warning disable CS1591 | ||
Business, | ||
#pragma warning restore CS1591 | ||
[EnumMember(Value = "enterprise")] | ||
#pragma warning disable CS1591 | ||
Enterprise, | ||
#pragma warning restore CS1591 | ||
[EnumMember(Value = "unknown")] | ||
#pragma warning disable CS1591 | ||
Unknown, | ||
#pragma warning restore CS1591 | ||
} | ||
} |
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,23 @@ | ||
// <auto-generated/> | ||
using System.Runtime.Serialization; | ||
using System; | ||
namespace GitHub.Models | ||
{ | ||
/// <summary>The Copilot plan of the organization, or the parent enterprise, when applicable.</summary> | ||
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] | ||
public enum CopilotSeatDetails_plan_type | ||
{ | ||
[EnumMember(Value = "business")] | ||
#pragma warning disable CS1591 | ||
Business, | ||
#pragma warning restore CS1591 | ||
[EnumMember(Value = "enterprise")] | ||
#pragma warning disable CS1591 | ||
Enterprise, | ||
#pragma warning restore CS1591 | ||
[EnumMember(Value = "unknown")] | ||
#pragma warning disable CS1591 | ||
Unknown, | ||
#pragma warning restore CS1591 | ||
} | ||
} |
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,75 @@ | ||
// <auto-generated/> | ||
#pragma warning disable CS0618 | ||
using Microsoft.Kiota.Abstractions.Extensions; | ||
using Microsoft.Kiota.Abstractions.Serialization; | ||
using System.Collections.Generic; | ||
using System.IO; | ||
using System; | ||
namespace GitHub.Models | ||
{ | ||
[global::System.CodeDom.Compiler.GeneratedCode("Kiota", "1.19.0")] | ||
#pragma warning disable CS1591 | ||
public partial class Users_matches : IAdditionalDataHolder, IParsable | ||
#pragma warning restore CS1591 | ||
{ | ||
/// <summary>Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well.</summary> | ||
public IDictionary<string, object> AdditionalData { get; set; } | ||
/// <summary>The indices property</summary> | ||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER | ||
#nullable enable | ||
public List<int?>? Indices { get; set; } | ||
#nullable restore | ||
#else | ||
public List<int?> Indices { get; set; } | ||
#endif | ||
/// <summary>The text property</summary> | ||
#if NETSTANDARD2_1_OR_GREATER || NETCOREAPP3_1_OR_GREATER | ||
#nullable enable | ||
public string? Text { get; set; } | ||
#nullable restore | ||
#else | ||
public string Text { get; set; } | ||
#endif | ||
/// <summary> | ||
/// Instantiates a new <see cref="global::GitHub.Models.Users_matches"/> and sets the default values. | ||
/// </summary> | ||
public Users_matches() | ||
{ | ||
AdditionalData = new Dictionary<string, object>(); | ||
} | ||
/// <summary> | ||
/// Creates a new instance of the appropriate class based on discriminator value | ||
/// </summary> | ||
/// <returns>A <see cref="global::GitHub.Models.Users_matches"/></returns> | ||
/// <param name="parseNode">The parse node to use to read the discriminator value and create the object</param> | ||
public static global::GitHub.Models.Users_matches CreateFromDiscriminatorValue(IParseNode parseNode) | ||
{ | ||
_ = parseNode ?? throw new ArgumentNullException(nameof(parseNode)); | ||
return new global::GitHub.Models.Users_matches(); | ||
} | ||
/// <summary> | ||
/// The deserialization information for the current model | ||
/// </summary> | ||
/// <returns>A IDictionary<string, Action<IParseNode>></returns> | ||
public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers() | ||
{ | ||
return new Dictionary<string, Action<IParseNode>> | ||
{ | ||
{ "indices", n => { Indices = n.GetCollectionOfPrimitiveValues<int?>()?.AsList(); } }, | ||
{ "text", n => { Text = n.GetStringValue(); } }, | ||
}; | ||
} | ||
/// <summary> | ||
/// Serializes information the current object | ||
/// </summary> | ||
/// <param name="writer">Serialization writer to use to serialize this model</param> | ||
public virtual void Serialize(ISerializationWriter writer) | ||
{ | ||
_ = writer ?? throw new ArgumentNullException(nameof(writer)); | ||
writer.WriteCollectionOfPrimitiveValues<int?>("indices", Indices); | ||
writer.WriteStringValue("text", Text); | ||
writer.WriteAdditionalData(AdditionalData); | ||
} | ||
} | ||
} | ||
#pragma warning restore CS0618 |
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