blob: 3bc674269a86aca4f387d7a728eef07c35612318 [file] [log] [blame]
Aharoni, Pavel (pa0916)ca3cb012018-10-22 15:29:57 +03001/*-
2 * ============LICENSE_START=======================================================
3 * OSAM
4 * ================================================================================
5 * Copyright (C) 2018 AT&T
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
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
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=========================================================
19 */
20
21
22
23package org.onap.osam.aai.model.AaiGetNetworkCollectionDetails;
24
25import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
26import com.fasterxml.jackson.annotation.JsonProperty;
27
28@JsonIgnoreProperties(ignoreUnknown = true)
29public class InstanceGroup {
30 @JsonProperty("instance-group-role")
31 private String instanceGroupRole;
32 @JsonProperty("model-invariant-id")
33 private String modelInvariantId;
34 @JsonProperty("model-version-id")
35 private String modelVersionId;
36 private String id;
37 private String description;
38 @JsonProperty("instance-group-type")
39 private String instanceGroupType;
40 @JsonProperty("resource-version")
41 private String resourceVersion;
42 @JsonProperty("instance-group-name")
43 private String instanceGroupName;
44 @JsonProperty("instance-group-function")
45 private String instanceGroupFunction;
46 @JsonProperty("relationship-list")
47 private RelationshipList relationshipList;
48
49 public InstanceGroup(){
50 super();
51 }
52
53 @JsonIgnoreProperties(ignoreUnknown = true)
54 public InstanceGroup(
55 @JsonProperty("instance-group-role")
56 String instanceGroupRole,
57 @JsonProperty("model-invariant-id")
58 String modelInvariantId,
59 @JsonProperty("model-version-id")
60 String modelVersionId,
61 @JsonProperty(value = "id", required = true)
62 String id,
63 @JsonProperty(value = "description", required = true)
64 String description,
65 @JsonProperty(value = "instance-group-type", required = true)
66 String instanceGroupType,
67 @JsonProperty("resource-version")
68 String resourceVersion,
69 @JsonProperty("instance-group-name")
70 String instanceGroupName,
71 @JsonProperty("instance-group-function")
72 String instanceGroupFunction,
73 @JsonProperty("relationship-list")
74 RelationshipList relationshipList) {
75 this.instanceGroupRole = instanceGroupRole;
76 this.modelInvariantId = modelInvariantId;
77 this.modelVersionId = modelVersionId;
78 this.id = id;
79 this.description = description;
80 this.instanceGroupType = instanceGroupType;
81 this.resourceVersion = resourceVersion;
82 this.instanceGroupName = instanceGroupName;
83 this.instanceGroupFunction = instanceGroupFunction;
84 this.relationshipList = relationshipList;
85 }
86
87 public String getInstanceGroupRole() {
88 return instanceGroupRole;
89 }
90
91 public String getModelInvariantId() {
92 return modelInvariantId;
93 }
94
95 public String getModelVersionId() {
96 return modelVersionId;
97 }
98
99 public String getId() {
100 return id;
101 }
102
103 public String getDescription() {
104 return description;
105 }
106
107 public String getInstanceGroupType() {
108 return instanceGroupType;
109 }
110
111 public String getResourceVersion() {
112 return resourceVersion;
113 }
114
115 public String getInstanceGroupName() {
116 return instanceGroupName;
117 }
118
119 public String getInstanceGroupFunction() {
120 return instanceGroupFunction;
121 }
122
123 public RelationshipList getRelationshipList() {
124 return relationshipList;
125 }
126
127}