Added CSIT for Macroflow with HEAT
[integration/csit.git] / plans / so / integration-etsi-testing / so-simulators / multicloud-simulator / src / main / java / org / onap / so / multicloudsimulator / beans / Resource.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * Copyright 2021 Huawei Technologies Co., Ltd.
4  * ================================================================================
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *      http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  * ============LICENSE_END=========================================================
17  */
18 package org.onap.so.multicloudsimulator.beans;
19
20 import com.fasterxml.jackson.annotation.JsonInclude;
21 import com.fasterxml.jackson.annotation.JsonProperty;
22 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
23
24 @JsonInclude(JsonInclude.Include.NON_NULL)
25 @JsonPropertyOrder({ "resource-type", "resource-link" })
26 public class Resource {
27
28     @JsonProperty("resource-type")
29     private String resourceType;
30
31     @JsonProperty("resource-link")
32     private String resourceLink;
33
34     @JsonProperty("resource-type")
35     public String getResourceType() {
36         return resourceType;
37     }
38
39     public void setResourceType(final String resourceType) {
40         this.resourceType = resourceType;
41     }
42
43     public String getResourceLink() {
44         return resourceLink;
45     }
46
47     public void setResourceLink(final String resourceLink) {
48         this.resourceLink = resourceLink;
49     }
50
51 }