07db7d856828706b4882a190fca71f19f8dc746b
[so.git] / common / src / main / java / org / onap / so / 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 package org.onap.so.client.policy.entities;
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("WorkStep")
55         public String getWorkStep() {
56                 return workStep;
57         }
58
59         @JsonProperty("WorkStep")
60         public void setWorkStep(String workStep) {
61                 this.workStep = workStep;
62         }
63
64         @JsonProperty("ErrorCode")
65         public String getErrorCode() {
66                 return errorCode;
67         }
68
69         @JsonProperty("ErrorCode")
70         public void setErrorCode(String errorCode) {
71                 this.errorCode = errorCode;
72         }
73         
74         @JsonProperty("VNFType")
75         public String getvNFType() {
76                 return vNFType;
77         }
78         
79         @JsonProperty("VNFType")
80         public void setvNFType(String vNFType) {
81                 this.vNFType = vNFType;
82         }
83         
84         @JsonProperty("BB_ID")
85         public String getBbID() {
86                 return bbID;
87         }
88         
89         @JsonProperty("BB_ID")
90         public void setBbID(String bbID) {
91                 this.bbID = bbID;
92         }
93         
94 }