ListItemValueRedirect

data class ListItemValueRedirect(val includeSubdomains: String? = null, val preservePathSuffix: String? = null, val preserveQueryString: String? = null, val sourceUrl: String, val statusCode: Int? = null, val subpathMatching: String? = null, val targetUrl: String)

Constructors

Link copied to clipboard
constructor(includeSubdomains: String? = null, preservePathSuffix: String? = null, preserveQueryString: String? = null, sourceUrl: String, statusCode: Int? = null, subpathMatching: String? = null, targetUrl: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Whether the redirect also matches subdomains of the source url. Available values: disabled, enabled.

Link copied to clipboard

Whether to preserve the path suffix when doing subpath matching. Available values: disabled, enabled.

Link copied to clipboard

Whether the redirect target url should keep the query string of the request's url. Available values: disabled, enabled.

Link copied to clipboard

The source url of the redirect.

Link copied to clipboard
val statusCode: Int? = null

The status code to be used when redirecting a request.

Link copied to clipboard
val subpathMatching: String? = null

Whether the redirect also matches subpaths of the source url. Available values: disabled, enabled.

Link copied to clipboard

The target url of the redirect.