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 io.swagger.v3.oas.annotations.media.Schema;
015
016import java.io.Serializable;
017
018@Schema(
019                name = "LaunchContextParameter",
020                description = "Represent launch context parameters to be added to a specific user session")
021public class LaunchContextParameterJson implements Serializable, IModelJson {
022
023        @JsonProperty("parameterName")
024        @Schema(description = "The parameter name (need_patient_banner, smart_style_url)")
025        private String myParameterName;
026
027        @JsonProperty("parameterValue")
028        @Schema(description = "The parameter value")
029        private String myParameterValue;
030
031        public String getParameterName() {
032                return myParameterName;
033        }
034
035        public LaunchContextParameterJson setParameterName(String theParameterName) {
036                myParameterName = theParameterName;
037                return this;
038        }
039
040        public String getParameterValue() {
041                return myParameterValue;
042        }
043
044        public LaunchContextParameterJson setParameterValue(String theParameterValue) {
045                myParameterValue = theParameterValue;
046                return this;
047        }
048}