Merge "Change the copyright to 2018"
[so.git] / common / src / main / java / org / openecomp / mso / client / policy / DecisionAttributes.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. 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
10  *
11  *      http://www.apache.org/licenses/LICENSE-2.0
12  *
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=========================================================
19  */
20
21 package org.openecomp.mso.client.policy;
22
23
24
25 import com.fasterxml.jackson.annotation.JsonInclude;
26 import com.fasterxml.jackson.annotation.JsonProperty;
27 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
28
29 @JsonInclude(JsonInclude.Include.NON_NULL)
30 @JsonPropertyOrder({ "ServiceType", "VNFType", "BB_ID", "WorkStep", "ErrorCode" })
31 public class DecisionAttributes {
32
33         @JsonProperty("ServiceType")
34         private String serviceType;
35         @JsonProperty("VNFType")
36         private String vNFType;
37         @JsonProperty("BB_ID")
38         private String bbID;
39         @JsonProperty("WorkStep")
40         private String workStep;
41         @JsonProperty("ErrorCode")
42         private String errorCode;
43
44         @JsonProperty("ServiceType")
45         public String getServiceType() {
46                 return serviceType;
47         }
48
49         @JsonProperty("ServiceType")
50         public void setServiceType(String serviceType) {
51                 this.serviceType = serviceType;
52         }
53
54         @JsonProperty("VNFType")
55         public String getVNFType() {
56                 return vNFType;
57         }
58
59         @JsonProperty("VNFType")
60         public void setVNFType(String vNFType) {
61                 this.vNFType = vNFType;
62         }
63
64         @JsonProperty("BB_ID")
65         public String getBBID() {
66                 return bbID;
67         }
68
69         @JsonProperty("BB_ID")
70         public void setBBID(String bBID) {
71                 this.bbID = bBID;
72         }
73
74         @JsonProperty("WorkStep")
75         public String getWorkStep() {
76                 return workStep;
77         }
78
79         @JsonProperty("WorkStep")
80         public void setWorkStep(String workStep) {
81                 this.workStep = workStep;
82         }
83
84         @JsonProperty("ErrorCode")
85         public String getErrorCode() {
86                 return errorCode;
87         }
88
89         @JsonProperty("ErrorCode")
90         public void setErrorCode(String errorCode) {
91                 this.errorCode = errorCode;
92         }
93 }