NpsImage
public struct NpsImage : Decodable, Identifiable
Image information provided by National Park Service
-
Unique identifier for the news release
Declaration
Swift
public let id: String
-
Image Title
Declaration
Swift
public let title: String?
-
Image Title
Declaration
Swift
public let description: String?
-
Image Caption
Declaration
Swift
public let caption: String?
-
Alternative Text for Image
Declaration
Swift
public let altText: String?
-
Credit to acknowledge contributor / creator of Image
Declaration
Swift
public let credit: String?
-
Link to Image
Declaration
Swift
public let url: URL?
-
Declaration
Swift
public init(from decoder: Decoder) throws