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

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

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

public class RerunJobFromWorkflowOptions {
    private final String owner;
    private final String repo;
    private final long jobId;
    private final Boolean enableDebugLogging;

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

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

    public String getOwner() {
        return owner;
    }

    public String getRepo() {
        return repo;
    }

    public long getJobId() {
        return jobId;
    }

    public Boolean getEnableDebugLogging() {
        return enableDebugLogging;
    }

    @Override
    public String toString() {
        return "RerunJobFromWorkflowOptions{"
            + "\n\towner='" + owner + '\''
            + "\n\trepo='" + repo + '\''
            + "\n\tjobId=" + jobId
            + "\n\tenableDebugLogging=" + enableDebugLogging
            + "\n}";
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy