Test many POJOs getters/setters
[vid.git] / vid-app-common / src / main / java / org / onap / vid / aai / model / AaiGetNetworkCollectionDetails / InstanceGroup.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * VID
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
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 package org.onap.vid.aai.model.AaiGetNetworkCollectionDetails;
22
23 import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
24 import com.fasterxml.jackson.annotation.JsonProperty;
25
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;
34     private String id;
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;
46
47     @JsonIgnoreProperties(ignoreUnknown = true)
48     public InstanceGroup(
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)
56                         String id,
57                         @JsonProperty(value = "description", required = true)
58                         String description,
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;
72         this.id = id;
73         this.description = description;
74         this.instanceGroupType = instanceGroupType;
75         this.resourceVersion = resourceVersion;
76         this.instanceGroupName = instanceGroupName;
77         this.instanceGroupFunction = instanceGroupFunction;
78         this.relationshipList = relationshipList;
79     }
80
81     public String getInstanceGroupRole() {
82         return instanceGroupRole;
83     }
84
85     public String getModelInvariantId() {
86         return modelInvariantId;
87     }
88
89     public String getModelVersionId() {
90         return modelVersionId;
91     }
92
93     public String getId() {
94         return id;
95     }
96
97     public String getDescription() {
98         return description;
99     }
100
101     public String getInstanceGroupType() {
102         return instanceGroupType;
103     }
104
105     public String getResourceVersion() {
106         return resourceVersion;
107     }
108
109     public String getInstanceGroupName() {
110         return instanceGroupName;
111     }
112
113     public String getInstanceGroupFunction() {
114         return instanceGroupFunction;
115     }
116
117     public RelationshipList getRelationshipList() {
118         return relationshipList;
119     }
120
121 }