diff options
Diffstat (limited to 'workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/types/dto/ArtifactDeliveriesRequestDto.java')
-rw-r--r-- | workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/types/dto/ArtifactDeliveriesRequestDto.java | 30 |
1 files changed, 13 insertions, 17 deletions
diff --git a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/types/dto/ArtifactDeliveriesRequestDto.java b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/types/dto/ArtifactDeliveriesRequestDto.java index 2ec272fc..5ec54ffb 100644 --- a/workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/types/dto/ArtifactDeliveriesRequestDto.java +++ b/workflow-designer-be/src/main/java/org/onap/sdc/workflow/api/types/dto/ArtifactDeliveriesRequestDto.java @@ -16,30 +16,26 @@ package org.onap.sdc.workflow.api.types.dto; +import lombok.AllArgsConstructor; import lombok.Data; +import lombok.NoArgsConstructor; /** - * This class is a simple data object for the Artifact-Deliveries API - * It will be used to build a HTTP request to be sent to SDC external API - * - * method - * the HTTP method (PUT, POST etc) that will be executed. - * - * endpoint - * the server to which the request will be sent. - * correct format is <IP>:<PORT> + * This class is a simple data object for the Artifact-Deliveries API. + * It will be used to build a HTTP request to be sent to SDC external API. */ @Data +@AllArgsConstructor +@NoArgsConstructor public class ArtifactDeliveriesRequestDto { + /** + * The HTTP method (PUT, POST etc) that will be executed. + */ private String method; - private String endpoint; - public ArtifactDeliveriesRequestDto(){ - } - - public ArtifactDeliveriesRequestDto(String method, String endpoint) { - this.method = method; - this.endpoint = endpoint; - } + /** + * The server to which the request will be sent. Correct format is <IP>:<PORT>. + */ + private String endpoint; } |