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

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

There is a newer version: 3.2.1
Show newest version
/*
 * Copyright (C) 2023 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;

public class SelectionRange {

    /**
     * Defines beginning edge of range when specifying one or more columns.
     */
    private Long sourceColumnId1;

    /**
     * Defines ending edge of range when specifying one or more columns.
     */
    private Long sourceColumnId2;

    /**
     * Defines beginning edge of range when specifying one or more rows.
     */
    private Long sourceRowId1;

    /**
     * Defines ending edge of range when specifying one or more rows.
     */
    private Long sourceRowId2;

    /**
     * Gets the beginning of the range of columns
     *
     * @return sourceColumnId1
     */
    public Long getSourceColumnId1() {
        return sourceColumnId1;
    }

    /**
     * Sets the beginning of the range of columns
     */
    public SelectionRange setSourceColumnId1(Long sourceColumnId1) {
        this.sourceColumnId1 = sourceColumnId1;
        return this;
    }

    /**
     * Gets the ending of the range of columns
     *
     * @return sourceColumnId2
     */
    public Long getSourceColumnId2() {
        return sourceColumnId2;
    }

    /**
     * Sets the ending of the range of columns
     */
    public SelectionRange setSourceColumnId2(Long sourceColumnId2) {
        this.sourceColumnId2 = sourceColumnId2;
        return this;
    }

    /**
     * Gets the beginning of the range of rows
     *
     * @return sourceRowId1
     */
    public Long getSourceRowId1() {
        return sourceRowId1;
    }

    /**
     * Sets the beginning of the range of rows
     */
    public SelectionRange setSourceRowId1(Long sourceRowId1) {
        this.sourceRowId1 = sourceRowId1;
        return this;
    }

    /**
     * Gets the ending of the range of rows
     *
     * @return sourceRowId2
     */
    public Long getSourceRowId2() {
        return sourceRowId2;
    }

    /**
     * Sets the ending of the range of rows
     */
    public SelectionRange setSourceRowId2(Long sourceRowId2) {
        this.sourceRowId2 = sourceRowId2;
        return this;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy