Update license header in appc-inbound files
[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-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
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  * ============LICENSE_END=========================================================
22  */
23
24 package org.onap.appc.design.data;
25
26
27 import com.fasterxml.jackson.annotation.JsonProperty;
28
29 public class DesignRequest{
30
31
32     @JsonProperty("userID")
33     String userId ;
34
35     @JsonProperty("vnf-type")
36     String vnf_type;
37     
38     @JsonProperty("vnfc-type")
39     String vnfc_type;
40     
41     @JsonProperty("protocol")
42     String protocol;
43     
44     @JsonProperty("action")
45     String action;
46     
47     @JsonProperty("artifact-name")
48     String artifact_name;
49     
50     @JsonProperty("artifact-contents")
51     String artifact_contents ;
52
53     public String getUserId() {
54         return userId;
55     }
56
57     public void setUserId(String userId) {
58         this.userId = userId;
59     }
60
61     public String getVnf_type() {
62         return vnf_type;
63     }
64
65     public void setVnf_type(String vnf_type) {
66         this.vnf_type = vnf_type;
67     }
68
69     public String getVnfc_type() {
70         return vnfc_type;
71     }
72
73     public void setVnfc_type(String vnfc_type) {
74         this.vnfc_type = vnfc_type;
75     }
76
77     public String getProtocol() {
78         return protocol;
79     }
80
81     public void setProtocol(String protocol) {
82         this.protocol = protocol;
83     }
84
85     public String getAction() {
86         return action;
87     }
88
89     public void setAction(String action) {
90         this.action = action;
91     }
92
93     public String getArtifact_name() {
94         return artifact_name;
95     }
96
97     public void setArtifact_name(String artifact_name) {
98         this.artifact_name = artifact_name;
99     }
100
101     public String getArtifact_contents() {
102         return artifact_contents;
103     }
104
105     public void setArtifact_contents(String artifact_contents) {
106         this.artifact_contents = artifact_contents;
107     }
108
109     @Override
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 + "]";
114     }
115
116 }