postCreateTickets method
Future<void>
postCreateTickets(
- String header,
- String message,
- TicketType ticketType, {
- int? ticketId,
Parameters:
-
String header (required):
-
String message (required):
-
TicketType ticketType (required):
-
int ticketId:
Implementation
Future<void> postCreateTickets(String header, String message, TicketType ticketType, { int? ticketId, }) async {
final response = await postCreateTicketsWithHttpInfo(header, message, ticketType, ticketId: ticketId, );
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
}