SchedSpeaker
struct SchedSpeaker : Codable
One speaker from the sched.com GET /api/role/export?role=speaker API, when requested with the fields in
SchedClient.speakerFields. The Sched API has no pronouns, social media links, or years attended.
-
Declaration
Swift
var username: String? -
Declaration
Swift
var name: String -
HTML-formatted bio.
Declaration
Swift
var about: String? -
The speaker’s website. May be missing its scheme, e.g. “www.example.com”.
Declaration
Swift
var url: String? -
Profile photo URL.
Declaration
Swift
var avatar: String? -
Declaration
Swift
var company: String? -
Declaration
Swift
var position: String? -
IDs of the speaker’s sessions. Same as the
uidof the matchingEvent. Null for speakers with no sessions.Declaration
Swift
var sessions: [String]? -
Decodes a sched.com
role/exportJSON response.Declaration
Swift
static func decodeSpeakers(from buffer: ByteBuffer) throws -> [SchedSpeaker] -
Converts the speaker to a
PerformerDatafor bulk performer import. Fields the Sched API doesn’t have are left nil.Declaration
Swift
func makePerformerData() throws -> PerformerData -
Declaration
Swift
private static func nonBlank(_ value: String?) -> String?
View on GitHub