com.google.api.services.slides.v1.model.Table Maven / Gradle / Ivy
/*
* Copyright 2010 Google Inc.
*
* 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.
*/
/*
* This code was generated by https://github.com/google/apis-client-generator/
* (build: 2017-01-11 18:31:16 UTC)
* on 2017-01-26 at 00:35:45 UTC
* Modify at your own risk.
*/
package com.google.api.services.slides.v1.model;
/**
* A PageElement kind representing a table.
*
* This is the Java data model class that specifies how to parse/serialize into the JSON that is
* transmitted over HTTP when working with the Google Slides API. For a detailed explanation see:
* https://developers.google.com/api-client-library/java/google-http-java-client/json
*
*
* @author Google, Inc.
*/
@SuppressWarnings("javadoc")
public final class Table extends com.google.api.client.json.GenericJson {
/**
* Number of columns in the table.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer columns;
/**
* Number of rows in the table.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.lang.Integer rows;
/**
* Properties of each column.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List tableColumns;
/**
* Properties and contents of each row.
*
* Cells that span multiple rows are contained in only one of these rows and have a row_span
* greater than 1.
* The value may be {@code null}.
*/
@com.google.api.client.util.Key
private java.util.List tableRows;
/**
* Number of columns in the table.
* @return value or {@code null} for none
*/
public java.lang.Integer getColumns() {
return columns;
}
/**
* Number of columns in the table.
* @param columns columns or {@code null} for none
*/
public Table setColumns(java.lang.Integer columns) {
this.columns = columns;
return this;
}
/**
* Number of rows in the table.
* @return value or {@code null} for none
*/
public java.lang.Integer getRows() {
return rows;
}
/**
* Number of rows in the table.
* @param rows rows or {@code null} for none
*/
public Table setRows(java.lang.Integer rows) {
this.rows = rows;
return this;
}
/**
* Properties of each column.
* @return value or {@code null} for none
*/
public java.util.List getTableColumns() {
return tableColumns;
}
/**
* Properties of each column.
* @param tableColumns tableColumns or {@code null} for none
*/
public Table setTableColumns(java.util.List tableColumns) {
this.tableColumns = tableColumns;
return this;
}
/**
* Properties and contents of each row.
*
* Cells that span multiple rows are contained in only one of these rows and have a row_span
* greater than 1.
* @return value or {@code null} for none
*/
public java.util.List getTableRows() {
return tableRows;
}
/**
* Properties and contents of each row.
*
* Cells that span multiple rows are contained in only one of these rows and have a row_span
* greater than 1.
* @param tableRows tableRows or {@code null} for none
*/
public Table setTableRows(java.util.List tableRows) {
this.tableRows = tableRows;
return this;
}
@Override
public Table set(String fieldName, Object value) {
return (Table) super.set(fieldName, value);
}
@Override
public Table clone() {
return (Table) super.clone();
}
}