2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 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 * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22 * ============LICENSE_END=========================================================
25 package org.onap.appc.design.data;
28 import com.fasterxml.jackson.annotation.JsonProperty;
30 public class DesignRequest{
33 @JsonProperty("userID")
36 @JsonProperty("vnf-type")
39 @JsonProperty("vnfc-type")
42 @JsonProperty("protocol")
45 @JsonProperty("action")
48 @JsonProperty("artifact-name")
51 @JsonProperty("artifact-contents")
52 String artifact_contents ;
54 public String getUserId() {
58 public void setUserId(String userId) {
62 public String getVnf_type() {
66 public void setVnf_type(String vnf_type) {
67 this.vnf_type = vnf_type;
70 public String getVnfc_type() {
74 public void setVnfc_type(String vnfc_type) {
75 this.vnfc_type = vnfc_type;
78 public String getProtocol() {
82 public void setProtocol(String protocol) {
83 this.protocol = protocol;
86 public String getAction() {
90 public void setAction(String action) {
94 public String getArtifact_name() {
98 public void setArtifact_name(String artifact_name) {
99 this.artifact_name = artifact_name;
102 public String getArtifact_contents() {
103 return artifact_contents;
106 public void setArtifact_contents(String artifact_contents) {
107 this.artifact_contents = artifact_contents;
111 public String toString() {
112 return "DesignRequest [userId=" + userId + ", vnf_type=" + vnf_type + ", vnfc_type=" + vnfc_type + ", protocol="
113 + protocol + ", action=" + action + ", artifact_name=" + artifact_name + ", artifact_contents="
114 + artifact_contents + "]";