Attributes

public class Attributes : APIModel

Undocumented

  • Undocumented

    See more

    Declaration

    Swift

    public enum PCAppType : String, Codable, Equatable, CaseIterable
  • A location-based app is by default loaded on approaching. Some apps should be loaded in advance. They have the cache set to preload.

    See more

    Declaration

    Swift

    public enum PCCache : String, Codable, Equatable, CaseIterable
  • Android instant app URL

    Declaration

    Swift

    public var androidInstantAppUrl: String?
  • Undocumented

    Declaration

    Swift

    public var appType: PCAppType?
  • A location-based app is by default loaded on approaching. Some apps should be loaded in advance. They have the cache set to preload.

    Declaration

    Swift

    public var cache: PCCache?
  • Time of LocationBasedApp creation (iso8601 without time zone)

    Declaration

    Swift

    public var createdAt: DateTime?
  • Time of LocationBasedApp deletion (iso8601 without time zone)

    Declaration

    Swift

    public var deletedAt: DateTime?
  • Logo URL

    Declaration

    Swift

    public var logoUrl: String?
  • Progressive web application URL. The URL satisfies the following criteria:

  • The URL responds with text/html on a GET request
  • The response contains HTTP caching headers e.g. Cache-Control and ETag
  • HTTP GET request on the URL with an ETag will return 304 (Not Modified), if the content didn’t change
  • If 503 (Service Unavailable) is returned the request should be retried later
  • If 404 (Not Found) is returned the URL is invalidated and a new app should be requested
  • Declaration

    Swift

    public var pwaUrl: String?
  • Undocumented

    Declaration

    Swift

    public var subtitle: String?
  • Undocumented

    Declaration

    Swift

    public var title: String?
  • Time of LocationBasedApp last update (iso8601 without time zone)

    Declaration

    Swift

    public var updatedAt: DateTime?
  • Undocumented

    Declaration

    Swift

    public init(androidInstantAppUrl: String? = nil, appType: PCAppType? = nil, cache: PCCache? = nil, createdAt: DateTime? = nil, deletedAt: DateTime? = nil, logoUrl: String? = nil, pwaUrl: String? = nil, subtitle: String? = nil, title: String? = nil, updatedAt: DateTime? = nil)
  • Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws
  • Undocumented

    Declaration

    Swift

    public func isEqual(to object: Any?) -> Bool
  • Declaration

    Swift

    public static func == (lhs: Attributes, rhs: Attributes) -> Bool