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;
014
015public class AuditEventHeaderJson implements IModelJson {
016
017        @JsonProperty("headerName")
018        private String myHeaderName;
019
020        @JsonProperty("headerValue")
021        private String myHeaderValue;
022
023        @JsonProperty("id")
024        private Long myId;
025
026        /**
027         * Constructor
028         */
029        public AuditEventHeaderJson() {
030                super();
031        }
032
033        /**
034         * Constructor
035         */
036        public AuditEventHeaderJson(String theHeaderName, String theHeaderValue) {
037                setHeaderName(theHeaderName);
038                setHeaderValue(theHeaderValue);
039        }
040
041        public String getHeaderName() {
042                return myHeaderName;
043        }
044
045        public void setHeaderName(String theHeaderName) {
046                myHeaderName = theHeaderName;
047        }
048
049        public String getHeaderValue() {
050                return myHeaderValue;
051        }
052
053        public void setHeaderValue(String theHeaderValue) {
054                myHeaderValue = theHeaderValue;
055        }
056
057        public Long getId() {
058                return myId;
059        }
060
061        public void setId(Long theId) {
062                myId = theId;
063        }
064
065        @Override
066        public String toString() {
067                return myHeaderName + ": " + myHeaderValue;
068        }
069}