Configuration

struct Configuration

Undocumented

Default Instances

Properties

  • Undocumented

    Declaration

    Swift

    let apiVersion: String
  • Undocumented

    Declaration

    Swift

    let country: String
  • Undocumented

    Declaration

    Swift

    let endpoints: Endpoints
  • Generate the URL for getting all available days

    Declaration

    Swift

    func availableDaysURL(forCountry country: String) -> URL

    Parameters

    country

    country code

    Return Value

    URL to get all available days that server can deliver

  • Generate the URL to get the day package with given parameters

    Declaration

    Swift

    func diagnosisKeysURL(day: String, forCountry country: String) -> URL

    Parameters

    day

    The day format should confirms to: yyyy-MM-dd

    country

    The country code

    Return Value

    The full URL point to the key package

  • Undocumented

    Declaration

    Swift

    func diagnosisKeysURL(day: String, hour: Int, forCountry country: String) -> URL
  • Undocumented

    Declaration

    Swift

    func availableHoursURL(day: String, country: String) -> URL
  • Undocumented

    Declaration

    Swift

    var configurationURL: URL { get }
  • Undocumented

    Declaration

    Swift

    var submissionURL: URL { get }
  • Undocumented

    Declaration

    Swift

    var registrationURL: URL { get }
  • Undocumented

    Declaration

    Swift

    var testResultURL: URL { get }
  • Undocumented

    Declaration

    Swift

    var tanRetrievalURL: URL { get }