ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.397.2

This commit is contained in:
speakeasybot
2024-09-16 18:44:33 +00:00
parent c0dafdc561
commit 6b54deac02
919 changed files with 16195 additions and 6963 deletions

View File

@@ -1,51 +1,26 @@
// Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
// Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
import Foundation
extension Operations {
/// A model object
public struct Location {
public let city: String?
public let code: String?
public let continentCode: String?
public let coordinates: String?
public let country: String?
public let europeanUnionMember: Bool?
public let inPrivacyRestrictedCountry: Bool?
public let postalCode: String?
public let subdivisions: String?
public let timeZone: String?
public let id: Int?
public let path: String?
/// Creates an object with the specified parameters
///
///
public init(city: String? = nil, code: String? = nil, continentCode: String? = nil, coordinates: String? = nil, country: String? = nil, europeanUnionMember: Bool? = nil, inPrivacyRestrictedCountry: Bool? = nil, postalCode: String? = nil, subdivisions: String? = nil, timeZone: String? = nil) {
self.city = city
self.code = code
self.continentCode = continentCode
self.coordinates = coordinates
self.country = country
self.europeanUnionMember = europeanUnionMember
self.inPrivacyRestrictedCountry = inPrivacyRestrictedCountry
self.postalCode = postalCode
self.subdivisions = subdivisions
self.timeZone = timeZone
public init(id: Int? = nil, path: String? = nil) {
self.id = id
self.path = path
}
}
}
}}
extension Operations.Location: Codable {
enum CodingKeys: String, CodingKey {
case city
case code
case continentCode = "continent_code"
case coordinates
case country
case europeanUnionMember = "european_union_member"
case inPrivacyRestrictedCountry = "in_privacy_restricted_country"
case postalCode = "postal_code"
case subdivisions
case timeZone = "time_zone"
case id
case path
}
}