Fix sonar issues for APPC
[appc.git] / appc-inbound / appc-design-services / provider / src / main / java / org / onap / appc / design / data / DesignRequest.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
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
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
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.
20  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25 package org.onap.appc.design.data;
26
27
28 import com.fasterxml.jackson.annotation.JsonProperty;
29
30 public class DesignRequest{
31
32
33     @JsonProperty("userID")
34     String userId ;
35
36     @JsonProperty("vnf-type")
37     String vnf_type;
38     
39     @JsonProperty("vnfc-type")
40     String vnfc_type;
41     
42     @JsonProperty("protocol")
43     String protocol;
44     
45     @JsonProperty("action")
46     String action;
47     
48     @JsonProperty("artifact-name")
49     String artifact_name;
50     
51     @JsonProperty("artifact-contents")
52     String artifact_contents ;
53
54     public String getUserId() {
55         return userId;
56     }
57
58     public void setUserId(String userId) {
59         this.userId = userId;
60     }
61
62     public String getVnf_type() {
63         return vnf_type;
64     }
65
66     public void setVnf_type(String vnf_type) {
67         this.vnf_type = vnf_type;
68     }
69
70     public String getVnfc_type() {
71         return vnfc_type;
72     }
73
74     public void setVnfc_type(String vnfc_type) {
75         this.vnfc_type = vnfc_type;
76     }
77
78     public String getProtocol() {
79         return protocol;
80     }
81
82     public void setProtocol(String protocol) {
83         this.protocol = protocol;
84     }
85
86     public String getAction() {
87         return action;
88     }
89
90     public void setAction(String action) {
91         this.action = action;
92     }
93
94     public String getArtifact_name() {
95         return artifact_name;
96     }
97
98     public void setArtifact_name(String artifact_name) {
99         this.artifact_name = artifact_name;
100     }
101
102     public String getArtifact_contents() {
103         return artifact_contents;
104     }
105
106     public void setArtifact_contents(String artifact_contents) {
107         this.artifact_contents = artifact_contents;
108     }
109
110     @Override
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 + "]";
115     }
116
117 }