UrlRedirectActionParametersResponse

data class UrlRedirectActionParametersResponse(val customFragment: String? = null, val customHostname: String? = null, val customPath: String? = null, val customQueryString: String? = null, val destinationProtocol: String? = null, val redirectType: String, val typeName: String)

Defines the parameters for the url redirect action.

Constructors

Link copied to clipboard
constructor(customFragment: String? = null, customHostname: String? = null, customPath: String? = null, customQueryString: String? = null, destinationProtocol: String? = null, redirectType: String, typeName: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val customFragment: String? = null

Fragment to add to the redirect URL. Fragment is the part of the URL that comes after #. Do not include the #.

Link copied to clipboard
val customHostname: String? = null

Host to redirect. Leave empty to use the incoming host as the destination host.

Link copied to clipboard
val customPath: String? = null

The full path to redirect. Path cannot be empty and must start with /. Leave empty to use the incoming path as destination path.

Link copied to clipboard

The set of query strings to be placed in the redirect URL. Setting this value would replace any existing query string; leave empty to preserve the incoming query string. Query string must be in = format. ? and & will be added automatically so do not include them.

Link copied to clipboard

Protocol to use for the redirect. The default value is MatchRequest

Link copied to clipboard

The redirect type the rule will use when redirecting traffic.

Link copied to clipboard

Expected value is 'DeliveryRuleUrlRedirectActionParameters'.