Files
pkurchatov 149b80a37f Sendable DivData
commit_hash:ae183ed8d06f2c89c8693f59bedba49752638377
2025-01-16 16:25:07 +03:00

33 lines
642 B
Swift

// Generated code. Do not modify.
import CommonCore
import Foundation
import Serialization
public final class EntityWithArray: Sendable {
public static let type: String = "entity_with_array"
public let array: [Entity] // at least 1 elements
static let arrayValidator: AnyArrayValueValidator<Entity> =
makeArrayValidator(minItems: 1)
init(
array: [Entity]
) {
self.array = array
}
}
#if DEBUG
extension EntityWithArray: Equatable {
public static func ==(lhs: EntityWithArray, rhs: EntityWithArray) -> Bool {
guard
lhs.array == rhs.array
else {
return false
}
return true
}
}
#endif