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.model;
011
012import org.hl7.fhir.instance.model.api.IBaseResource;
013
014/**
015 * Represents a Gateway Create request
016 */
017public class CreateRequest extends BaseRequest<CreateRequest> {
018
019        protected IBaseResource myResource;
020
021        // default
022        public CreateRequest() {}
023
024        // copy
025        public CreateRequest(CreateRequest theCopy) {
026                myResource = theCopy.getResource();
027        }
028
029        public IBaseResource getResource() {
030                return myResource;
031        }
032
033        public void setResource(IBaseResource theResource) {
034                myResource = theResource;
035        }
036}