001package ca.cdr.api.model.json;
002
003/*
004 * #%L
005 * Smile CDR - CDR
006 * %%
007 * Copyright (C) 2016 - 2026 Smile CDR, Inc.
008 * %%
009 * All rights reserved.
010 * #L%
011 */
012
013import com.fasterxml.jackson.annotation.JsonProperty;
014import io.swagger.v3.oas.annotations.media.Schema;
015import jakarta.annotation.Nonnull;
016
017import java.util.List;
018
019@Schema(
020                name = "AuditLogEventCodes",
021                description = "Contains the list of valid event type codes used in audit log entries")
022public class AuditLogEventCodesJson extends AbstractModelJson {
023
024        @Schema(description = "The list of valid audit event type codes")
025        public final List<LocalizedCodeJson> eventTypes;
026
027        public AuditLogEventCodesJson(@JsonProperty("eventTypes") @Nonnull List<LocalizedCodeJson> theEventTypes) {
028                eventTypes = theEventTypes;
029        }
030}