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
This file contains hidden or 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 hidden or 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 hidden or 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
/// - Remark: Generated from `#/components/schemas/simple-user/starred_at`.
public var starred_at: Swift.String?
/// - Remark: Generated from `#/components/schemas/simple-user/user_view_type`.
public var user_view_type: Swift.String?
/// Creates a new `simple_hyphen_user`.
///
/// - Parameters:
Expand All
@@ -913,6 +915,7 @@ public enum Components {
/// - _type:
/// - site_admin:
/// - starred_at:
/// - user_view_type:
public init(
name: Swift.String? = nil,
email: Swift.String? = nil,
Expand All
@@ -934,7 +937,8 @@ public enum Components {
received_events_url: Swift.String,
_type: Swift.String,
site_admin: Swift.Bool,
starred_at: Swift.String? = nil
starred_at: Swift.String? = nil,
user_view_type: Swift.String? = nil
) {
self.name = name
self.email = email
Expand All
@@ -957,6 +961,7 @@ public enum Components {
self._type = _type
self.site_admin = site_admin
self.starred_at = starred_at
self.user_view_type = user_view_type
}
public enum CodingKeys: String, CodingKey {
case name
Expand All
@@ -980,6 +985,7 @@ public enum Components {
case _type = "type"
case site_admin
case starred_at
case user_view_type
}
}
/// Basic Error
Expand DownExpand Up
@@ -1065,6 +1071,8 @@ public enum Components {
public var site_admin: Swift.Bool
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/starred_at`.
public var starred_at: Swift.String?
/// - Remark: Generated from `#/components/schemas/nullable-simple-user/user_view_type`.
public var user_view_type: Swift.String?
/// Creates a new `nullable_hyphen_simple_hyphen_user`.
///
/// - Parameters:
Expand All
@@ -1089,6 +1097,7 @@ public enum Components {
/// - _type:
/// - site_admin:
/// - starred_at:
/// - user_view_type:
public init(
name: Swift.String? = nil,
email: Swift.String? = nil,
Expand All
@@ -1110,7 +1119,8 @@ public enum Components {
received_events_url: Swift.String,
_type: Swift.String,
site_admin: Swift.Bool,
starred_at: Swift.String? = nil
starred_at: Swift.String? = nil,
user_view_type: Swift.String? = nil
) {
self.name = name
self.email = email
Expand All
@@ -1133,6 +1143,7 @@ public enum Components {
self._type = _type
self.site_admin = site_admin
self.starred_at = starred_at
self.user_view_type = user_view_type
}
public enum CodingKeys: String, CodingKey {
case name
Expand All
@@ -1156,6 +1167,7 @@ public enum Components {
case _type = "type"
case site_admin
case starred_at
case user_view_type
}
}
/// Validation Error
Expand DownExpand Up
@@ -1580,7 +1592,7 @@ public enum Components {
///
/// - Remark: Generated from `#/components/schemas/repository/allow_update_branch`.
public var allow_update_branch: Swift.Bool?
/// Whether a squash merge commit can use the pull request title as default. **This propertyhas been deprecated. Please use `squash_merge_commit_title` instead.
/// Whether a squash merge commit can use the pull request title as default. **This propertyis closing down. Please use `squash_merge_commit_title` instead.
///
/// - Remark: Generated from `#/components/schemas/repository/use_squash_pr_title_as_default`.
@available(*, deprecated)
Expand DownExpand Up
@@ -1768,7 +1780,7 @@ public enum Components {
/// - allow_auto_merge: Whether to allow Auto-merge to be used on pull requests.
/// - delete_branch_on_merge: Whether to delete head branches when pull requests are merged
/// - allow_update_branch: Whether or not a pull request head branch that is behind its base branch can always be updated even if it is not required to be up to date before merging.
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This propertyhas been deprecated. Please use `squash_merge_commit_title` instead.
/// - use_squash_pr_title_as_default: Whether a squash merge commit can use the pull request title as default. **This propertyis closing down. Please use `squash_merge_commit_title` instead.
/// - squash_merge_commit_title: The default value for a squash merge commit title:
/// - squash_merge_commit_message: The default value for a squash merge commit message:
/// - merge_commit_title: The default value for a merge commit title.
Expand DownExpand Up
@@ -3547,6 +3559,28 @@ public enum Components {
}
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_non_provider_patterns`.
public var secret_scanning_non_provider_patterns: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_non_provider_patternsPayload?
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
public struct secret_scanning_ai_detectionPayload: Codable, Hashable, Sendable {
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
@frozen public enum statusPayload: String, Codable, Hashable, Sendable {
case enabled = "enabled"
case disabled = "disabled"
}
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection/status`.
public var status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload?
/// Creates a new `secret_scanning_ai_detectionPayload`.
///
/// - Parameters:
/// - status:
public init(status: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload.statusPayload? = nil) {
self.status = status
}
public enum CodingKeys: String, CodingKey {
case status
}
}
/// - Remark: Generated from `#/components/schemas/security-and-analysis/secret_scanning_ai_detection`.
public var secret_scanning_ai_detection: Components.Schemas.security_hyphen_and_hyphen_analysis.secret_scanning_ai_detectionPayload?
/// Creates a new `security_hyphen_and_hyphen_analysis`.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.