2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
6 * ================================================================================
7 * Copyright (C) 2017 Amdocs
8 * =============================================================================
9 * Licensed under the Apache License, Version 2.0 (the "License");
10 * you may not use this file except in compliance with the License.
11 * You may obtain a copy of the License at
13 * http://www.apache.org/licenses/LICENSE-2.0
15 * Unless required by applicable law or agreed to in writing, software
16 * distributed under the License is distributed on an "AS IS" BASIS,
17 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 * See the License for the specific language governing permissions and
19 * limitations under the License.
21 * ============LICENSE_END=========================================================
24 package org.onap.appc.design.data;
27 import com.fasterxml.jackson.annotation.JsonProperty;
29 public class DesignRequest{
32 @JsonProperty("userID")
35 @JsonProperty("vnf-type")
38 @JsonProperty("vnfc-type")
41 @JsonProperty("protocol")
44 @JsonProperty("action")
47 @JsonProperty("artifact-name")
50 @JsonProperty("artifact-contents")
51 String artifact_contents ;
53 public String getUserId() {
57 public void setUserId(String userId) {
61 public String getVnf_type() {
65 public void setVnf_type(String vnf_type) {
66 this.vnf_type = vnf_type;
69 public String getVnfc_type() {
73 public void setVnfc_type(String vnfc_type) {
74 this.vnfc_type = vnfc_type;
77 public String getProtocol() {
81 public void setProtocol(String protocol) {
82 this.protocol = protocol;
85 public String getAction() {
89 public void setAction(String action) {
93 public String getArtifact_name() {
97 public void setArtifact_name(String artifact_name) {
98 this.artifact_name = artifact_name;
101 public String getArtifact_contents() {
102 return artifact_contents;
105 public void setArtifact_contents(String artifact_contents) {
106 this.artifact_contents = artifact_contents;
110 public String toString() {
111 return "DesignRequest [userId=" + userId + ", vnf_type=" + vnf_type + ", vnfc_type=" + vnfc_type + ", protocol="
112 + protocol + ", action=" + action + ", artifact_name=" + artifact_name + ", artifact_contents="
113 + artifact_contents + "]";