A Blog entity
Blog is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class Blog : LazyContentApiEntityWithExtendedAttributes<IAttributeExtendable>, IApiEntity, IApplication, IAuditable, IContent { Blog(); Blog(AdditionalInfo additionalInfo); Blog(Error error); Blog(Warning warning); string AboutDescription { get; set; } string AboutTitle { get; set; } Guid ApplicationId { get; set; } IList<User> Authors { get; set; } int CommentCount { get; set; } Container Container { get; } Guid ContentId { get; } DateTime? DateCreated { get; set; } string DefaultPostImageUrl { get; set; } string Description { get; set; } bool EnableAbout { get; set; } bool EnableCommentsOverride { get; set; } bool Enabled { get; set; } IList<Error> Errors { get; } ApiList<ExtendedAttribute> ExtendedAttributes { get; set; } Group Group { get; set; } int? Id { get; set; } string Key { get; set; } DateTime? LatestPostDate { get; set; } string Name { get; set; } int PostCount { get; set; } bool PostsHaveReviewWorkflow { get; } bool PostSummaryDefault { get; } int PostSummaryLengthDefault { get; set; } bool ShowContact { get; set; } Guid? ThemeId { get; } string Url { get; set; } IList<Warning> Warnings { get; } bool HasErrors(); bool HasWarnings(); bool HasWarningsOrErrors(); string HtmlDescription(string target); void ThrowErrors(); }
Constructors
Blog();
Blog(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |
Blog(Error error);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| error | Error | Error | Required |
Blog(Warning warning);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| warning | Warning | Warning | Required |
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| AboutDescription | string | |||
| AboutTitle | string | |||
| ApplicationId | Guid | A Guid uniquely identifying the application. | ||
| Authors | IList<User> | |||
| CommentCount | int | |||
| Container | Container | |||
| ContentId | Guid | A Guid uniquely identifying the content. | ||
| DateCreated | DateTime? | Date when blog was created | ||
| DefaultPostImageUrl | string | |||
| Description | string | Description of the blog | ||
| EnableAbout | bool | |||
| EnableCommentsOverride | bool | |||
| Enabled | bool | |||
| Errors | IList<Error> | |||
| ExtendedAttributes | ApiList<ExtendedAttribute> | |||
| Group | Group | Group to which the blog belongs | ||
| Id | int? | |||
| Key | string | |||
| LatestPostDate | DateTime? | Date of blog's most recent post | ||
| Name | string | Name of the blog | ||
| PostCount | int | |||
| PostsHaveReviewWorkflow | bool | |||
| PostSummaryDefault | bool | |||
| PostSummaryLengthDefault | int | |||
| ShowContact | bool | |||
| ThemeId | Guid? | |||
| Url | string | URL of the blog | ||
| Warnings | IList<Warning> |
Methods
bool HasErrors();
Return Type
bool HasWarnings();
Return Type
bool HasWarningsOrErrors();
Return Type
string HtmlDescription(string target);
This method should return the Html encoded description of the application. Possible values for “target” are “Web”, “Email”, “WebServices”, or “raw”. When “raw” is specified as the target, the description should not be encoded or have any special rendering done to it. If there is no description, an empty string should be returned.
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | string | Target | Required |