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

com.google.api.services.slides.v1.model.Page Maven / Gradle / Ivy

There is a newer version: v1-rev20240305-2.0.0
Show newest version
/*
 * 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 page in a presentation.
 *
 * 

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 Page extends com.google.api.client.json.GenericJson { /** * Layout specific properties. Only set if page_type = LAYOUT. * The value may be {@code null}. */ @com.google.api.client.util.Key private LayoutProperties layoutProperties; /** * The object ID for this page. Object IDs used by Page and PageElement share the same namespace. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String objectId; /** * The page elements rendered on the page. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List pageElements; static { // hack to force ProGuard to consider PageElement used, since otherwise it would be stripped out // see https://github.com/google/google-api-java-client/issues/543 com.google.api.client.util.Data.nullOf(PageElement.class); } /** * The properties of the page. * The value may be {@code null}. */ @com.google.api.client.util.Key private PageProperties pageProperties; /** * The type of the page. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String pageType; /** * Slide specific properties. Only set if page_type = SLIDE. * The value may be {@code null}. */ @com.google.api.client.util.Key private SlideProperties slideProperties; /** * Layout specific properties. Only set if page_type = LAYOUT. * @return value or {@code null} for none */ public LayoutProperties getLayoutProperties() { return layoutProperties; } /** * Layout specific properties. Only set if page_type = LAYOUT. * @param layoutProperties layoutProperties or {@code null} for none */ public Page setLayoutProperties(LayoutProperties layoutProperties) { this.layoutProperties = layoutProperties; return this; } /** * The object ID for this page. Object IDs used by Page and PageElement share the same namespace. * @return value or {@code null} for none */ public java.lang.String getObjectId() { return objectId; } /** * The object ID for this page. Object IDs used by Page and PageElement share the same namespace. * @param objectId objectId or {@code null} for none */ public Page setObjectId(java.lang.String objectId) { this.objectId = objectId; return this; } /** * The page elements rendered on the page. * @return value or {@code null} for none */ public java.util.List getPageElements() { return pageElements; } /** * The page elements rendered on the page. * @param pageElements pageElements or {@code null} for none */ public Page setPageElements(java.util.List pageElements) { this.pageElements = pageElements; return this; } /** * The properties of the page. * @return value or {@code null} for none */ public PageProperties getPageProperties() { return pageProperties; } /** * The properties of the page. * @param pageProperties pageProperties or {@code null} for none */ public Page setPageProperties(PageProperties pageProperties) { this.pageProperties = pageProperties; return this; } /** * The type of the page. * @return value or {@code null} for none */ public java.lang.String getPageType() { return pageType; } /** * The type of the page. * @param pageType pageType or {@code null} for none */ public Page setPageType(java.lang.String pageType) { this.pageType = pageType; return this; } /** * Slide specific properties. Only set if page_type = SLIDE. * @return value or {@code null} for none */ public SlideProperties getSlideProperties() { return slideProperties; } /** * Slide specific properties. Only set if page_type = SLIDE. * @param slideProperties slideProperties or {@code null} for none */ public Page setSlideProperties(SlideProperties slideProperties) { this.slideProperties = slideProperties; return this; } @Override public Page set(String fieldName, Object value) { return (Page) super.set(fieldName, value); } @Override public Page clone() { return (Page) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy