Fake Mirrors
    Preparing search index...

    Class FullRedirectorModel

    Represents a full redirector model.

    Hierarchy (View Summary)

    Constructors

    • Creates a new full redirector model instance.

      Parameters

      • campaignId: string

        The ID of the campaign this redirector belongs to

      • redirectorId: string

        The unique identifier of the redirector

      • page: string

        The page template

      • fields: string[]

        Array of required field names

      • lureCount: number

        Number of lures pointing to this redirector

      • createdAt: Date

        The date and time when the redirector was created

      Returns FullRedirectorModel

    Properties

    campaignId: string

    The ID of the campaign this redirector belongs to

    createdAt: Date

    The date and time when the redirector was created

    fields: string[]

    Array of required field names

    lureCount: number

    Number of lures pointing to this redirector

    page: string

    The page template

    redirectorId: string

    The unique identifier of the redirector

    Accessors

    Methods

    • Checks if the provided parameters satisfy all required fields.

      If the redirector is loose (isLoose === true), this always returns true. Otherwise, it checks that every required field exists in the parameters and has a non-null, non-empty value.

      Parameters

      Returns boolean

      true if all required fields are present, false otherwise