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

59 lines
2.1 KiB
Swift

//
// ActivityRow.swift
//
// Generated by openapi-generator
// https://openapi-generator.tech
//
import Foundation
public struct ActivityRow: Sendable, Codable, ParameterConvertible, Hashable {
/** Action is one of created, updated, deleted. */
public var action: String?
/** Actor is the email of the principal who made the change. Empty for a write by an in-process composer; a project key can never appear here, because evaluating flags is all a key may do. */
public var actor: String?
/** At is when the change was made, RFC 3339 UTC. */
public var at: String?
/** Detail is free-form context about the change. Nothing writes it today, so it is absent from every row the store serves. */
public var detail: String?
/** ID is the log's own sequence number, rising with each entry. The log is served newest-first, which is this descending. */
public var id: Int64?
/** Key is the flag that changed. It survives a delete, so the log still names flags the definition store no longer holds. */
public var key: String?
public init(action: String? = nil, actor: String? = nil, at: String? = nil, detail: String? = nil, id: Int64? = nil, key: String? = nil) {
self.action = action
self.actor = actor
self.at = at
self.detail = detail
self.id = id
self.key = key
}
public enum CodingKeys: String, CodingKey, CaseIterable {
case action
case actor
case at
case detail
case id
case key
}
// Encodable protocol methods
public func encode(to encoder: Encoder) throws {
var container = encoder.container(keyedBy: CodingKeys.self)
try container.encodeIfPresent(action, forKey: .action)
try container.encodeIfPresent(actor, forKey: .actor)
try container.encodeIfPresent(at, forKey: .at)
try container.encodeIfPresent(detail, forKey: .detail)
try container.encodeIfPresent(id, forKey: .id)
try container.encodeIfPresent(key, forKey: .key)
}
}
@available(iOS 13, tvOS 13, watchOS 6, macOS 10.15, *)
extension ActivityRow: Identifiable {}