Competition

Competition: class implements CompetitionInterface

Constructors

this
this(string title, UUID owner)

constructor for a new competition

this
this(UUID id)

Constructor for an existing competition

Members

Properties

comments
Comment comments [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
comments
Comment[UUID] comments [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
createdAt
SysTime createdAt [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
entrants
User[UUID] entrants [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
entrants
User entrants [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
entries
Entry[UUID] entries [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
entries
Entry entries [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
goals
Goal[UUID] goals [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
goals
Goal goals [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
id
UUID id [@property getter]

function id (): returns UUID @property getter

launchedAt
SysTime launchedAt [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
overview
string overview [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
overview
string overview [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
ownerID
UUID ownerID [@property getter]

@property ownerID (): returns UUID @property getter

raised
string raised [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
raised
string raised [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
summary
string summary [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
summary
string summary [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
title
string title [@property getter]

@property title (): returns string @property getter

title
string title [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
updates
Update[UUID] updates [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
updates
Update updates [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From CompetitionInterface

id
UUID id [@property getter]

id(): UUID @property

ownerID
UUID ownerID [@property getter]
Undocumented in source.
title
string title [@property getter]
Undocumented in source.
title
string title [@property setter]
Undocumented in source.
summary
string summary [@property getter]
Undocumented in source.
summary
string summary [@property setter]
Undocumented in source.
overview
string overview [@property getter]
Undocumented in source.
overview
string overview [@property setter]
Undocumented in source.
goals
Goal[UUID] goals [@property getter]
Undocumented in source.
goals
Goal goals [@property setter]
Undocumented in source.
raised
string raised [@property getter]
Undocumented in source.
raised
string raised [@property setter]
Undocumented in source.
entrants
User[UUID] entrants [@property getter]
Undocumented in source.
entrants
User entrants [@property setter]
Undocumented in source.
entries
Entry[UUID] entries [@property getter]
Undocumented in source.
entries
Entry entries [@property setter]
Undocumented in source.
updates
Update[UUID] updates [@property getter]
Undocumented in source.
updates
Update updates [@property setter]
Undocumented in source.
comments
Comment[UUID] comments [@property getter]
Undocumented in source.
comments
Comment comments [@property setter]
Undocumented in source.
createdAt
SysTime createdAt [@property getter]
Undocumented in source.
launchedAt
SysTime launchedAt [@property getter]
Undocumented in source.

Examples

auto owner = sha1UUID("owner", sha1UUID("namespace"));
auto competition = new Competition("Amazing New Competition", owner);
assert(is(typeof(competition.id()) == UUID));
assert(is(typeof(competition.ownerID()) == UUID));
assert(is(typeof(competition.title()) == string));
assert(is(typeof(competition.createdAt()) == SysTime));

Meta