amplify-swift/AmplifyTestCommon/Models/Collection/5/Post5.swift

25 lines
490 B
Swift

//
// Copyright Amazon.com Inc. or its affiliates.
// All Rights Reserved.
//
// SPDX-License-Identifier: Apache-2.0
//
// swiftlint:disable all
import Amplify
import Foundation
public struct Post5: Model {
public let id: String
public var title: String
public var editors: List<PostEditor5>?
public init(id: String = UUID().uuidString,
title: String,
editors: List<PostEditor5>? = []) {
self.id = id
self.title = title
self.editors = editors
}
}