TNEntityImage

@objcMembers
open class TNEntityImage : NSObject, Codable

This class references an image related to an EVSE in terms of a file name or url.

  • url

    URL from where the image data can be fetched through a web browser.

    Declaration

    Swift

    public var url: String?
  • URL from where a thumbnail of the image can be fetched through a webbrowser.

    Declaration

    Swift

    public var thumbnail: String?
  • Describes what the image is used for.

    Declaration

    Swift

    public var category: TNEntityImageCategory?
  • Image type like: gif, jpeg, png, svg.

    Declaration

    Swift

    public var type: String?
  • Width of the full scale image.

    Declaration

    Swift

    public var width: Int?
  • Height of the full scale image.

    Declaration

    Swift

    public var height: Int?