A Gallery entity
Gallery is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace of Telligent.Evolution.MediaGalleries.dll
Definition
class Gallery
{
Guid ApplicationId { get; set; }
int CommentCount { get; set; }
Guid ContentId { get; }
DateTime? DateCreated { get; set; }
string Description { get; set; }
bool Enabled { get; set; }
bool EnableRatings { get; set; }
Group Group { get; set; }
int? Id { get; set; }
string Key { get; set; }
DateTime? LatestPostDate { get; set; }
string Name { get; set; }
IList<User> Owners { get; set; }
int PostCount { get; set; }
string Url { get; set; }
string HtmlDescription(string target);
}
Properties
| Name | Type | Description | Default | Options |
|---|---|---|---|---|
| ApplicationId | Guid | A Guid uniquely identifying the application. | ||
| CommentCount | int | |||
| ContentId | Guid | A Guid uniquely identifying the content. | ||
| DateCreated | DateTime? | |||
| Description | string | |||
| Enabled | bool | |||
| EnableRatings | bool | |||
| Group | Group | |||
| Id | int? | |||
| Key | string | |||
| LatestPostDate | DateTime? | |||
| Name | string | |||
| Owners | IList<User> | |||
| PostCount | int | |||
| Url | string | A Url to the application on the site. |
Methods
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 |
Return Type
string