RMEpisodeModel

public struct RMEpisodeModel : Codable, Identifiable

Episode struct for decoding episode json response.

Properties

  • id: The id of the episode.
  • name: The name of the episode.
  • airDate: The air date of the episode.
  • episode: The code of the episode.
  • characters: List of characters who have been seen in the episode.
  • url: Link to the episode’s own endpoint.
  • created: Time at which the episode was created in the database.
  • id

    Declaration

    Swift

    public let id: Int
  • Undocumented

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public let airDate: String
  • Undocumented

    Declaration

    Swift

    public let episode: String
  • Undocumented

    Declaration

    Swift

    public let characters: [String]
  • url

    Undocumented

    Declaration

    Swift

    public let url: String
  • Undocumented

    Declaration

    Swift

    public let created: String