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
9 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
18 package org.onap.so.multicloudsimulator.beans;
20 import com.fasterxml.jackson.annotation.JsonInclude;
21 import com.fasterxml.jackson.annotation.JsonProperty;
22 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
24 @JsonInclude(JsonInclude.Include.NON_NULL)
25 @JsonPropertyOrder({ "resource-type", "resource-link" })
26 public class Resource {
28 @JsonProperty("resource-type")
29 private String resourceType;
31 @JsonProperty("resource-link")
32 private String resourceLink;
34 @JsonProperty("resource-type")
35 public String getResourceType() {
39 public void setResourceType(final String resourceType) {
40 this.resourceType = resourceType;
43 public String getResourceLink() {
47 public void setResourceLink(final String resourceLink) {
48 this.resourceLink = resourceLink;