@@ -8743,6 +8743,25 @@ public enum Components {
87438743 ///
87448744 /// - Remark: Generated from `#/components/schemas/nullable-team-simple/ldap_dn`.
87458745 public var ldapDn: Swift.String?
8746+ /// The ownership type of the team
8747+ ///
8748+ /// - Remark: Generated from `#/components/schemas/nullable-team-simple/type`.
8749+ @frozen public enum _TypePayload: String, Codable, Hashable, Sendable, CaseIterable {
8750+ case enterprise = "enterprise"
8751+ case organization = "organization"
8752+ }
8753+ /// The ownership type of the team
8754+ ///
8755+ /// - Remark: Generated from `#/components/schemas/nullable-team-simple/type`.
8756+ public var _type: Components.Schemas.NullableTeamSimple._TypePayload
8757+ /// Unique identifier of the organization to which this team belongs
8758+ ///
8759+ /// - Remark: Generated from `#/components/schemas/nullable-team-simple/organization_id`.
8760+ public var organizationId: Swift.Int?
8761+ /// Unique identifier of the enterprise to which this team belongs
8762+ ///
8763+ /// - Remark: Generated from `#/components/schemas/nullable-team-simple/enterprise_id`.
8764+ public var enterpriseId: Swift.Int?
87468765 /// Creates a new `NullableTeamSimple`.
87478766 ///
87488767 /// - Parameters:
@@ -8759,6 +8778,9 @@ public enum Components {
87598778 /// - repositoriesUrl:
87608779 /// - slug:
87618780 /// - ldapDn: Distinguished Name (DN) that team maps to within LDAP environment
8781+ /// - _type: The ownership type of the team
8782+ /// - organizationId: Unique identifier of the organization to which this team belongs
8783+ /// - enterpriseId: Unique identifier of the enterprise to which this team belongs
87628784 public init(
87638785 id: Swift.Int,
87648786 nodeId: Swift.String,
@@ -8772,7 +8794,10 @@ public enum Components {
87728794 htmlUrl: Swift.String,
87738795 repositoriesUrl: Swift.String,
87748796 slug: Swift.String,
8775- ldapDn: Swift.String? = nil
8797+ ldapDn: Swift.String? = nil,
8798+ _type: Components.Schemas.NullableTeamSimple._TypePayload,
8799+ organizationId: Swift.Int? = nil,
8800+ enterpriseId: Swift.Int? = nil
87768801 ) {
87778802 self.id = id
87788803 self.nodeId = nodeId
@@ -8787,6 +8812,9 @@ public enum Components {
87878812 self.repositoriesUrl = repositoriesUrl
87888813 self.slug = slug
87898814 self.ldapDn = ldapDn
8815+ self._type = _type
8816+ self.organizationId = organizationId
8817+ self.enterpriseId = enterpriseId
87908818 }
87918819 public enum CodingKeys: String, CodingKey {
87928820 case id
@@ -8802,6 +8830,9 @@ public enum Components {
88028830 case repositoriesUrl = "repositories_url"
88038831 case slug
88048832 case ldapDn = "ldap_dn"
8833+ case _type = "type"
8834+ case organizationId = "organization_id"
8835+ case enterpriseId = "enterprise_id"
88058836 }
88068837 }
88078838 /// Groups of organization members that gives permissions on specified repositories.
@@ -8875,6 +8906,25 @@ public enum Components {
88758906 public var membersUrl: Swift.String
88768907 /// - Remark: Generated from `#/components/schemas/team/repositories_url`.
88778908 public var repositoriesUrl: Swift.String
8909+ /// The ownership type of the team
8910+ ///
8911+ /// - Remark: Generated from `#/components/schemas/team/type`.
8912+ @frozen public enum _TypePayload: String, Codable, Hashable, Sendable, CaseIterable {
8913+ case enterprise = "enterprise"
8914+ case organization = "organization"
8915+ }
8916+ /// The ownership type of the team
8917+ ///
8918+ /// - Remark: Generated from `#/components/schemas/team/type`.
8919+ public var _type: Components.Schemas.Team._TypePayload
8920+ /// Unique identifier of the organization to which this team belongs
8921+ ///
8922+ /// - Remark: Generated from `#/components/schemas/team/organization_id`.
8923+ public var organizationId: Swift.Int?
8924+ /// Unique identifier of the enterprise to which this team belongs
8925+ ///
8926+ /// - Remark: Generated from `#/components/schemas/team/enterprise_id`.
8927+ public var enterpriseId: Swift.Int?
88788928 /// - Remark: Generated from `#/components/schemas/team/parent`.
88798929 public var parent: Components.Schemas.NullableTeamSimple?
88808930 /// Creates a new `Team`.
@@ -8893,6 +8943,9 @@ public enum Components {
88938943 /// - htmlUrl:
88948944 /// - membersUrl:
88958945 /// - repositoriesUrl:
8946+ /// - _type: The ownership type of the team
8947+ /// - organizationId: Unique identifier of the organization to which this team belongs
8948+ /// - enterpriseId: Unique identifier of the enterprise to which this team belongs
88968949 /// - parent:
88978950 public init(
88988951 id: Swift.Int,
@@ -8908,6 +8961,9 @@ public enum Components {
89088961 htmlUrl: Swift.String,
89098962 membersUrl: Swift.String,
89108963 repositoriesUrl: Swift.String,
8964+ _type: Components.Schemas.Team._TypePayload,
8965+ organizationId: Swift.Int? = nil,
8966+ enterpriseId: Swift.Int? = nil,
89118967 parent: Components.Schemas.NullableTeamSimple? = nil
89128968 ) {
89138969 self.id = id
@@ -8923,6 +8979,9 @@ public enum Components {
89238979 self.htmlUrl = htmlUrl
89248980 self.membersUrl = membersUrl
89258981 self.repositoriesUrl = repositoriesUrl
8982+ self._type = _type
8983+ self.organizationId = organizationId
8984+ self.enterpriseId = enterpriseId
89268985 self.parent = parent
89278986 }
89288987 public enum CodingKeys: String, CodingKey {
@@ -8939,6 +8998,9 @@ public enum Components {
89398998 case htmlUrl = "html_url"
89408999 case membersUrl = "members_url"
89419000 case repositoriesUrl = "repositories_url"
9001+ case _type = "type"
9002+ case organizationId = "organization_id"
9003+ case enterpriseId = "enterprise_id"
89429004 case parent
89439005 }
89449006 }
0 commit comments