Merge "Reorder modifiers"
[so.git] / common / src / main / java / org / openecomp / mso / client / policy / entities / 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
22 package org.openecomp.mso.client.policy.entities;
23
24
25
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonProperty;
28 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
29
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 @JsonPropertyOrder({ "ServiceType", "VNFType", "BB_ID", "WorkStep", "ErrorCode" })
32 public class DecisionAttributes {
33
34         @JsonProperty("ServiceType")
35         private String serviceType;
36         @JsonProperty("VNFType")
37         private String VNFType;
38         @JsonProperty("BB_ID")
39         private String BBID;
40         @JsonProperty("WorkStep")
41         private String workStep;
42         @JsonProperty("ErrorCode")
43         private String errorCode;
44
45         @JsonProperty("ServiceType")
46         public String getServiceType() {
47                 return serviceType;
48         }
49
50         @JsonProperty("ServiceType")
51         public void setServiceType(String serviceType) {
52                 this.serviceType = serviceType;
53         }
54
55         @JsonProperty("VNFType")
56         public String getVNFType() {
57                 return VNFType;
58         }
59
60         @JsonProperty("VNFType")
61         public void setVNFType(String vNFType) {
62                 this.VNFType = vNFType;
63         }
64
65         @JsonProperty("BB_ID")
66         public String getBBID() {
67                 return BBID;
68         }
69
70         @JsonProperty("BB_ID")
71         public void setBBID(String bBID) {
72                 this.BBID = bBID;
73         }
74
75         @JsonProperty("WorkStep")
76         public String getWorkStep() {
77                 return workStep;
78         }
79
80         @JsonProperty("WorkStep")
81         public void setWorkStep(String workStep) {
82                 this.workStep = workStep;
83         }
84
85         @JsonProperty("ErrorCode")
86         public String getErrorCode() {
87                 return errorCode;
88         }
89
90         @JsonProperty("ErrorCode")
91         public void setErrorCode(String errorCode) {
92                 this.errorCode = errorCode;
93         }
94 }