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

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

import java.io.Serializable;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SessionResponseDto implements Serializable {
    @JSONField(name = "HostMachineName")
    private String hostMachineName;
    @JSONField(name = "MachineId")
    private int machineId;
    @JSONField(name = "MachineName")
    private String machineName;
    @JSONField(name = "State")
    private String state;
    @JSONField(name = "ReportingTime")
    private String reportingTime;
    @JSONField(name = "Info")
    private String info;
    @JSONField(name = "IsUnresponsive")
    private boolean unresponsive;
    @JSONField(name = "LicenseErrorCode")
    private String licenseErrorCode;
    @JSONField(name = "OrganizationUnitId")
    private int organizationUnitId;
    @JSONField(name = "FolderName")
    private String folderName;
    @JSONField(name = "Id")
    private int id;
    @JSONField(name = "Robot")
    private RobotDto robot;
    @JSONField(name = "User")
    private UserResponseDto user;
}



