// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.analytics.synapse.artifacts.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;

/** A list of rerun triggers. */
@Fluent
public final class RerunTriggerListResponse {
    /*
     * List of rerun triggers.
     */
    @JsonProperty(value = "value", required = true)
    private List<RerunTriggerResource> value;

    /*
     * The continuation token for getting the next page of results, if any remaining results exist, null otherwise.
     */
    @JsonProperty(value = "nextLink", access = JsonProperty.Access.WRITE_ONLY)
    private String nextLink;

    /** Creates an instance of RerunTriggerListResponse class. */
    public RerunTriggerListResponse() {}

    /**
     * Get the value property: List of rerun triggers.
     *
     * @return the value value.
     */
    public List<RerunTriggerResource> getValue() {
        return this.value;
    }

    /**
     * Set the value property: List of rerun triggers.
     *
     * @param value the value value to set.
     * @return the RerunTriggerListResponse object itself.
     */
    public RerunTriggerListResponse setValue(List<RerunTriggerResource> value) {
        this.value = value;
        return this;
    }

    /**
     * Get the nextLink property: The continuation token for getting the next page of results, if any remaining results
     * exist, null otherwise.
     *
     * @return the nextLink value.
     */
    public String getNextLink() {
        return this.nextLink;
    }
}
