Skip to main content

Class NewsFeedCTA

Namespace: SuperOffice.WebApi.Data
Assembly: SuperOffice.WebApi.dll
Carrier object for NewsFeedCTA. News feed CTAs are created by agents or other services for display on the start page and other relevant places in the UI.

Inheritance

objectNewsFeedCTA

Inherited Members

object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

NewsFeedCTA()

Default constructor - defaults any enum props to 0.

Properties

CtaFlavor

The flavor of the CTA, which determines the style the CTA button renders its type. Info/Warning/Error/Accept/Reject NULL if unknown enum value.

Property Value

CtaFlavor?

See Also

NewsFeedCTA.CtaFlavor_String

CtaFlavor_String

The flavor of the CTA, which determines the style the CTA button renders its type. Info/Warning/Error/Accept/Reject Raw string enum value.

Property Value

string

See Also

NewsFeedCTA.CtaFlavor

CtaType

The type of the CTA, which determines how the CTA button renders. Primary/Secondary/Link NULL if unknown enum value.

Property Value

CtaType?

See Also

NewsFeedCTA.CtaType_String

CtaType_String

The type of the CTA, which determines how the CTA button renders. Primary/Secondary/Link Raw string enum value.

Property Value

string

See Also

NewsFeedCTA.CtaType

Identifier

An identifier for the CTA, which will be sent back to the application when the user clicks the CTA button. E.g. ‘approve_button/234’, ‘reject/53fw1’, ‘5235faq143=’. Where to route is determined by the ApplicationId on the NewsFeedItem

Property Value

string

Title

The title of the CTA button. E.g. ‘Approve’, ‘Reject’, ‘View details’. Multi-language string supported: ‘US:“english”;NO:“norsk”’.

Property Value

string

See Also

NewsFeedAgent