CMS Url Redirects URL redirect operations

OpenAPI spec version: v3

NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). https://openapi-generator.tech Do not edit the class manually.

Constructors

Properties

created?: Date
destination: string

The destination URL, where the target URL should be redirected if it matches the routePrefix.

id: string

The unique ID of this URL redirect.

isMatchFullUrl: boolean

Whether the routePrefix should match on the entire URL, including the domain.

isMatchQueryString: boolean

Whether the routePrefix should match on the entire URL path, including the query string.

isOnlyAfterNotFound: boolean

Whether the URL redirect mapping should apply only if a live page on the URL isn't found. If False, the URL redirect mapping will take precedence over any existing page.

isPattern: boolean

Whether the routePrefix should match based on pattern.

isProtocolAgnostic: boolean

Whether the routePrefix should match both HTTP and HTTPS protocols.

isTrailingSlashOptional: boolean

Whether a trailing slash will be ignored.

precedence: number

Used to prioritize URL redirection. If a given URL matches more than one redirect, the one with the lower precedence will be used.

redirectStyle: number

The type of redirect to create. Options include: 301 (permanent), 302 (temporary), or 305 (proxy). Find more details here.

routePrefix: string

The target incoming URL, path, or pattern to match for redirection.

updated?: Date
attributeTypeMap: {
    baseName: string;
    format: string;
    name: string;
    type: string;
}[] = ...
discriminator: undefined | string = undefined

Methods

  • Returns {
        baseName: string;
        format: string;
        name: string;
        type: string;
    }[]