From 0baeceff4c5694c9a3deaeea1f203e486ef9ed42 Mon Sep 17 00:00:00 2001 From: avigaffa Date: Wed, 5 Jun 2019 13:18:13 +0300 Subject: Add lombok support to simple classes Change-Id: I04ba3d45335933f9a8547267e99ec163543a3a8e Issue-ID: SDC-2354 Signed-off-by: avigaffa --- .../sdcrests/action/types/ActionResponseDto.java | 138 +++------------------ 1 file changed, 19 insertions(+), 119 deletions(-) (limited to 'openecomp-be/api/openecomp-sdc-rest-webapp') 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 vendorList; - List categoryList; - List> supportedModels; - List> 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 getCategoryList() { - return categoryList; - } - - public void setCategoryList(List categoryList) { - this.categoryList = categoryList; - } - - public List getVendorList() { - return vendorList; - } - - public void setVendorList(List vendorList) { - this.vendorList = vendorList; - } - - public List> getSupportedComponents() { - return supportedComponents; - } - - public void setSupportedComponents(List> supportedComponents) { - this.supportedComponents = supportedComponents; - } - - public List> getSupportedModels() { - return supportedModels; - } - - public void setSupportedModels(List> 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 vendorList; + List categoryList; + List> supportedModels; + List> supportedComponents; } -- cgit 1.2.3-korg