A Gallery entity
Properties
| Name | Access | Type | Description |
|---|---|---|---|
| ApplicationId | Read, Write | Guid | A Guid uniquely identifying the application. |
| CommentCount | Read, Write | Number | Comment Count |
| ContentId | Read | Guid | A Guid uniquely identifying the content. |
| DateCreated | Read, Write | Nullable of DateTime | Date Created |
| Description | Read, Write | String | Description |
| Enabled | Read, Write | Boolean | Enabled |
| EnableRatings | Read, Write | Boolean | Enable Ratings |
| Errors | Read | List of Error | Errors |
| ExtendedAttributes | Read, Write | ApiList of ExtendedAttribute | Extended Attributes |
| Group | Read, Write | Group | Group |
| Id | Read, Write | Nullable of Number | Id |
| Key | Read, Write | String | Key |
| LatestPostDate | Read, Write | Nullable of DateTime | Latest Post Date |
| Name | Read, Write | String | Name |
| Owners | Read, Write | List of User | Owners |
| PostCount | Read, Write | Number | Post Count |
| Url | Read, Write | String | A Url to the application on the site. |
| Warnings | Read | List of Warning | Warnings |
Methods
HasErrors
Velocity
#set($booleanResponse = $gallery.HasErrors())
JavaScript
var booleanResponse = gallery.HasErrors();
Returns
HasWarnings
Velocity
#set($booleanResponse = $gallery.HasWarnings())
JavaScript
var booleanResponse = gallery.HasWarnings();
Returns
HasWarningsOrErrors
Velocity
#set($booleanResponse = $gallery.HasWarningsOrErrors())
JavaScript
var booleanResponse = gallery.HasWarningsOrErrors();
Returns
HtmlDescription
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.
Velocity
#set($stringResponse = $gallery.HtmlDescription($target))
JavaScript
var stringResponse = gallery.HtmlDescription(target);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| target | String | Target | Required |
Returns
ThrowErrors
Velocity
$gallery.ThrowErrors()
JavaScript
gallery.ThrowErrors();
Returns
NothingToString
Velocity
#set($stringResponse = $gallery.ToString())
JavaScript
var stringResponse = gallery.ToString();