Replaced all tabs with spaces in java and pom.xml
[so.git] / mso-api-handlers / mso-api-handler-infra / src / main / java / org / onap / so / 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.onap.so.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({"operationalEnvironmentId", "operationalEnvironmentName", "operationalEnvironmentType",
30         "tenantContext", "workloadContext"})
31
32 public class CreateEcompOperationEnvironmentBean {
33
34     @JsonProperty("operationalEnvironmentId")
35     private String operationalEnvironmentId;
36     @JsonProperty("operationalEnvironmentName")
37     private String operationalEnvironmentName;
38     @JsonProperty("operationalEnvironmentType")
39     private String operationalEnvironmentType;
40     @JsonProperty("tenantContext")
41     private String tenantContext;
42     @JsonProperty("workloadContext")
43     private String workloadContext;
44     @JsonProperty("action")
45     private String action;
46
47     public CreateEcompOperationEnvironmentBean() {}
48
49     /**
50      * 
51      * @param operationalEnvironmentId
52      * @param operationalEnvironmentName
53      * @param operationalEnvironmentType
54      * @param tenantContext
55      * @param workloadContext
56      */
57     public CreateEcompOperationEnvironmentBean(String operationalEnvironmentId, String operationalEnvironmentName,
58             String operationalEnvironmentType, String tenantContext, String workloadContext, String action) {
59         this.operationalEnvironmentId = operationalEnvironmentId;
60         this.operationalEnvironmentName = operationalEnvironmentName;
61         this.operationalEnvironmentType = operationalEnvironmentType;
62         this.tenantContext = tenantContext;
63         this.workloadContext = workloadContext;
64         this.action = action;
65     }
66
67     @JsonProperty("operationalEnvironmentId")
68     public String getOperationalEnvironmentId() {
69         return operationalEnvironmentId;
70     }
71
72     @JsonProperty("operationalEnvironmentId")
73     public void setOperationalEnvironmentId(String operationalEnvironmentId) {
74         this.operationalEnvironmentId = operationalEnvironmentId;
75     }
76
77     public CreateEcompOperationEnvironmentBean withOperationalEnvironmentId(String operationalEnvironmentId) {
78         this.operationalEnvironmentId = operationalEnvironmentId;
79         return this;
80     }
81
82
83     @JsonProperty("operationalEnvironmentName")
84     public String getoperationalEnvironmentName() {
85         return operationalEnvironmentName;
86     }
87
88     @JsonProperty("operationalEnvironmentName")
89     public void setoperationalEnvironmentName(String operationalEnvironmentName) {
90         this.operationalEnvironmentName = operationalEnvironmentName;
91     }
92
93     public CreateEcompOperationEnvironmentBean withOperationalEnvironmentName(String operationalEnvironmentName) {
94         this.operationalEnvironmentName = operationalEnvironmentName;
95         return this;
96     }
97
98     @JsonProperty("operationalEnvironmentType")
99     public String getoperationalEnvironmentType() {
100         return operationalEnvironmentType;
101     }
102
103     @JsonProperty("operationalEnvironmentType")
104     public void setoperationalEnvironmentType(String operationalEnvironmentType) {
105         this.operationalEnvironmentType = operationalEnvironmentType;
106     }
107
108     public CreateEcompOperationEnvironmentBean withOperationalEnvironmentType(String operationalEnvironmentType) {
109         this.operationalEnvironmentType = operationalEnvironmentType;
110         return this;
111     }
112
113     @JsonProperty("tenantContext")
114     public String gettenantContext() {
115         return tenantContext;
116     }
117
118     @JsonProperty("tenantContext")
119     public void settenantContext(String tenantContext) {
120         this.tenantContext = tenantContext;
121     }
122
123     public CreateEcompOperationEnvironmentBean withTenantContext(String tenantContext) {
124         this.tenantContext = tenantContext;
125         return this;
126     }
127
128     @JsonProperty("workloadContext")
129     public String getworkloadContext() {
130         return workloadContext;
131     }
132
133     @JsonProperty("workloadContext")
134     public void setworkloadContext(String workloadContext) {
135         this.workloadContext = workloadContext;
136     }
137
138     public CreateEcompOperationEnvironmentBean withWorkloadContext(String workloadContext) {
139         this.workloadContext = workloadContext;
140         return this;
141     }
142
143     @JsonProperty("action")
144     public String getaction() {
145         return action;
146     }
147
148     @JsonProperty("action")
149     public void setaction(String action) {
150         this.action = action;
151     }
152
153     public CreateEcompOperationEnvironmentBean withaction(String action) {
154         this.action = action;
155         return this;
156     }
157 }