Model definition for a Blog Post.

Constructors

Properties

abTestId: string
archivedAt: number

The timestamp (ISO8601 format) when this Blog Post was deleted.

archivedInDashboard: boolean

If True, the post will not show up in your dashboard, although the post could still be live.

attachedStylesheets: {
    [key: string]: any;
}[]

List of stylesheets to attach to this blog post. These stylesheets are attached to just this page. Order of precedence is bottom to top, just like in the HTML.

authorName: string

The name of the user that updated this Blog Post.

blogAuthorId: string

The ID of the Blog Author associated with this Blog Post.

campaign: string

The GUID of the marketing campaign this Blog Post is a part of.

categoryId: number

ID of the type of object this is.

contentGroupId: string

The ID of the parent Blog this Blog Post is associated with.

contentTypeCategory: BlogPostContentTypeCategoryEnum

An ENUM descibing the type of this object. Should always be BLOG_POST.

created: Date
createdById: string

The ID of the user that created this Blog Post.

currentlyPublished: boolean

A generated ENUM descibing the current state of this Blog Post. Should always match state.

domain: string

The domain this Blog Post will resolve to. If null, the Blog Post will default to the domain of the ParentBlog.

dynamicPageDataSourceId: string
dynamicPageDataSourceType: number
dynamicPageHubDbTableId: string

The ID of the HubDB table this Blog Post references, if applicable

enableDomainStylesheets: boolean

Boolean to determine whether or not the styles from the template should be applied.

enableGoogleAmpOutputOverride: boolean

Boolean to allow overriding the AMP settings for the blog.

enableLayoutStylesheets: boolean

Boolean to determine whether or not the styles from the template should be applied.

featuredImage: string

The featuredImage of this Blog Post.

featuredImageAltText: string

Alt Text of the featuredImage.

folderId: string
footerHtml: string

Custom HTML for embed codes, javascript that should be placed before the tag of the page.

headHtml: string

Custom HTML for embed codes, javascript, etc. that goes in the tag of the page.

htmlTitle: string

The html title of this Blog Post.

id: string

The unique ID of the Blog Post.

includeDefaultCustomCss: boolean

Boolean to determine whether or not the Primary CSS Files should be applied.

The explicitly defined ISO 639 language code of the Blog Post. If null, the Blog Post will default to the language of the ParentBlog.

layoutSections: {
    [key: string]: LayoutSection;
}
linkRelCanonicalUrl: string

Optional override to set the URL to be used in the rel=canonical link tag on the page.

mabExperimentId: string
metaDescription: string

A description that goes in tag on the page.

name: string

The internal name of the Blog Post.

pageExpiryDate: number
pageExpiryEnabled: boolean
pageExpiryRedirectId: number
pageExpiryRedirectUrl: string
password: string

Set this to create a password protected page. Entering the password will be required to view the page.

postBody: string

The HTML of the main post body.

postSummary: string

The summary of the blog post that will appear on the main listing page.

publicAccessRules: any[]

Rules for require member registration to access private content.

publicAccessRulesEnabled: boolean

Boolean to determine whether or not to respect publicAccessRules.

publishDate: Date

The date (ISO8601 format) the blog post is to be published at.

publishImmediately: boolean

Set this to true if you want to be published immediately when the schedule publish endpoint is called, and to ignore the publish_date setting.

rssBody: string

The contents of the RSS body for this Blog Post.

rssSummary: string

The contents of the RSS summary for this Blog Post.

slug: string

The path of the this blog post. This field is appended to the domain to construct the url of this post.

state: string

An ENUM descibing the current state of this Blog Post.

tagIds: number[]

List of IDs for the tags associated with this Blog Post.

themeSettingsValues: {
    [key: string]: any;
}
translatedFromId: string

ID of the primary blog post this object was translated from.

translations: {
    [key: string]: ContentLanguageVariation;
}
updated: Date
updatedById: string

The ID of the user that updated this Blog Post.

url: string

A generated field representing the URL of this blog post.

useFeaturedImage: boolean

Boolean to determine if this post should use a featuredImage.

widgetContainers: {
    [key: string]: any;
}

A data structure containing the data for all the modules inside the containers for this post. This will only be populated if the page has widget containers.

widgets: {
    [key: string]: any;
}

A data structure containing the data for all the modules for this page.

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

Methods

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