RMLocationModel

public struct RMLocationModel : Codable, Identifiable

Episode struct for decoding episode json response.

Properties

  • id: The id of the location.
  • name: The name of the location.
  • type: The type of the location.
  • dimension: The dimension in which the location is located.
  • residents: List of location who have been last seen in the location.
  • url: Link to location’s own endpoint.
  • created: Time at which the location was created in the database.
  • id

    Declaration

    Swift

    public let id: Int
  • Undocumented

    Declaration

    Swift

    public let name: String
  • Undocumented

    Declaration

    Swift

    public let type: String
  • Undocumented

    Declaration

    Swift

    public let dimension: String
  • Undocumented

    Declaration

    Swift

    public let residents: [String]
  • url

    Undocumented

    Declaration

    Swift

    public let url: String
  • Undocumented

    Declaration

    Swift

    public let created: String