EventClient

class EventClient(val client: HttpClient)

Client to access event related functionalities

Constructors

Link copied to clipboard
fun EventClient(client: HttpClient)

Functions

Link copied to clipboard
fun createSeveral(events: List<Event>): List<Event>

Creates an event

Link copied to clipboard
fun get(eventId: String): Event

Gets an event using its Id

Properties

Link copied to clipboard
val client: HttpClient

Ktor HttpClient used to make HTTP requests