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

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

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

public class RerunWorkflowOptions {
    private final String owner;
    private final String repo;
    private final long runId;
    private final Boolean enableDebugLogging;

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

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

    public String getOwner() {
        return owner;
    }

    public String getRepo() {
        return repo;
    }

    public long getRunId() {
        return runId;
    }

    public Boolean getEnableDebugLogging() {
        return enableDebugLogging;
    }

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




© 2015 - 2025 Weber Informatics LLC | Privacy Policy