Poll is defined in the Telligent.Evolution.Extensibility.Api.Entities.Version1 namespace.
Definition
class Poll : ApiEntity, IApiEntity
{
Poll();
Poll(AdditionalInfo additionalInfo);
string ContentUrl { get; set; }
DateTime CreatedDate { get; set; }
string Description { get; set; }
IList<Error> Errors { get; }
DateTime? ExpiredDate { get; set; }
Guid Id { get; set; }
IList<PollOption> Options { get; }
string Question { get; set; }
string RenderedDescription { get; }
bool ShowResultsBeforeExpiration { get; set; }
bool ShowResultsBeforeVote { get; set; }
int UserId { get; set; }
IList<Warning> Warnings { get; }
bool HasErrors();
bool HasWarnings();
bool HasWarningsOrErrors();
void ThrowErrors();
}
Constructors
Poll();
Poll(AdditionalInfo additionalInfo);
Parameters
| Name | Type | Description | Required | Default | Options |
|---|---|---|---|---|---|
| additionalInfo | AdditionalInfo | Additional Info | Required |