CommunitySupportReportCreateData
public struct CommunitySupportReportCreateData : Content
extension CommunitySupportReportCreateData: RCFValidatable
Used to file a Community Support report. Community Support role holders, and TwitarrTeam and above, may submit one.
Required: memberName, experienceTime, experienceLocation, experienceDescription.
Submitted to: POST /api/v3/communitysupport/report
-
The name of the team member filing the report.
Declaration
Swift
var memberName: String -
Name of the reporter. Optional.
Declaration
Swift
var reporterName: String? -
The reporter’s account, if they have one and the team member picked it.
Declaration
Swift
var reporterUserID: UUID? -
Free-text handle for the reporter, if not picked from the user list.
Declaration
Swift
var reporterHandleText: String? -
Declaration
Swift
var reporterCabin: String? -
The person the report is about, if picked from the user list.
Declaration
Swift
var subjectUserID: UUID? -
Free-text name of the person the report is about.
Declaration
Swift
var subjectName: String? -
The reporter experienced this themselves.
Declaration
Swift
var reporterExperienced: Bool -
The reporter witnessed this happen to someone else.
Declaration
Swift
var reporterWitnessed: Bool -
Whether the reporter wants follow-up.
infoOnlyorfollowUp.Declaration
Swift
var intent: CommunitySupportReportIntent -
May JoCo Cruise contact the reporter?
Declaration
Swift
var mayContact: Bool -
When it happened, in the reporter’s words.
Declaration
Swift
var experienceTime: String -
Declaration
Swift
var experienceLocation: String -
Declaration
Swift
var experienceDescription: String -
Declaration
Swift
var preferredOutcome: String? -
Declaration
Swift
var livedExperiences: String? -
Declaration
Swift
func runValidations(using decoder: ValidatingDecoder) throws
View on GitHub