Service

public struct Service : Codable

Information about a service data source

  • The service’s identifier for authorization

    Declaration

    Swift

    public let identifier: Int
  • The service’s identifier for scoping data requests

    This differs to the identifier for authorization because multiple services may share the same serviceIdentifier but each have a different authorization identifier.

    Declaration

    Swift

    public let serviceIdentifier: Int
  • The service’s name

    Declaration

    Swift

    public let name: String
  • The identifiers of the service group this service belongs to

    Declaration

    Swift

    public var serviceGroupIds: [Int] { get }
  • The identifiers of the countries this service belongs to

    Declaration

    Swift

    public var countryIds: [Int] { get }