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

com.smartsheet.api.models.Scope Maven / Gradle / Ivy

The newest version!
/*
 * Copyright (C) 2024 Smartsheet
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package com.smartsheet.api.models;

import java.util.List;

public class Scope {
    /**
     * Array of Sheet objects (containing just the sheet ID) of any sheets that the
     * requester has access to that make up the report
     */
    private List sheets;

    /**
     * Array of Workspace objects (containing just the workspace ID) that the requester has access to
     * that make up the report
     */
    private List workspaces;

    /**
     * Gets the array of any sheets the requester has access to that make up the report
     *
     * @return the array of sheets
     */
    public List getSheets() {
        return sheets;
    }

    /**
     * Sets the array of sheets the requester has access to that make up the report
     *
     * @param sheets the array of sheets
     */
    public Scope setSheets(List sheets) {
        this.sheets = sheets;
        return this;
    }

    /**
     * Gets the array of any workspaces the requester has access to that make up the report
     *
     * @return the array of workspaces
     */
    public List getWorkspaces() {
        return workspaces;
    }

    /**
     * Sets the array of any workspaces the requester has access to that make up the report
     *
     * @param workspaces the array of workspaces
     */
    public Scope setWorkspaces(List workspaces) {
        this.workspaces = workspaces;
        return this;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy