Link

@Serializable
@SerialName(value = "multilink")
class Link(val url: String? = null, val target: String? = null, val linkType: String = "url", val cachedUrl: String? = null, val email: String? = null) : Field(source)

Represents a Storyblok multi-link field.

Supports various link types including URLs, stories, emails, and assets.

Constructors

Link copied to clipboard
constructor(url: String? = null, target: String? = null, linkType: String = "url", cachedUrl: String? = null, email: String? = null)

Properties

Link copied to clipboard

Cached URL resolved by Storyblok.

Link copied to clipboard

Email address for email links.

Link copied to clipboard

Technical name of the field type.

Link copied to clipboard
val id: String? = null

Optional field identifier.

Link copied to clipboard

Type of link: "url", "story", "email", or "asset".

Link copied to clipboard

Link target attribute (e.g., "_blank" for new tab).

Link copied to clipboard
val url: String?

The URL for external links.