You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// <summary>The organization policy for allowing or disallowing Copilot to make suggestions that match public code.</summary>
@@ -60,6 +62,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
60
62
{
61
63
{"cli", n =>{Cli=n.GetEnumValue<global::GitHub.Models.CopilotOrganizationDetails_cli>();}},
62
64
{"ide_chat", n =>{IdeChat=n.GetEnumValue<global::GitHub.Models.CopilotOrganizationDetails_ide_chat>();}},
65
+
{"plan_type", n =>{PlanType=n.GetEnumValue<global::GitHub.Models.CopilotOrganizationDetails_plan_type>();}},
63
66
{"platform_chat", n =>{PlatformChat=n.GetEnumValue<global::GitHub.Models.CopilotOrganizationDetails_platform_chat>();}},
64
67
{"public_code_suggestions", n =>{PublicCodeSuggestions=n.GetEnumValue<global::GitHub.Models.CopilotOrganizationDetails_public_code_suggestions>();}},
65
68
{"seat_breakdown", n =>{SeatBreakdown=n.GetObjectValue<global::GitHub.Models.CopilotSeatBreakdown>(global::GitHub.Models.CopilotSeatBreakdown.CreateFromDiscriminatorValue);}},
@@ -75,6 +78,7 @@ public virtual void Serialize(ISerializationWriter writer)
Copy file name to clipboardexpand all lines: src/GitHub/Models/CopilotSeatDetails.cs
+4
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,8 @@ public partial class CopilotSeatDetails : IParsable
52
52
#endif
53
53
/// <summary>The pending cancellation date for the seat, in `YYYY-MM-DD` format. This will be null unless the assignee's Copilot access has been canceled during the current billing cycle. If the seat has been cancelled, this corresponds to the start of the organization's next billing cycle.</summary>
54
54
publicDate?PendingCancellationDate{get;set;}
55
+
/// <summary>The Copilot plan of the organization, or the parent enterprise, when applicable.</summary>
/// <summary>Timestamp of when the assignee's GitHub Copilot access was last updated, in ISO 8601 format.</summary>
56
58
publicDateTimeOffset?UpdatedAt{get;set;}
57
59
/// <summary>
@@ -79,6 +81,7 @@ public virtual IDictionary<string, Action<IParseNode>> GetFieldDeserializers()
79
81
{"last_activity_editor", n =>{LastActivityEditor=n.GetStringValue();}},
80
82
{"organization", n =>{Organization=n.GetObjectValue<global::GitHub.Models.NullableOrganizationSimple>(global::GitHub.Models.NullableOrganizationSimple.CreateFromDiscriminatorValue);}},
81
83
{"pending_cancellation_date", n =>{PendingCancellationDate=n.GetDateValue();}},
84
+
{"plan_type", n =>{PlanType=n.GetEnumValue<global::GitHub.Models.CopilotSeatDetails_plan_type>();}},
82
85
{"updated_at", n =>{UpdatedAt=n.GetDateTimeOffsetValue();}},
83
86
};
84
87
}
@@ -96,6 +99,7 @@ public virtual void Serialize(ISerializationWriter writer)
0 commit comments