2023-01-10 21:11:04 +01:00
|
|
|
//
|
|
|
|
// https://mczachurski.dev
|
|
|
|
// Copyright © 2023 Marcin Czachurski and the repository contributors.
|
2023-03-28 10:35:38 +02:00
|
|
|
// Licensed under the Apache License 2.0.
|
2023-01-10 21:11:04 +01:00
|
|
|
//
|
|
|
|
|
|
|
|
import Foundation
|
|
|
|
|
2023-01-22 13:49:19 +01:00
|
|
|
/// Location where image has been taken.
|
|
|
|
/// Entity specific for Pixelfed.
|
2023-01-10 21:11:04 +01:00
|
|
|
public struct Place: Codable {
|
2023-01-22 13:49:19 +01:00
|
|
|
|
|
|
|
/// Id of the entity.
|
2023-02-19 09:41:35 +01:00
|
|
|
public let id: Int
|
2023-01-22 13:49:19 +01:00
|
|
|
|
|
|
|
/// City where picture has been taken.
|
2023-01-10 21:11:04 +01:00
|
|
|
public let slug: String?
|
2023-01-22 13:49:19 +01:00
|
|
|
|
|
|
|
/// City where picture has been taken.
|
2023-01-10 21:11:04 +01:00
|
|
|
public let name: String?
|
2023-01-22 13:49:19 +01:00
|
|
|
|
|
|
|
/// Country where picture has been taken.
|
2023-01-10 21:11:04 +01:00
|
|
|
public let country: String?
|
|
|
|
}
|