blob: a96df3196667f5bdc7a21dfb8f4e14eaffc68275 [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;
24
25import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
26import com.fasterxml.jackson.annotation.JsonProperty;
27import org.onap.osam.aai.model.RelationshipList;
28
29@JsonIgnoreProperties(ignoreUnknown = true)
30public class OperationalEnvironment {
31
32 private String operationalEnvironmentId;
33 private String operationalEnvironmentName;
34 private String operationalEnvironmentType;
35 private String operationalEnvironmentStatus;
36 private String tenantContext;
37 private String workloadContext;
38 private String resourceVersion;
39 private RelationshipList relationshipList;
40
41 public OperationalEnvironment() {
42 }
43
44 public OperationalEnvironment(String operationalEnvironmentId, String operationalEnvironmentName, String operationalEnvironmentType, String operationalEnvironmentStatus, String tenantContext, String workloadContext, String resourceVersion, RelationshipList relationshipList) {
45 this.operationalEnvironmentId = operationalEnvironmentId;
46 this.operationalEnvironmentName = operationalEnvironmentName;
47 this.operationalEnvironmentType = operationalEnvironmentType;
48 this.operationalEnvironmentStatus = operationalEnvironmentStatus;
49 this.tenantContext = tenantContext;
50 this.workloadContext = workloadContext;
51 this.resourceVersion = resourceVersion;
52 this.relationshipList = relationshipList;
53 }
54
55 @JsonProperty("operational-environment-id")
56 public String getOperationalEnvironmentId() {
57 return operationalEnvironmentId;
58 }
59
60 public void setOperationalEnvironmentId(String operationalEnvironmentId) {
61 this.operationalEnvironmentId = operationalEnvironmentId;
62 }
63
64 @JsonProperty("operational-environment-name")
65 public String getOperationalEnvironmentName() {
66 return operationalEnvironmentName;
67 }
68
69 public void setOperationalEnvironmentName(String operationalEnvironmentName) {
70 this.operationalEnvironmentName = operationalEnvironmentName;
71 }
72
73 @JsonProperty("operational-environment-type")
74 public String getOperationalEnvironmentType() {
75 return operationalEnvironmentType;
76 }
77
78 public void setOperationalEnvironmentType(String operationalEnvironmentType) {
79 this.operationalEnvironmentType = operationalEnvironmentType;
80 }
81
82 @JsonProperty("operational-environment-status")
83 public String getOperationalEnvironmentStatus() {
84 return operationalEnvironmentStatus;
85 }
86
87 public void setOperationalEnvironmentStatus(String operationalEnvironmentStatus) {
88 this.operationalEnvironmentStatus = operationalEnvironmentStatus;
89 }
90
91 @JsonProperty("tenant-context")
92 public String getTenantContext() {
93 return tenantContext;
94 }
95
96 public void setTenantContext(String tenantContext) {
97 this.tenantContext = tenantContext;
98 }
99
100 @JsonProperty("workload-context")
101 public String getWorkloadContext() {
102 return workloadContext;
103 }
104
105 public void setWorkloadContext(String workloadContext) {
106 this.workloadContext = workloadContext;
107 }
108
109 @JsonProperty("resource-version")
110 public String getResourceVersion() {
111 return resourceVersion;
112 }
113
114 public void setResourceVersion(String resourceVersion) {
115 this.resourceVersion = resourceVersion;
116 }
117
118 @JsonProperty("relationship-list")
119 public RelationshipList getRelationshipList() {
120 return relationshipList;
121 }
122
123 public void setRelationshipList(RelationshipList relationshipList) {
124 this.relationshipList = relationshipList;
125 }
126}