2 * ============LICENSE_START=======================================================
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
11 * http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 package org.openecomp.mso.client.policy.entities;
26 import com.fasterxml.jackson.annotation.JsonInclude;
27 import com.fasterxml.jackson.annotation.JsonProperty;
28 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
30 @JsonInclude(JsonInclude.Include.NON_NULL)
31 @JsonPropertyOrder({ "ServiceType", "VNFType", "BB_ID", "WorkStep", "ErrorCode" })
32 public class DecisionAttributes {
34 @JsonProperty("ServiceType")
35 private String serviceType;
36 @JsonProperty("VNFType")
37 private String VNFType;
38 @JsonProperty("BB_ID")
40 @JsonProperty("WorkStep")
41 private String workStep;
42 @JsonProperty("ErrorCode")
43 private String errorCode;
45 @JsonProperty("ServiceType")
46 public String getServiceType() {
50 @JsonProperty("ServiceType")
51 public void setServiceType(String serviceType) {
52 this.serviceType = serviceType;
55 @JsonProperty("VNFType")
56 public String getVNFType() {
60 @JsonProperty("VNFType")
61 public void setVNFType(String vNFType) {
62 this.VNFType = vNFType;
65 @JsonProperty("BB_ID")
66 public String getBBID() {
70 @JsonProperty("BB_ID")
71 public void setBBID(String bBID) {
75 @JsonProperty("WorkStep")
76 public String getWorkStep() {
80 @JsonProperty("WorkStep")
81 public void setWorkStep(String workStep) {
82 this.workStep = workStep;
85 @JsonProperty("ErrorCode")
86 public String getErrorCode() {
90 @JsonProperty("ErrorCode")
91 public void setErrorCode(String errorCode) {
92 this.errorCode = errorCode;