2 * ============LICENSE_START=======================================================
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
13 * http://www.apache.org/licenses/LICENSE-2.0
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.
21 * ============LICENSE_END=========================================================
24 package org.onap.appc.sdc.artifacts.object;
26 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
27 import com.fasterxml.jackson.annotation.JsonInclude;
28 import com.fasterxml.jackson.annotation.JsonProperty;
29 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
31 import java.util.List;
33 @JsonInclude(JsonInclude.Include.NON_NULL)
34 @JsonIgnoreProperties(ignoreUnknown = true)
35 @JsonPropertyOrder({"vnfc-type","mandatory","resilience","parents"})
38 @JsonProperty("vnfc-type")
39 private String vnfcType;
40 @JsonProperty("mandatory")
41 private boolean mandatory;
42 @JsonProperty("resilience")
43 private String resilienceType;
44 @JsonProperty("parents")
45 private List<String> parents;
47 public String getVnfcType() {
51 public void setVnfcType(String vnfcType) {
52 this.vnfcType = vnfcType;
54 public boolean isMandatory() {
58 public void setMandatory(boolean mandatory) {
59 this.mandatory = mandatory;
62 public String getResilienceType() {
63 return resilienceType;
66 public void setResilienceType(String resilienceType) {
67 this.resilienceType = resilienceType;
70 public List<String> getParents() {
74 public void setParents(List<String> parents) {
75 this.parents = parents;