5db3c3f73d9d4f630a15c8c6d52bd5e0a6bfb1ff
[so.git] /
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 Huawei Technologies Co., Ltd. All rights reserved.
6  * ================================================================================
7  * Licensed under the Apache License, Version 2.0 (the "License");
8  * you may not use this file except in compliance with the License.
9  * You may obtain a copy of the License at
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
13  * Unless required by applicable law or agreed to in writing, software
14  * distributed under the License is distributed on an "AS IS" BASIS,
15  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16  * See the License for the specific language governing permissions and
17  * limitations under the License.
18  * ============LICENSE_END=========================================================
19  */
20
21 package org.openecomp.mso.apihandlerinfra.e2eserviceinstancebeans;
22
23 import java.util.HashMap;
24 import java.util.Map;
25
26 import org.codehaus.jackson.annotate.JsonIgnore;
27 import org.codehaus.jackson.annotate.JsonProperty;
28
29 public class ResourceRequest {
30
31     @JsonProperty("resourceName")
32     private String resourceName;
33
34     @JsonProperty("resourceDefId")
35     private String resourceDefId;
36
37     @JsonProperty("resourceId")
38     private String resourceId;
39
40     @JsonProperty("nsParameters")
41     private NsParameters nsParameters = null;
42
43     @JsonIgnore
44     private Map<String, Object> additionalProperties = new HashMap<>();
45
46     /**
47      * @return Returns the resourceName.
48      */
49     public String getResourceName() {
50         return resourceName;
51     }
52
53     /**
54      * @param resourceName The resourceName to set.
55      */
56     public void setResourceName(String resourceName) {
57         this.resourceName = resourceName;
58     }
59
60     /**
61      * @return Returns the resourceDefId.
62      */
63     public String getResourceDefId() {
64         return resourceDefId;
65     }
66
67     /**
68      * @param resourceDefId The resourceDefId to set.
69      */
70     public void setResourceDefId(String resourceDefId) {
71         this.resourceDefId = resourceDefId;
72     }
73
74     /**
75      * @return Returns the resourceId.
76      */
77     public String getResourceId() {
78         return resourceId;
79     }
80
81     /**
82      * @param resourceId The resourceId to set.
83      */
84     public void setResourceId(String resourceId) {
85         this.resourceId = resourceId;
86     }
87
88     /**
89      * @return Returns the nsParameters.
90      */
91     public NsParameters getNsParameters() {
92         return nsParameters;
93     }
94
95     /**
96      * @param nsParameters The nsParameters to set.
97      */
98     public void setNsParameters(NsParameters nsParameters) {
99         this.nsParameters = nsParameters;
100     }
101
102     public Map<String, Object> getAdditionalProperties() {
103         return additionalProperties;
104     }
105
106     public void setAdditionalProperties(Map<String, Object> additionalProperties) {
107         this.additionalProperties = additionalProperties;
108     }
109
110 }