65185232566a501f47f7548ab8c0a1845de1f6c1
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / apihandlerinfra / e2eserviceinstancebeans / ResourceRequest.java
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.onap.so.apihandlerinfra.e2eserviceinstancebeans;
22
23 import com.fasterxml.jackson.annotation.JsonIgnore;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25
26 import java.util.HashMap;
27 import java.util.Map;
28
29 public class ResourceRequest {
30
31     @JsonProperty("resourceName")
32     private String resourceName;
33
34     @JsonProperty("resourceInvariantUuid")
35     private String resourceInvariantUuid;
36
37     @JsonProperty("resourceUuid")
38     private String resourceUuid;
39
40     @JsonProperty("resourceCustomizationUuid")
41     private String resourceCustomizationUuid;
42
43     @JsonProperty("parameters")
44     private E2EParameters parameters;
45
46     @JsonIgnore
47     private Map<String, Object> additionalProperties = new HashMap<>();
48
49     /**
50      * @return Returns the resourceName.
51      */
52     public String getResourceName() {
53         return resourceName;
54     }
55
56     /**
57      * @param resourceName The resourceName to set.
58      */
59     public void setResourceName(String resourceName) {
60         this.resourceName = resourceName;
61     }
62
63     public Map<String, Object> getAdditionalProperties() {
64         return additionalProperties;
65     }
66
67     public void setAdditionalProperties(Map<String, Object> additionalProperties) {
68         this.additionalProperties = additionalProperties;
69     }
70
71     public String getResourceInvariantUuid() {
72         return resourceInvariantUuid;
73     }
74
75     public void setResourceInvariantUuid(String resourceInvariantUuid) {
76         this.resourceInvariantUuid = resourceInvariantUuid;
77     }
78
79     public String getResourceUuid() {
80         return resourceUuid;
81     }
82
83     public void setResourceUuid(String resourceUuid) {
84         this.resourceUuid = resourceUuid;
85     }
86
87     public String getResourceCustomizationUuid() {
88         return resourceCustomizationUuid;
89     }
90
91     public void setResourceCustomizationUuid(String resourceCustomizationUuid) {
92         this.resourceCustomizationUuid = resourceCustomizationUuid;
93     }
94
95     public E2EParameters getParameters() {
96         return parameters;
97     }
98
99     public void setParameters(E2EParameters parameters) {
100         this.parameters = parameters;
101     }
102 }