aboutsummaryrefslogtreecommitdiffstats
path: root/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest
diff options
context:
space:
mode:
authoravigaffa <avi.gaffa@amdocs.com>2019-06-05 13:18:13 +0300
committeravigaffa <avi.gaffa@amdocs.com>2019-06-05 13:18:13 +0300
commit0baeceff4c5694c9a3deaeea1f203e486ef9ed42 (patch)
tree6681e502fa5c3d597bc162d8eb5018e2e4d4e560 /openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest
parent4da3a61a9e072fd6a2ae30ba963958ad5209669d (diff)
Add lombok support to simple classes
Change-Id: I04ba3d45335933f9a8547267e99ec163543a3a8e Issue-ID: SDC-2354 Signed-off-by: avigaffa <avi.gaffa@amdocs.com>
Diffstat (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest')
-rw-r--r--openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionResponseDto.java138
1 files changed, 19 insertions, 119 deletions
diff --git a/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionResponseDto.java b/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionResponseDto.java
index ff2a934f83..cceb0f25d8 100644
--- a/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionResponseDto.java
+++ b/openecomp-be/api/openecomp-sdc-rest-webapp/action-library-rest/action-library-rest-types/src/main/java/org/openecomp/sdcrests/action/types/ActionResponseDto.java
@@ -7,9 +7,9 @@
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
- *
+ *
* http://www.apache.org/licenses/LICENSE-2.0
- *
+ *
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -23,127 +23,27 @@ package org.openecomp.sdcrests.action.types;
import java.util.HashMap;
import java.util.List;
+import lombok.Data;
+import lombok.NoArgsConstructor;
/**
* Defines DTO used for Action Response.
*/
+@Data
+@NoArgsConstructor
public class ActionResponseDto {
- String actionUuId;
- String actionInvariantUuId;
- String name;
- String displayName;
- String version;
- String description;
- String status;
- String timestamp;
- String updatedBy;
- List<String> vendorList;
- List<String> categoryList;
- List<HashMap<String, String>> supportedModels;
- List<HashMap<String, String>> supportedComponents;
-
- public String getActionUuId() {
- return actionUuId;
- }
-
- public void setActionUuId(String actionUuId) {
- this.actionUuId = actionUuId;
- }
-
- public String getActionInvariantUuId() {
- return actionInvariantUuId;
- }
-
- public void setActionInvariantUuId(String actionInvariantUuId) {
- this.actionInvariantUuId = actionInvariantUuId;
- }
-
- public String getVersion() {
- return version;
- }
-
- public void setVersion(String version) {
- this.version = version;
- }
-
- public String getStatus() {
- return status;
- }
-
- public void setStatus(String status) {
- this.status = status;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
- public String getDisplayName() {
- return displayName;
- }
-
- public void setDisplayName(String displayName) {
- this.displayName = displayName;
- }
-
- public String getDescription() {
- return description;
- }
-
- public void setDescription(String description) {
- this.description = description;
- }
-
- public List<String> getCategoryList() {
- return categoryList;
- }
-
- public void setCategoryList(List<String> categoryList) {
- this.categoryList = categoryList;
- }
-
- public List<String> getVendorList() {
- return vendorList;
- }
-
- public void setVendorList(List<String> vendorList) {
- this.vendorList = vendorList;
- }
-
- public List<HashMap<String, String>> getSupportedComponents() {
- return supportedComponents;
- }
-
- public void setSupportedComponents(List<HashMap<String, String>> supportedComponents) {
- this.supportedComponents = supportedComponents;
- }
-
- public List<HashMap<String, String>> getSupportedModels() {
- return supportedModels;
- }
-
- public void setSupportedModels(List<HashMap<String, String>> supportedModels) {
- this.supportedModels = supportedModels;
- }
-
- public String getTimestamp() {
- return timestamp;
- }
-
- public void setTimestamp(String timeStamp) {
- this.timestamp = timeStamp;
- }
-
- public String getUpdatedBy() {
- return updatedBy;
- }
-
- public void setUpdatedBy(String updatedBy) {
- this.updatedBy = updatedBy;
- }
+ String actionUuId;
+ String actionInvariantUuId;
+ String name;
+ String displayName;
+ String version;
+ String description;
+ String status;
+ String timestamp;
+ String updatedBy;
+ List<String> vendorList;
+ List<String> categoryList;
+ List<HashMap<String, String>> supportedModels;
+ List<HashMap<String, String>> supportedComponents;
}