ContentPage
public struct ContentPage : Codable, Equatable
Struct representing Content Page related values.
-
Value representing the entity id.
Declaration
Swift
public let id: Int
-
Display name of the content page.
Declaration
Swift
public let label: String
-
Description of the content page.
Declaration
Swift
public let description: String
-
Page type of the content page.
Declaration
Swift
public let pageType: String
-
Internal name of the content page.
Declaration
Swift
public let name: String
-
Template version id of content page.
Declaration
Swift
public let templateSetVersionId: Int
-
URL of content page.
Declaration
Swift
public let url: String
-
Masked URL of content page.
Declaration
Swift
public let maskedUrl: String
-
Flag for checking if login is required.
Declaration
Swift
public let requireLogin: Bool
-
Static files of content page.
Declaration
Swift
public let staticFiles: [ContentPage.StaticFile]
-
Heading of content page.
Declaration
Swift
public let heading: String
-
Subheading of content page.
Declaration
Swift
public let subheading: String
-
Body of content page.
Declaration
Swift
public let body: String
-
Details of content page.
Declaration
Swift
public let details: String
-
Image URL of content page.
Declaration
Swift
public let imageUrl: String
-
Thumbnail image URL of content page.
Declaration
Swift
public let thumbImageUrl: String
-
Original image URL of content page.
Declaration
Swift
public let originalImageUrl: String
-
Subject of content page.
Declaration
Swift
public let subject: String
-
Action of content page.
Declaration
Swift
public let action: String
-
Heading color of content page.
Declaration
Swift
public let headingColor: String
-
Color of content page.
Declaration
Swift
public let color: String
-
Background color of content page.
Declaration
Swift
public let bgColor: String
-
Heading background color of content page.
Declaration
Swift
public let headingBgColor: String
-
Image1 background of content page.
Declaration
Swift
public let image1Bg: String
-
Layout ID of content page.
Declaration
Swift
public let layoutId: String
-
init(id:
label: description: pageType: name: templateSetVersionId: url: maskedUrl: requireLogin: staticFiles: heading: subheading: body: details: imageUrl: thumbImageUrl: originalImageUrl: subject: action: headingColor: color: bgColor: headingBgColor: image1Bg: layoutId: ) Undocumented
Declaration
Swift
public init(id: Int, label: String, description: String, pageType: String, name: String, templateSetVersionId: Int, url: String, maskedUrl: String, requireLogin: Bool, staticFiles: [ContentPage.StaticFile], heading: String, subheading: String, body: String, details: String, imageUrl: String, thumbImageUrl: String, originalImageUrl: String, subject: String, action: String, headingColor: String, color: String, bgColor: String, headingBgColor: String, image1Bg: String, layoutId: String)
-
Struct representing Content Page Static File related values.
See moreDeclaration
Swift
public struct StaticFile : Codable, Equatable
-
Declaration
Swift
public init(from decoder: Decoder) throws