NewTicket
data class NewTicket(val title: String, val description: String? = null, val ticketNumber: String? = null, val category: TicketCategory = TicketCategory.GENERIC, val source: TicketSource = TicketSource.MANUAL, val issuer: TicketOrganization? = null, val holder: TicketPerson? = null, val seats: List<TicketSeat> = emptyList(), val barcodes: List<TicketBarcode> = emptyList(), val totalPrice: String? = null, val priceCurrency: String? = null, val dateIssued: String? = null, val validFrom: String? = null, val validThrough: String? = null, val reservation: TicketReservation? = null, val journey: TicketJourney? = null, val event: TicketEvent? = null, val membership: TicketMembership? = null, val style: TicketStyle? = null, val details: List<TicketDetail> = emptyList(), val relevantLocations: List<TicketRelevantLocation> = emptyList(), val relevantDate: String? = null, val wifiNetworks: List<TicketWifi> = emptyList(), val silenceRequested: Boolean? = null, val voided: Boolean? = null, val serialNumber: String? = null, val groupingIdentifier: String? = null, val organizationName: String? = null, val passTypeIdentifier: String? = null, val teamIdentifier: String? = null, val webServiceUrl: String? = null, val authenticationToken: String? = null, val sharingProhibited: Boolean? = null, val relevantStartDate: String? = null, val relevantEndDate: String? = null, val beacons: List<TicketBeacon> = emptyList(), val copiedFrom: String? = null) : Parcelable
Input model for creating or updating a ticket — the complete writable state, minus the server-managed fields (Ticket.uri, Ticket.artifactUri, Ticket.images, timestamps, Ticket.etag).
Updates use replace semantics: anything absent here is removed from the pod resource; only the artifact link, solidshare:artifactVerified, the stored image links and dcterms:created survive a write.
Every field is optional except title.
Constructors
Link copied to clipboard
constructor(title: String, description: String? = null, ticketNumber: String? = null, category: TicketCategory = TicketCategory.GENERIC, source: TicketSource = TicketSource.MANUAL, issuer: TicketOrganization? = null, holder: TicketPerson? = null, seats: List<TicketSeat> = emptyList(), barcodes: List<TicketBarcode> = emptyList(), totalPrice: String? = null, priceCurrency: String? = null, dateIssued: String? = null, validFrom: String? = null, validThrough: String? = null, reservation: TicketReservation? = null, journey: TicketJourney? = null, event: TicketEvent? = null, membership: TicketMembership? = null, style: TicketStyle? = null, details: List<TicketDetail> = emptyList(), relevantLocations: List<TicketRelevantLocation> = emptyList(), relevantDate: String? = null, wifiNetworks: List<TicketWifi> = emptyList(), silenceRequested: Boolean? = null, voided: Boolean? = null, serialNumber: String? = null, groupingIdentifier: String? = null, organizationName: String? = null, passTypeIdentifier: String? = null, teamIdentifier: String? = null, webServiceUrl: String? = null, authenticationToken: String? = null, sharingProhibited: Boolean? = null, relevantStartDate: String? = null, relevantEndDate: String? = null, beacons: List<TicketBeacon> = emptyList(), copiedFrom: String? = null)
Properties
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
dcterms:source — the URI of the original entity this ticket was copied from (a shared ticket added to the user's own wallet). Provenance and the duplicate guard for repeat adds.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard