Provider

public struct Provider

The ExternalLink.Provider type represents a NCBI LinkOut provider.

  • The internal NCBI identifier for the provider.

    Declaration

    Swift

    public let identifier: String
  • The full name of the provider.

    Declaration

    Swift

    public let name: String
  • The abbreviation used by the NCBI to reference the provider.

    Declaration

    Swift

    public let abbreviation: String
  • url

    The provider’s homepage URL.

    Declaration

    Swift

    public let url: URL
  • Initializes a new ExternalLink.Provider using its defining parameters.

    Declaration

    Swift

    public init(id identifier: String, name: String, abbreviation: String, url: URL)

    Parameters

    id

    The internal NCBI identifier for the provider.

    name

    The full name of the provider.

    abbreviation

    The abbreviation used by the NCBI to reference the provider.

    url

    The provider’s homepage URL.