2 * ============LICENSE_START=======================================================
4 * ================================================================================
5 * Copyright (C) 2017 - 2019 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=========================================================
21 package org.onap.vid.aai.model.AaiGetNetworkCollectionDetails;
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
26 @JsonIgnoreProperties(ignoreUnknown = true)
27 public class InstanceGroup {
28 @JsonProperty("instance-group-role")
29 private String instanceGroupRole;
30 @JsonProperty("model-invariant-id")
31 private String modelInvariantId;
32 @JsonProperty("model-version-id")
33 private String modelVersionId;
35 private String description;
36 @JsonProperty("instance-group-type")
37 private String instanceGroupType;
38 @JsonProperty("resource-version")
39 private String resourceVersion;
40 @JsonProperty("instance-group-name")
41 private String instanceGroupName;
42 @JsonProperty("instance-group-function")
43 private String instanceGroupFunction;
44 @JsonProperty("relationship-list")
45 private RelationshipList relationshipList;
47 @JsonIgnoreProperties(ignoreUnknown = true)
49 @JsonProperty("instance-group-role")
50 String instanceGroupRole,
51 @JsonProperty("model-invariant-id")
52 String modelInvariantId,
53 @JsonProperty("model-version-id")
54 String modelVersionId,
55 @JsonProperty(value = "id", required = true)
57 @JsonProperty(value = "description", required = true)
59 @JsonProperty(value = "instance-group-type", required = true)
60 String instanceGroupType,
61 @JsonProperty("resource-version")
62 String resourceVersion,
63 @JsonProperty("instance-group-name")
64 String instanceGroupName,
65 @JsonProperty("instance-group-function")
66 String instanceGroupFunction,
67 @JsonProperty("relationship-list")
68 RelationshipList relationshipList) {
69 this.instanceGroupRole = instanceGroupRole;
70 this.modelInvariantId = modelInvariantId;
71 this.modelVersionId = modelVersionId;
73 this.description = description;
74 this.instanceGroupType = instanceGroupType;
75 this.resourceVersion = resourceVersion;
76 this.instanceGroupName = instanceGroupName;
77 this.instanceGroupFunction = instanceGroupFunction;
78 this.relationshipList = relationshipList;
81 public String getInstanceGroupRole() {
82 return instanceGroupRole;
85 public String getModelInvariantId() {
86 return modelInvariantId;
89 public String getModelVersionId() {
90 return modelVersionId;
93 public String getId() {
97 public String getDescription() {
101 public String getInstanceGroupType() {
102 return instanceGroupType;
105 public String getResourceVersion() {
106 return resourceVersion;
109 public String getInstanceGroupName() {
110 return instanceGroupName;
113 public String getInstanceGroupFunction() {
114 return instanceGroupFunction;
117 public RelationshipList getRelationshipList() {
118 return relationshipList;