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

com.google.api.services.slides.v1.model.Presentation 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 Google Slides 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 Presentation extends com.google.api.client.json.GenericJson { /** * The layouts in the presentation. A layout is a template that determines how content is arranged * and styled on the slides that inherit from that layout. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List layouts; /** * The locale of the presentation, as an IETF BCP 47 language tag. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String locale; /** * The slide masters in the presentation. A slide master contains all common page elements and the * common properties for a set of layouts. They serve three purposes: * * - Placeholder shapes on a master contain the default text styles and shape properties of all * placeholder shapes on pages that use that master. - The master page properties define the * common page properties inherited by its layouts. - Any other shapes on the master slide will * appear on all slides using that master, regardless of their layout. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List masters; /** * The size of pages in the presentation. * The value may be {@code null}. */ @com.google.api.client.util.Key private Size pageSize; /** * The ID of the presentation. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String presentationId; /** * The slides in the presentation. A slide inherits properties from a slide layout. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.util.List slides; /** * The title of the presentation. * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String title; /** * The layouts in the presentation. A layout is a template that determines how content is arranged * and styled on the slides that inherit from that layout. * @return value or {@code null} for none */ public java.util.List getLayouts() { return layouts; } /** * The layouts in the presentation. A layout is a template that determines how content is arranged * and styled on the slides that inherit from that layout. * @param layouts layouts or {@code null} for none */ public Presentation setLayouts(java.util.List layouts) { this.layouts = layouts; return this; } /** * The locale of the presentation, as an IETF BCP 47 language tag. * @return value or {@code null} for none */ public java.lang.String getLocale() { return locale; } /** * The locale of the presentation, as an IETF BCP 47 language tag. * @param locale locale or {@code null} for none */ public Presentation setLocale(java.lang.String locale) { this.locale = locale; return this; } /** * The slide masters in the presentation. A slide master contains all common page elements and the * common properties for a set of layouts. They serve three purposes: * * - Placeholder shapes on a master contain the default text styles and shape properties of all * placeholder shapes on pages that use that master. - The master page properties define the * common page properties inherited by its layouts. - Any other shapes on the master slide will * appear on all slides using that master, regardless of their layout. * @return value or {@code null} for none */ public java.util.List getMasters() { return masters; } /** * The slide masters in the presentation. A slide master contains all common page elements and the * common properties for a set of layouts. They serve three purposes: * * - Placeholder shapes on a master contain the default text styles and shape properties of all * placeholder shapes on pages that use that master. - The master page properties define the * common page properties inherited by its layouts. - Any other shapes on the master slide will * appear on all slides using that master, regardless of their layout. * @param masters masters or {@code null} for none */ public Presentation setMasters(java.util.List masters) { this.masters = masters; return this; } /** * The size of pages in the presentation. * @return value or {@code null} for none */ public Size getPageSize() { return pageSize; } /** * The size of pages in the presentation. * @param pageSize pageSize or {@code null} for none */ public Presentation setPageSize(Size pageSize) { this.pageSize = pageSize; return this; } /** * The ID of the presentation. * @return value or {@code null} for none */ public java.lang.String getPresentationId() { return presentationId; } /** * The ID of the presentation. * @param presentationId presentationId or {@code null} for none */ public Presentation setPresentationId(java.lang.String presentationId) { this.presentationId = presentationId; return this; } /** * The slides in the presentation. A slide inherits properties from a slide layout. * @return value or {@code null} for none */ public java.util.List getSlides() { return slides; } /** * The slides in the presentation. A slide inherits properties from a slide layout. * @param slides slides or {@code null} for none */ public Presentation setSlides(java.util.List slides) { this.slides = slides; return this; } /** * The title of the presentation. * @return value or {@code null} for none */ public java.lang.String getTitle() { return title; } /** * The title of the presentation. * @param title title or {@code null} for none */ public Presentation setTitle(java.lang.String title) { this.title = title; return this; } @Override public Presentation set(String fieldName, Object value) { return (Presentation) super.set(fieldName, value); } @Override public Presentation clone() { return (Presentation) super.clone(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy