Skip to content

Commit dc5131f

Browse files
Commit via running: make Sources/issues
1 parent 7ad7287 commit dc5131f

File tree

1 file changed

+69
-69
lines changed

1 file changed

+69
-69
lines changed

Sources/issues/Types.swift

Lines changed: 69 additions & 69 deletions
Original file line numberDiff line numberDiff line change
@@ -3245,6 +3245,73 @@ public enum Components {
32453245
case codeSearchIndexStatus = "code_search_index_status"
32463246
}
32473247
}
3248+
/// Color-coded labels help you categorize and filter your issues (just like labels in Gmail).
3249+
///
3250+
/// - Remark: Generated from `#/components/schemas/label`.
3251+
public struct Label: Codable, Hashable, Sendable {
3252+
/// Unique identifier for the label.
3253+
///
3254+
/// - Remark: Generated from `#/components/schemas/label/id`.
3255+
public var id: Swift.Int64
3256+
/// - Remark: Generated from `#/components/schemas/label/node_id`.
3257+
public var nodeId: Swift.String
3258+
/// URL for the label
3259+
///
3260+
/// - Remark: Generated from `#/components/schemas/label/url`.
3261+
public var url: Swift.String
3262+
/// The name of the label.
3263+
///
3264+
/// - Remark: Generated from `#/components/schemas/label/name`.
3265+
public var name: Swift.String
3266+
/// Optional description of the label, such as its purpose.
3267+
///
3268+
/// - Remark: Generated from `#/components/schemas/label/description`.
3269+
public var description: Swift.String?
3270+
/// 6-character hex code, without the leading #, identifying the color
3271+
///
3272+
/// - Remark: Generated from `#/components/schemas/label/color`.
3273+
public var color: Swift.String
3274+
/// Whether this label comes by default in a new repository.
3275+
///
3276+
/// - Remark: Generated from `#/components/schemas/label/default`.
3277+
public var _default: Swift.Bool
3278+
/// Creates a new `Label`.
3279+
///
3280+
/// - Parameters:
3281+
/// - id: Unique identifier for the label.
3282+
/// - nodeId:
3283+
/// - url: URL for the label
3284+
/// - name: The name of the label.
3285+
/// - description: Optional description of the label, such as its purpose.
3286+
/// - color: 6-character hex code, without the leading #, identifying the color
3287+
/// - _default: Whether this label comes by default in a new repository.
3288+
public init(
3289+
id: Swift.Int64,
3290+
nodeId: Swift.String,
3291+
url: Swift.String,
3292+
name: Swift.String,
3293+
description: Swift.String? = nil,
3294+
color: Swift.String,
3295+
_default: Swift.Bool
3296+
) {
3297+
self.id = id
3298+
self.nodeId = nodeId
3299+
self.url = url
3300+
self.name = name
3301+
self.description = description
3302+
self.color = color
3303+
self._default = _default
3304+
}
3305+
public enum CodingKeys: String, CodingKey {
3306+
case id
3307+
case nodeId = "node_id"
3308+
case url
3309+
case name
3310+
case description
3311+
case color
3312+
case _default = "default"
3313+
}
3314+
}
32483315
/// A collection of related issues and pull requests.
32493316
///
32503317
/// - Remark: Generated from `#/components/schemas/nullable-milestone`.
@@ -4447,7 +4514,7 @@ public enum Components {
44474514
/// - Remark: Generated from `#/components/schemas/issue-comment/issue_url`.
44484515
public var issueUrl: Swift.String
44494516
/// - Remark: Generated from `#/components/schemas/issue-comment/author_association`.
4450-
public var authorAssociation: Components.Schemas.AuthorAssociation
4517+
public var authorAssociation: Components.Schemas.AuthorAssociation?
44514518
/// - Remark: Generated from `#/components/schemas/issue-comment/performed_via_github_app`.
44524519
public var performedViaGithubApp: Components.Schemas.NullableIntegration?
44534520
/// - Remark: Generated from `#/components/schemas/issue-comment/reactions`.
@@ -4481,7 +4548,7 @@ public enum Components {
44814548
createdAt: Foundation.Date,
44824549
updatedAt: Foundation.Date,
44834550
issueUrl: Swift.String,
4484-
authorAssociation: Components.Schemas.AuthorAssociation,
4551+
authorAssociation: Components.Schemas.AuthorAssociation? = nil,
44854552
performedViaGithubApp: Components.Schemas.NullableIntegration? = nil,
44864553
reactions: Components.Schemas.ReactionRollup? = nil
44874554
) {
@@ -7278,73 +7345,6 @@ public enum Components {
72787345
try self.value15?.encode(to: encoder)
72797346
}
72807347
}
7281-
/// Color-coded labels help you categorize and filter your issues (just like labels in Gmail).
7282-
///
7283-
/// - Remark: Generated from `#/components/schemas/label`.
7284-
public struct Label: Codable, Hashable, Sendable {
7285-
/// Unique identifier for the label.
7286-
///
7287-
/// - Remark: Generated from `#/components/schemas/label/id`.
7288-
public var id: Swift.Int64
7289-
/// - Remark: Generated from `#/components/schemas/label/node_id`.
7290-
public var nodeId: Swift.String
7291-
/// URL for the label
7292-
///
7293-
/// - Remark: Generated from `#/components/schemas/label/url`.
7294-
public var url: Swift.String
7295-
/// The name of the label.
7296-
///
7297-
/// - Remark: Generated from `#/components/schemas/label/name`.
7298-
public var name: Swift.String
7299-
/// Optional description of the label, such as its purpose.
7300-
///
7301-
/// - Remark: Generated from `#/components/schemas/label/description`.
7302-
public var description: Swift.String?
7303-
/// 6-character hex code, without the leading #, identifying the color
7304-
///
7305-
/// - Remark: Generated from `#/components/schemas/label/color`.
7306-
public var color: Swift.String
7307-
/// Whether this label comes by default in a new repository.
7308-
///
7309-
/// - Remark: Generated from `#/components/schemas/label/default`.
7310-
public var _default: Swift.Bool
7311-
/// Creates a new `Label`.
7312-
///
7313-
/// - Parameters:
7314-
/// - id: Unique identifier for the label.
7315-
/// - nodeId:
7316-
/// - url: URL for the label
7317-
/// - name: The name of the label.
7318-
/// - description: Optional description of the label, such as its purpose.
7319-
/// - color: 6-character hex code, without the leading #, identifying the color
7320-
/// - _default: Whether this label comes by default in a new repository.
7321-
public init(
7322-
id: Swift.Int64,
7323-
nodeId: Swift.String,
7324-
url: Swift.String,
7325-
name: Swift.String,
7326-
description: Swift.String? = nil,
7327-
color: Swift.String,
7328-
_default: Swift.Bool
7329-
) {
7330-
self.id = id
7331-
self.nodeId = nodeId
7332-
self.url = url
7333-
self.name = name
7334-
self.description = description
7335-
self.color = color
7336-
self._default = _default
7337-
}
7338-
public enum CodingKeys: String, CodingKey {
7339-
case id
7340-
case nodeId = "node_id"
7341-
case url
7342-
case name
7343-
case description
7344-
case color
7345-
case _default = "default"
7346-
}
7347-
}
73487348
/// Timeline Comment Event
73497349
///
73507350
/// - Remark: Generated from `#/components/schemas/timeline-comment-event`.

0 commit comments

Comments
 (0)