2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017-2018 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.
19 * ============LICENSE_END=========================================================
22 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
23 // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
24 // Any modifications to this file will be lost upon recompilation of the source schema.
25 // Generated on: 2017.07.31 at 10:30:39 AM EDT
29 package org.onap.appc.flow.controller.interfaceData;
31 import java.util.ArrayList;
32 import java.util.List;
34 import javax.xml.bind.annotation.XmlAccessType;
35 import javax.xml.bind.annotation.XmlAccessorType;
36 import javax.xml.bind.annotation.XmlElement;
37 import javax.xml.bind.annotation.XmlRootElement;
38 import javax.xml.bind.annotation.XmlType;
40 import com.fasterxml.jackson.annotation.JsonProperty;
43 @XmlAccessorType(XmlAccessType.FIELD)
44 @XmlType(name = "", propOrder = {
50 @XmlRootElement(name = "vnf-info")
51 public class VnfInfo {
53 @XmlElement(name = "vnf-id", required = true)
54 @JsonProperty("vnf-id")
55 protected String vnfId;
56 @XmlElement(name = "vnf-name", required = true)
57 @JsonProperty("vnf-name")
58 protected String vnfName;
59 @XmlElement(name = "vnf-type", required = true)
60 @JsonProperty("vnf-type")
61 protected String vnfType;
62 @XmlElement(name = "identity-url")
63 @JsonProperty("identity-url")
64 protected String identityUrl;
66 protected List<Vm> vm;
69 * Gets the value of the vnfId property.
76 public String getVnfId() {
81 * Sets the value of the vnfId property.
88 public void setVnfId(String value) {
93 * Gets the value of the vnfName property.
100 public String getVnfName() {
105 * Sets the value of the vnfName property.
112 public void setVnfName(String value) {
113 this.vnfName = value;
117 * Gets the value of the vnfType property.
124 public String getVnfType() {
129 * Sets the value of the vnfType property.
136 public void setVnfType(String value) {
137 this.vnfType = value;
141 * Gets the value of the vm property.
144 * This accessor method returns a reference to the live list,
145 * not a snapshot. Therefore any modification you make to the
146 * returned list will be present inside the JAXB object.
147 * This is why there is not a <CODE>set</CODE> method for the vm property.
150 * For example, to add a new item, do as follows:
152 * getVm().add(newItem);
157 * Objects of the following type(s) are allowed in the list
162 public List<Vm> getVm() {
164 vm = new ArrayList<Vm>();
170 public String toString() {
171 return "VnfInfo [vnfId=" + vnfId + ", vnfName=" + vnfName
172 + ", vnfType=" + vnfType + ", identityUrl=" + identityUrl + ", vm=" + vm + "]";
175 public String getIdentityUrl() {
179 public void setIdentityUrl(String identityUrl) {
180 this.identityUrl = identityUrl;