// 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 trigger runs. */
@Fluent
public final class TriggerRunsQueryResponse {
    /*
     * List of trigger runs.
     */
    @JsonProperty(value = "value", required = true)
    private List<TriggerRun> value;

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

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

    /**
     * Get the value property: List of trigger runs.
     *
     * @return the value value.
     */
    public List<TriggerRun> getValue() {
        return this.value;
    }

    /**
     * Set the value property: List of trigger runs.
     *
     * @param value the value value to set.
     * @return the TriggerRunsQueryResponse object itself.
     */
    public TriggerRunsQueryResponse setValue(List<TriggerRun> value) {
        this.value = value;
        return this;
    }

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

    /**
     * Set the continuationToken property: The continuation token for getting the next page of results, if any remaining
     * results exist, null otherwise.
     *
     * @param continuationToken the continuationToken value to set.
     * @return the TriggerRunsQueryResponse object itself.
     */
    public TriggerRunsQueryResponse setContinuationToken(String continuationToken) {
        this.continuationToken = continuationToken;
        return this;
    }
}
