All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tencent.devops.leaf.common.Result Maven / Gradle / Ivy

There is a newer version: 1.0.2-RELEASE
Show newest version
package com.tencent.devops.leaf.common;

public class Result {
    private long id;
    private Status status;

    public Result() {

    }
    public Result(long id, Status status) {
        this.id = id;
        this.status = status;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public Status getStatus() {
        return status;
    }

    public void setStatus(Status status) {
        this.status = status;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("Result{");
        sb.append("id=").append(id);
        sb.append(", status=").append(status);
        sb.append('}');
        return sb.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy