2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 ONAP Intellectual Property. All rights
7 * ================================================================================
8 * Licensed under the Apache License, Version 2.0 (the "License");
9 * you may not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
12 * http://www.apache.org/licenses/LICENSE-2.0
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS,
16 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 * ============LICENSE_END=========================================================
22 package org.onap.ccsdk.sli.adaptors.aai.data.v1507;
24 import java.util.ArrayList;
25 import java.util.HashMap;
26 import java.util.List;
28 import javax.annotation.Generated;
29 import com.fasterxml.jackson.annotation.JsonAnyGetter;
30 import com.fasterxml.jackson.annotation.JsonAnySetter;
31 import com.fasterxml.jackson.annotation.JsonIgnore;
32 import com.fasterxml.jackson.annotation.JsonInclude;
33 import com.fasterxml.jackson.annotation.JsonProperty;
34 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
36 @JsonInclude(JsonInclude.Include.NON_NULL)
37 @Generated("org.jsonschema2pojo")
49 public class VServer {
53 @JsonProperty("vmName")
54 private String vmName;
55 @JsonProperty("vmName2")
56 private String vmName2;
59 @JsonProperty("image")
61 @JsonProperty("flavor")
62 private Flavor flavor;
63 @JsonProperty("ipAddresses")
64 private List<IpAddress> ipAddresses = new ArrayList<IpAddress>();
65 @JsonProperty("vserverLink")
66 private String vserverLink;
67 @JsonProperty("relationshipList")
68 private RelationshipList relationshipList;
70 private Map<String, Object> additionalProperties = new HashMap<String, Object>();
78 public String getVmId() {
88 public void setVmId(String vmId) {
97 @JsonProperty("vmName")
98 public String getVmName() {
107 @JsonProperty("vmName")
108 public void setVmName(String vmName) {
109 this.vmName = vmName;
117 @JsonProperty("vmName2")
118 public String getVmName2() {
127 @JsonProperty("vmName2")
128 public void setVmName2(String vmName2) {
129 this.vmName2 = vmName2;
137 @JsonProperty("host")
138 public Host getHost() {
147 @JsonProperty("host")
148 public void setHost(Host host) {
157 @JsonProperty("image")
158 public Image getImage() {
167 @JsonProperty("image")
168 public void setImage(Image image) {
177 @JsonProperty("flavor")
178 public Flavor getFlavor() {
187 @JsonProperty("flavor")
188 public void setFlavor(Flavor flavor) {
189 this.flavor = flavor;
197 @JsonProperty("ipAddresses")
198 public List<IpAddress> getIpAddresses() {
207 @JsonProperty("ipAddresses")
208 public void setIpAddresses(List<IpAddress> ipAddresses) {
209 this.ipAddresses = ipAddresses;
217 @JsonProperty("vserverLink")
218 public String getVserverLink() {
227 @JsonProperty("vserverLink")
228 public void setVserverLink(String vserverLink) {
229 this.vserverLink = vserverLink;
235 * The relationshipList
237 @JsonProperty("relationshipList")
238 public RelationshipList getRelationshipList() {
239 return relationshipList;
244 * @param relationshipList
245 * The relationshipList
247 @JsonProperty("relationshipList")
248 public void setRelationshipList(RelationshipList relationshipList) {
249 this.relationshipList = relationshipList;
253 public Map<String, Object> getAdditionalProperties() {
254 return this.additionalProperties;
258 public void setAdditionalProperty(String name, Object value) {
259 this.additionalProperties.put(name, value);