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

org.sourcelab.github.client.request.CancelWorkflowOptions Maven / Gradle / Ivy

The newest version!
package org.sourcelab.github.client.request;

public class CancelWorkflowOptions {
    private final String owner;
    private final String repo;
    private final long runId;

    /**
     * Create builder instance.
     * @return Create builder instance.
     */
    public static CancelWorkflowOptionsBuilder newBuilder() {
        return new CancelWorkflowOptionsBuilder();
    }

    /**
     * Constructor.
     */
    public CancelWorkflowOptions(final String owner, final String repo, final long runId) {
        this.owner = owner;
        this.repo = repo;
        this.runId = runId;
    }

    public String getOwner() {
        return owner;
    }

    public String getRepo() {
        return repo;
    }

    public long getRunId() {
        return runId;
    }

    @Override
    public String toString() {
        return "CancelWorkflowOptions{"
            + "\n\towner='" + owner + '\''
            + "\n\trepo='" + repo + '\''
            + "\n\trunId=" + runId
            + "\n}";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy