001/*-
002 * #%L
003 * Smile CDR - CDR
004 * %%
005 * Copyright (C) 2016 - 2025 Smile CDR, Inc.
006 * %%
007 * All rights reserved.
008 * #L%
009 */
010package ca.cdr.api.fhirgw.model;
011
012/**
013 * This class represents a FHIR Gateway plain get request, used i.e. to retrieve
014 * bulk exported files from an export-returned location which might be not
015 * a FHIR server. E.g. Could be ndjson files in S3, and would not be a Binary resource.
016 */
017public class GetRequest extends BaseRequest<GetRequest> {
018
019        private String myUrl;
020
021        /**
022         * Constructor
023         */
024        public GetRequest(String theUrl) {
025                myUrl = theUrl;
026        }
027
028        /**
029         * Copy constructor
030         */
031        public GetRequest(GetRequest theRequest) {
032                super(theRequest);
033                myUrl = theRequest.getUrl();
034        }
035
036        public String getUrl() {
037                return myUrl;
038        }
039
040        public void setUrl(String theUrl) {
041                myUrl = theUrl;
042        }
043}