Files
zeekay 1df3ddf6bd Regenerate against the document the deployment answers for
The projection these were generated from predated the compute migration, so
they described /v1/visor — which the API serves at zero paths now.

No /v1/visor path survives here.
2026-09-05 18:55:38 -07:00

51 lines
1.6 KiB
Swift

//
// SeoDomain.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct SeoDomain: Sendable, Codable, ParameterConvertible, Hashable {
/** Domain is the competitor. */
public var domain: String?
/** Keywords is how many of the phrases it places for. */
public var keywords: Int64?
/** Position is its average rank across the phrases. */
public var position: Double?
/** Traffic is the estimated monthly visits those placements earn. */
public var traffic: Double?
/** Visibility is its share of the possible attention across those phrases. */
public var visibility: Double?
public init(domain: String? = nil, keywords: Int64? = nil, position: Double? = nil, traffic: Double? = nil, visibility: Double? = nil) {
self.domain = domain
self.keywords = keywords
self.position = position
self.traffic = traffic
self.visibility = visibility
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case domain
case keywords
case position
case traffic
case visibility
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(domain, forKey: .domain)
try container.encodeIfPresent(keywords, forKey: .keywords)
try container.encodeIfPresent(position, forKey: .position)
try container.encodeIfPresent(traffic, forKey: .traffic)
try container.encodeIfPresent(visibility, forKey: .visibility)
}
}