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

package com.azure.analytics.purview.sharing.models;

import java.util.List;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/**
 * A page of ShareResource results.
 */
@Fluent
public final class ShareResourceList {
    /*
     * The Url of next result page.
     */
    @JsonProperty(value = "nextLink")
    private String nextLink;

    /*
     * Collection of items of type ShareResource
     */
    @JsonProperty(value = "value", required = true)
    private List<ShareResource> value;

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

    /**
     * Get the nextLink property: The Url of next result page.
     * 
     * @return the nextLink value.
     */
    public String getNextLink() {
        return this.nextLink;
    }

    /**
     * Set the nextLink property: The Url of next result page.
     * 
     * @param nextLink the nextLink value to set.
     * @return the ShareResourceList object itself.
     */
    public ShareResourceList setNextLink(String nextLink) {
        this.nextLink = nextLink;
        return this;
    }

    /**
     * Get the value property: Collection of items of type ShareResource.
     * 
     * @return the value value.
     */
    public List<ShareResource> getValue() {
        return this.value;
    }

    /**
     * Set the value property: Collection of items of type ShareResource.
     * 
     * @param value the value value to set.
     * @return the ShareResourceList object itself.
     */
    public ShareResourceList setValue(List<ShareResource> value) {
        this.value = value;
        return this;
    }
}
