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 = "TransactionLogEventCodes", 021 description = "Contains the lists of valid event type and event subtype codes used in transaction log entries") 022public class TransactionLogEventCodesJson extends AbstractModelJson { 023 024 @Schema(description = "The list of valid transaction log event type codes") 025 public final List<LocalizedCodeJson> eventTypes; 026 027 @Schema(description = "The list of valid transaction log event subtype codes") 028 public final List<LocalizedCodeJson> eventSubTypes; 029 030 public TransactionLogEventCodesJson( 031 @JsonProperty("eventTypes") @Nonnull List<LocalizedCodeJson> theEventTypes, 032 @JsonProperty("eventSubTypes") @Nonnull List<LocalizedCodeJson> theEventSubTypes) { 033 this.eventTypes = theEventTypes; 034 this.eventSubTypes = theEventSubTypes; 035 } 036}