Skip to content

Commit

Permalink
test: Fixed.
Browse files Browse the repository at this point in the history
  • Loading branch information
HavenDV committed Aug 18, 2024
1 parent a66998d commit 69c0615
Show file tree
Hide file tree
Showing 816 changed files with 1,229 additions and 1,636 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ public sealed partial class ImageBlockSource
/// <summary>
/// The type of image source.
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.ImageBlockSourceType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.ImageBlockSourceType Type { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,7 @@ public sealed partial class ImageBlockSource
/// </summary>
[global::System.Text.Json.Serialization.JsonPropertyName("type")]
[global::System.Text.Json.Serialization.JsonConverter(typeof(global::OpenApiGenerator.JsonConverters.ImageBlockSourceTypeJsonConverter))]
[global::System.Text.Json.Serialization.JsonRequired]
public required global::G.ImageBlockSourceType Type { get; set; } = global::G.ImageBlockSourceType.Base64;
public global::G.ImageBlockSourceType Type { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class ContentFile
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.ContentFileType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.ContentFileType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class ContentSubmodule
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.ContentSubmoduleType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.ContentSubmoduleType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class ContentSymlink
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.ContentSymlinkType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.ContentSymlinkType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class OrgsUpdateMembershipForAuthenticatedUserRequest
/// <summary>
/// The state that the membership should be in. Only `"active"` will be accepted.
/// </summary>
[global::Newtonsoft.Json.JsonProperty("state", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.OrgsUpdateMembershipForAuthenticatedUserRequestState State { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("state")]
public global::G.OrgsUpdateMembershipForAuthenticatedUserRequestState State { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class OrgsUpdatePatAccessRequest
/// <summary>
/// Action to apply to the fine-grained personal access token.
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.OrgsUpdatePatAccessRequestAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.OrgsUpdatePatAccessRequestAction Action { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class OrgsUpdatePatAccessesRequest
/// <summary>
/// Action to apply to the fine-grained personal access token.
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.OrgsUpdatePatAccessesRequestAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.OrgsUpdatePatAccessesRequestAction Action { get; set; }

/// <summary>
/// The IDs of the fine-grained personal access tokens.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleBranchNamePattern
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleBranchNamePatternType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleBranchNamePatternType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleCodeScanning
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleCodeScanningType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleCodeScanningType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleCommitAuthorEmailPattern
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleCommitAuthorEmailPatternType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleCommitAuthorEmailPatternType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleCommitMessagePattern
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleCommitMessagePatternType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleCommitMessagePatternType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleCommitterEmailPattern
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleCommitterEmailPatternType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleCommitterEmailPatternType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleCreation
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleCreationType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleCreationType Type { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleDeletion
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleDeletionType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleDeletionType Type { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleNonFastForward
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleNonFastForwardType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleNonFastForwardType Type { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRulePullRequest
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRulePullRequestType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRulePullRequestType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleRequiredDeployments
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleRequiredDeploymentsType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleRequiredDeploymentsType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleRequiredLinearHistory
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleRequiredLinearHistoryType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleRequiredLinearHistoryType Type { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleRequiredSignatures
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleRequiredSignaturesType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleRequiredSignaturesType Type { get; set; }

/// <summary>
/// Additional properties that are not explicitly defined in the schema
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleRequiredStatusChecks
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleRequiredStatusChecksType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleRequiredStatusChecksType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleTagNamePattern
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleTagNamePatternType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleTagNamePatternType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleUpdate
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleUpdateType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleUpdateType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public sealed partial class RepositoryRuleVariant15
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleVariant15Type Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleVariant15Type Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public sealed partial class RepositoryRuleVariant16
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleVariant16Type Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleVariant16Type Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public sealed partial class RepositoryRuleVariant17
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleVariant17Type Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleVariant17Type Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ public sealed partial class RepositoryRuleVariant18
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleVariant18Type Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleVariant18Type Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class RepositoryRuleWorkflows
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("type", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.RepositoryRuleWorkflowsType Type { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("type")]
public global::G.RepositoryRuleWorkflowsType Type { get; set; }

/// <summary>
///
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class WebhookBranchProtectionConfigurationDisabled
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.WebhookBranchProtectionConfigurationDisabledAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.WebhookBranchProtectionConfigurationDisabledAction Action { get; set; }

/// <summary>
/// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class WebhookBranchProtectionConfigurationEnabled
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.WebhookBranchProtectionConfigurationEnabledAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.WebhookBranchProtectionConfigurationEnabledAction Action { get; set; }

/// <summary>
/// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class WebhookBranchProtectionRuleCreated
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.WebhookBranchProtectionRuleCreatedAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.WebhookBranchProtectionRuleCreatedAction Action { get; set; }

/// <summary>
/// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class WebhookBranchProtectionRuleDeleted
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.WebhookBranchProtectionRuleDeletedAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.WebhookBranchProtectionRuleDeletedAction Action { get; set; }

/// <summary>
/// An enterprise on GitHub. Webhook payloads contain the `enterprise` property when the webhook is configured<br/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class WebhookBranchProtectionRuleEdited
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.WebhookBranchProtectionRuleEditedAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.WebhookBranchProtectionRuleEditedAction Action { get; set; }

/// <summary>
/// If the action was `edited`, the changes to the rule.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class WebhookCheckRunRequestedAction
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.WebhookCheckRunRequestedActionAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.WebhookCheckRunRequestedActionAction Action { get; set; }

/// <summary>
/// A check performed on the code of a given code change
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class WebhookCheckSuiteCompleted
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.WebhookCheckSuiteCompletedAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.WebhookCheckSuiteCompletedAction Action { get; set; }

/// <summary>
/// The [check_suite](https://docs.github.com/rest/checks/suites#get-a-check-suite).
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ public sealed partial class WebhookCheckSuiteRequested
/// <summary>
///
/// </summary>
[global::Newtonsoft.Json.JsonProperty("action", Required = global::Newtonsoft.Json.Required.Always)]
public global::G.WebhookCheckSuiteRequestedAction Action { get; set; } = default!;
[global::Newtonsoft.Json.JsonProperty("action")]
public global::G.WebhookCheckSuiteRequestedAction Action { get; set; }

/// <summary>
/// The [check_suite](https://docs.github.com/rest/checks/suites#get-a-check-suite).
Expand Down
Loading

0 comments on commit 69c0615

Please sign in to comment.