package tech.easyflow.agent.distributed;

import java.math.BigInteger;
import java.util.Date;

/**
 * Agent 运行态远程恢复命令消息。
 */
public class AgentRuntimeCommandMessage {

    private String commandId;
    private String requestId;
    private String resumeToken;
    private AgentRuntimeCommandAction action;
    private String reason;
    private BigInteger operatorId;
    private String userId;
    private String targetNodeId;
    private Date occurredAt;

    public String getCommandId() {
        return commandId;
    }

    public void setCommandId(String commandId) {
        this.commandId = commandId;
    }

    public String getRequestId() {
        return requestId;
    }

    public void setRequestId(String requestId) {
        this.requestId = requestId;
    }

    public String getResumeToken() {
        return resumeToken;
    }

    public void setResumeToken(String resumeToken) {
        this.resumeToken = resumeToken;
    }

    public AgentRuntimeCommandAction getAction() {
        return action;
    }

    public void setAction(AgentRuntimeCommandAction action) {
        this.action = action;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public BigInteger getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(BigInteger operatorId) {
        this.operatorId = operatorId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getTargetNodeId() {
        return targetNodeId;
    }

    public void setTargetNodeId(String targetNodeId) {
        this.targetNodeId = targetNodeId;
    }

    public Date getOccurredAt() {
        return occurredAt;
    }

    public void setOccurredAt(Date occurredAt) {
        this.occurredAt = occurredAt;
    }
}
