cb2276829f3e356f798fe4084b7c4b0b61fccacc
[sandbox-vid.git] /
1 package org.opencomp.simulator.presetGenerator.presets.sdc;
2
3 import org.springframework.http.HttpMethod;
4
5 /**
6  * Created by itzikliderman on 21/12/2017.
7  */
8 public class PresetSDCGetServiceToscaModelGet extends SdcPresetWithModelVersionId {
9
10     private String file;
11
12     public PresetSDCGetServiceToscaModelGet(String modelVersionId, String file) {
13         super(modelVersionId);
14         this.file = file;
15     }
16
17     public HttpMethod getReqMethod() {
18         return HttpMethod.GET;
19     }
20
21     @Override
22     public String getReqPath() {
23         return super.getReqPath()+"/toscaModel";
24     }
25
26     @Override
27     public String getFile() {
28         return file;
29     }
30 }