diff --git a/Sources/InfluxDBSwiftApis/Generated/Models/DBRPs.swift b/Sources/InfluxDBSwiftApis/Generated/Models/DBRPs.swift index d5686c00..153d3bbd 100644 --- a/Sources/InfluxDBSwiftApis/Generated/Models/DBRPs.swift +++ b/Sources/InfluxDBSwiftApis/Generated/Models/DBRPs.swift @@ -10,12 +10,10 @@ import Foundation public struct DBRPs: Codable { - public var notificationEndpoints: [DBRP]? - public var links: Links? + public var content: [DBRP]? - public init(notificationEndpoints: [DBRP]? = nil, links: Links? = nil) { - self.notificationEndpoints = notificationEndpoints - self.links = links + public init(content: [DBRP]? = nil) { + self.content = content } } diff --git a/Tests/InfluxDBSwiftApisTests/DBRPsAPITests.swift b/Tests/InfluxDBSwiftApisTests/DBRPsAPITests.swift index f256b904..686cd8b3 100644 --- a/Tests/InfluxDBSwiftApisTests/DBRPsAPITests.swift +++ b/Tests/InfluxDBSwiftApisTests/DBRPsAPITests.swift @@ -11,7 +11,7 @@ class DBRPsAPITests: APIXCTestCase { super.setUp() api.getDBRPsAPI().getDBRPs(orgID: Self.orgID) { dbrps, _ in dbrps? - .notificationEndpoints? + .content? .forEach { dbrp in self.api.getDBRPsAPI().deleteDBRPID(orgID: Self.orgID, dbrpID: dbrp.id!) { _, _ in }