001package ca.cdr.api.model.json;
002
003/*
004 * #%L
005 * Smile CDR - CDR
006 * %%
007 * Copyright (C) 2016 - 2024 Smile CDR, Inc.
008 * %%
009 * All rights reserved.
010 * #L%
011 */
012
013import com.fasterxml.jackson.annotation.JsonProperty;
014import jakarta.validation.constraints.NotBlank;
015
016public class AuditEventTargetModuleJson implements IModelJson {
017
018        @NotBlank
019        @JsonProperty("moduleId")
020        private String myModuleId;
021
022        @NotBlank
023        @JsonProperty("nodeId")
024        private String myNodeId;
025
026        /**
027         * Constructor
028         */
029        public AuditEventTargetModuleJson() {
030                super();
031        }
032
033        public AuditEventTargetModuleJson(String theNodeId, String theModuleId) {
034                myNodeId = theNodeId;
035                myModuleId = theModuleId;
036        }
037
038        public String getModuleId() {
039                return myModuleId;
040        }
041
042        public void setModuleId(String theModuleId) {
043                myModuleId = theModuleId;
044        }
045
046        public String getNodeId() {
047                return myNodeId;
048        }
049
050        public void setNodeId(String theNodeId) {
051                myNodeId = theNodeId;
052        }
053}