getVacationDays method
Implementation
Future<VacationSummary> getVacationDays(
int employeeId,
int year, {
required Object authorization,
}) async {
final response = await _getVacationDaysWithHttpInfo(
employeeId,
year,
authorization: authorization,
);
if (response.statusCode >= HttpStatus.badRequest) {
throw ApiException(response.statusCode, await _decodeBodyBytes(response));
}
return await apiClient.deserializeAsync(
await _decodeBodyBytes(response),
'VacationSummary',
) as VacationSummary;
}