AT&T 1712 and 1802 release code
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / openecomp / mso / apihandlerinfra / tenantisolation / dmaap / CreateEcompOperationEnvironmentBean.java
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP - SO
4  * ================================================================================
5  * Copyright (C) 2017 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.openecomp.mso.apihandlerinfra.tenantisolation.dmaap;
22
23
24 import com.fasterxml.jackson.annotation.JsonInclude;
25 import com.fasterxml.jackson.annotation.JsonProperty;
26 import com.fasterxml.jackson.annotation.JsonPropertyOrder;
27
28 @JsonInclude(JsonInclude.Include.NON_NULL)
29 @JsonPropertyOrder({
30 "operationalEnvironmentId",
31 "operationalEnvironmentName",
32 "operationalEnvironmentType",
33 "tenantContext",
34 "workloadContext"
35 })
36
37 public class CreateEcompOperationEnvironmentBean {
38
39 @JsonProperty("operationalEnvironmentId")
40 private String operationalEnvironmentId;
41 @JsonProperty("operationalEnvironmentName")
42 private String operationalEnvironmentName;
43 @JsonProperty("operationalEnvironmentType")
44 private String operationalEnvironmentType;
45 @JsonProperty("tenantContext")
46 private String tenantContext;
47 @JsonProperty("workloadContext")
48 private String workloadContext;
49 @JsonProperty("action")
50 private String action;
51
52
53 /**
54 * No args constructor for use in serialization
55
56 */
57 public CreateEcompOperationEnvironmentBean() {
58  }
59
60 /**
61
62 * @param operationalEnvironmentId
63 * @param operationalEnvironmentName
64 * @param operationalEnvironmentType
65 * @param tenantContext
66 * @param workloadContext
67 */
68 public CreateEcompOperationEnvironmentBean(String operationalEnvironmentId, String operationalEnvironmentName, String operationalEnvironmentType, String tenantContext, String workloadContext, String action) {
69 super();
70 this.operationalEnvironmentId = operationalEnvironmentId;
71 this.operationalEnvironmentName = operationalEnvironmentName;
72 this.operationalEnvironmentType = operationalEnvironmentType;
73 this.tenantContext = tenantContext;
74 this.workloadContext = workloadContext;
75 this.action = action;
76  }
77
78 @JsonProperty("operationalEnvironmentId")
79 public String getOperationalEnvironmentId() {
80 return operationalEnvironmentId;
81  }
82
83 @JsonProperty("operationalEnvironmentId")
84 public void setOperationalEnvironmentId(String operationalEnvironmentId) {
85 this.operationalEnvironmentId = operationalEnvironmentId;
86  }
87
88 public CreateEcompOperationEnvironmentBean withOperationalEnvironmentId(String operationalEnvironmentId) {
89 this.operationalEnvironmentId = operationalEnvironmentId;
90 return this;
91  }
92
93
94 @JsonProperty("operationalEnvironmentName")
95 public String getoperationalEnvironmentName() {
96 return operationalEnvironmentName;
97  }
98
99 @JsonProperty("operationalEnvironmentName")
100 public void setoperationalEnvironmentName(String operationalEnvironmentName) {
101 this.operationalEnvironmentName = operationalEnvironmentName;
102  }
103
104 public CreateEcompOperationEnvironmentBean withOperationalEnvironmentName(String operationalEnvironmentName) {
105 this.operationalEnvironmentName = operationalEnvironmentName;
106 return this;
107  }
108
109 @JsonProperty("operationalEnvironmentType")
110 public String getoperationalEnvironmentType() {
111 return operationalEnvironmentType;
112  }
113
114 @JsonProperty("operationalEnvironmentType")
115 public void setoperationalEnvironmentType(String operationalEnvironmentType) {
116 this.operationalEnvironmentType = operationalEnvironmentType;
117  }
118
119 public CreateEcompOperationEnvironmentBean withOperationalEnvironmentType(String operationalEnvironmentType) {
120 this.operationalEnvironmentType = operationalEnvironmentType;
121 return this;
122  }
123
124 @JsonProperty("tenantContext")
125 public String gettenantContext() {
126 return tenantContext;
127  }
128
129 @JsonProperty("tenantContext")
130 public void settenantContext(String tenantContext) {
131 this.tenantContext = tenantContext;
132  }
133
134 public CreateEcompOperationEnvironmentBean withTenantContext(String tenantContext) {
135 this.tenantContext = tenantContext;
136 return this;
137  }
138
139 @JsonProperty("workloadContext")
140 public String getworkloadContext() {
141 return workloadContext;
142  }
143
144 @JsonProperty("workloadContext")
145 public void setworkloadContext(String workloadContext) {
146 this.workloadContext = workloadContext;
147  }
148
149 public CreateEcompOperationEnvironmentBean withWorkloadContext(String workloadContext) {
150 this.workloadContext = workloadContext;
151 return this;
152  }
153
154
155 @JsonProperty("action")
156 public String getaction() {
157 return action;
158  }
159
160 @JsonProperty("action")
161 public void setaction(String action) {
162 this.action = action;
163  }
164
165 public CreateEcompOperationEnvironmentBean withaction(String action) {
166 this.action = action;
167 return this;
168  }
169
170
171
172 }