• Retrieves a variation by its ID within a specific campaign identified by its key.

    Parameters

    • settings: SettingsModel

      The settings model containing all campaigns.

    • campaignKey: string

      The key of the campaign.

    • variationId: number

      The ID of the variation to retrieve.

    Returns VariationModel

    The found variation model or null if not found.