001/*-
002 * #%L
003 * Smile CDR - CDR
004 * %%
005 * Copyright (C) 2016 - 2024 Smile CDR, Inc.
006 * %%
007 * All rights reserved.
008 * #L%
009 */
010package ca.cdr.api.fhirgw.json;
011
012import ca.cdr.api.model.json.IModelJson;
013import com.fasterxml.jackson.annotation.JsonProperty;
014import io.swagger.v3.oas.annotations.media.Schema;
015
016@Schema(name = "GatewayRouteTarget", description = "Defines a target association for a Smile CDR FHIR Gateway route")
017public class GatewayRouteTargetJson implements IModelJson, Cloneable {
018
019        @JsonProperty("targetId")
020        @Schema(description = "The ID of the target server")
021        private String myTargetId;
022
023        public String getTargetId() {
024                return myTargetId;
025        }
026
027        @SuppressWarnings("unchecked")
028        public GatewayRouteTargetJson setTargetId(String theTargetId) {
029                myTargetId = theTargetId;
030                return this;
031        }
032
033        @Override
034        protected Object clone() throws CloneNotSupportedException {
035                return super.clone();
036        }
037}