package com.friday.tooldriver.dto.infodator.response;

import com.alibaba.fastjson.annotation.JSONField;
import com.friday.tooldriver.dto.uipath.request.ArgumentMetadata;
import com.friday.tooldriver.dto.uipath.request.EnvironmentDto;
import com.friday.tooldriver.dto.uipath.request.ReleaseVersionDto;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class ReleaseResponseDto implements Serializable {
    private String key;
    private String processKey;
    private String processVersion;
    @JSONField(name = "isLatestVersion")
    private boolean latestVersion;
    @JSONField(name = "isProcessDeleted")
    private boolean processDeleted;
    private String description;
    private String name;
    private int environmentId;
    private String environmentName;
    private EnvironmentDto environment;
    private String inputArguments;
    private ReleaseVersionDto currentVersion;
    private List<ReleaseVersionDto> releaseVersions;
    private ArgumentMetadata arguments;
    private int id;
}