PerformerHeaderData
public struct PerformerHeaderData : Content
Returns info about a single Performer. This header information is similar to the UserHeader structure, containing just enough info to build a title card for a performer.
This structure is also used to break the recusion cycle where a PerformerData contains a list of Events, and the Events contain lists of the Performers that will be there. In this case, the Event has an array of PerformerHeaderData instead of PerformerData.
Incorporated into PerformerData
Incorporated into EventData
-
Database ID of hte performer. Used to get full performer info via
/api/v3/performer/<id>
Declaration
Swift
var id: UUID?
-
Name of the performer
Declaration
Swift
var name: String
-
Photo ID, accessible through
/api/v3/image/[full|thumb]/<photo>
methods in theImageController
.Declaration
Swift
var photo: String?
-
TRUE if the performer is on JoCo’s list of featured guests. FALSE if this is a shadow event organizer.
Declaration
Swift
var isOfficialPerformer: Bool
-
Declaration
Swift
init(_ performer: Performer) throws
-
Declaration
Swift
init()