Content created on the site must implement this interface for the social services to support it.
Achievement is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class Achievement : ApiEntity, IApiEntity, IAuditable, IContent { Achievement(); Achievement(IUrlManipulation urlManipulation); Achievement(AdditionalInfo additionalInfo); IApplication Application { get; } IDictionary<string,string> AutomationConfiguration { get; } Guid? AutomationId { get; set; } string BadgeIconUrl { get; set; } Guid ContentId { get; } DateTime CreatedDate { get; set; } string Criteria { get; set; } bool Enabled { get; set; } IList<Error> Errors { get; } Guid Id { get; set; } string Title { get; set; } string Url { get; } IList<Warning> Warnings { get; } bool HasErrors(); bool HasWarnings(); bool HasWarningsOrErrors(); void ThrowErrors(); }
Constructors
Achievement();
Achievement(IUrlManipulation urlManipulation);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| urlManipulation | IUrlManipulation | Url Manipulation | Required |
Achievement(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| Application | IApplication | The application in which the IContent is located. | ||
| AutomationConfiguration | IDictionary<string,string> | |||
| AutomationId | Guid? | |||
| BadgeIconUrl | string | |||
| ContentId | Guid | A Guid uniquely identifying the content. | ||
| CreatedDate | DateTime | The date the content was created. | ||
| Criteria | string | |||
| Enabled | bool | |||
| Errors | IList<Error> | |||
| Id | Guid | |||
| Title | string | |||
| Url | string | A Url to the content on the site. | ||
| Warnings | IList<Warning> |