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

package com.azure.media.videoanalyzer.edge.models;

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

/** A list of remote device adapters. */
@Fluent
public final class RemoteDeviceAdapterCollection {
    /*
     * An array of remote device adapters.
     */
    @JsonProperty(value = "value")
    private List<RemoteDeviceAdapter> value;

    /*
     * A continuation token to use in subsequent calls to enumerate through the
     * remote device adapter collection. This is used when the collection
     * contains too many results to return in one response.
     */
    @JsonProperty(value = "@continuationToken")
    private String continuationToken;

    /**
     * Get the value property: An array of remote device adapters.
     *
     * @return the value value.
     */
    public List<RemoteDeviceAdapter> getValue() {
        return this.value;
    }

    /**
     * Set the value property: An array of remote device adapters.
     *
     * @param value the value value to set.
     * @return the RemoteDeviceAdapterCollection object itself.
     */
    public RemoteDeviceAdapterCollection setValue(List<RemoteDeviceAdapter> value) {
        this.value = value;
        return this;
    }

    /**
     * Get the continuationToken property: A continuation token to use in subsequent calls to enumerate through the
     * remote device adapter collection. This is used when the collection contains too many results to return in one
     * response.
     *
     * @return the continuationToken value.
     */
    public String getContinuationToken() {
        return this.continuationToken;
    }

    /**
     * Set the continuationToken property: A continuation token to use in subsequent calls to enumerate through the
     * remote device adapter collection. This is used when the collection contains too many results to return in one
     * response.
     *
     * @param continuationToken the continuationToken value to set.
     * @return the RemoteDeviceAdapterCollection object itself.
     */
    public RemoteDeviceAdapterCollection setContinuationToken(String continuationToken) {
        this.continuationToken = continuationToken;
        return this;
    }
}
