GifImage.swift 399 B

123456789101112131415161718192021222324252627
  1. //
  2. // GifImage.swift
  3. // LiveLikeGiphyChallenge
  4. //
  5. // Created by Ljupco Nastevski on 30.1.22.
  6. //
  7. import Foundation
  8. struct GifImage: Codable {
  9. let url: String
  10. let width: String
  11. let height: String
  12. let size: String?
  13. }
  14. struct GifImages: Codable {
  15. let fixedWidth: GifImage
  16. enum CodingKeys: String, CodingKey {
  17. case fixedWidth = "fixed_width"
  18. }
  19. }