2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
21 package org.openecomp.mso.apihandlerinfra.e2eserviceinstancebeans;
23 import java.util.HashMap;
26 import org.codehaus.jackson.annotate.JsonIgnore;
27 import org.codehaus.jackson.annotate.JsonProperty;
29 public class ResourceRequest {
31 @JsonProperty("resourceName")
32 private String resourceName;
34 @JsonProperty("resourceDefId")
35 private String resourceDefId;
37 @JsonProperty("resourceId")
38 private String resourceId;
40 @JsonProperty("nsParameters")
41 private NsParameters nsParameters = null;
44 private Map<String, Object> additionalProperties = new HashMap<>();
47 * @return Returns the resourceName.
49 public String getResourceName() {
54 * @param resourceName The resourceName to set.
56 public void setResourceName(String resourceName) {
57 this.resourceName = resourceName;
61 * @return Returns the resourceDefId.
63 public String getResourceDefId() {
68 * @param resourceDefId The resourceDefId to set.
70 public void setResourceDefId(String resourceDefId) {
71 this.resourceDefId = resourceDefId;
75 * @return Returns the resourceId.
77 public String getResourceId() {
82 * @param resourceId The resourceId to set.
84 public void setResourceId(String resourceId) {
85 this.resourceId = resourceId;
89 * @return Returns the nsParameters.
91 public NsParameters getNsParameters() {
96 * @param nsParameters The nsParameters to set.
98 public void setNsParameters(NsParameters nsParameters) {
99 this.nsParameters = nsParameters;
102 public Map<String, Object> getAdditionalProperties() {
103 return additionalProperties;
106 public void setAdditionalProperties(Map<String, Object> additionalProperties) {
107 this.additionalProperties = additionalProperties;