# Copyright 2017 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. # NOTE: This class is auto generated by the swagger code generator program. # https://github.com/swagger-api/swagger-codegen.git # Do not edit the class manually. defmodule GoogleApi.Slides.V1.Model.Response do @moduledoc """ A single response from an update. ## Attributes - createImage (CreateImageResponse): The result of creating an image. Defaults to: `null`. - createLine (CreateLineResponse): The result of creating a line. Defaults to: `null`. - createShape (CreateShapeResponse): The result of creating a shape. Defaults to: `null`. - createSheetsChart (CreateSheetsChartResponse): The result of creating a Google Sheets chart. Defaults to: `null`. - createSlide (CreateSlideResponse): The result of creating a slide. Defaults to: `null`. - createTable (CreateTableResponse): The result of creating a table. Defaults to: `null`. - createVideo (CreateVideoResponse): The result of creating a video. Defaults to: `null`. - duplicateObject (DuplicateObjectResponse): The result of duplicating an object. Defaults to: `null`. - groupObjects (GroupObjectsResponse): The result of grouping objects. Defaults to: `null`. - replaceAllShapesWithImage (ReplaceAllShapesWithImageResponse): The result of replacing all shapes matching some criteria with an image. Defaults to: `null`. - replaceAllShapesWithSheetsChart (ReplaceAllShapesWithSheetsChartResponse): The result of replacing all shapes matching some criteria with a Google Sheets chart. Defaults to: `null`. - replaceAllText (ReplaceAllTextResponse): The result of replacing text. Defaults to: `null`. """ use GoogleApi.Gax.ModelBase @type t :: %__MODULE__{ :createImage => GoogleApi.Slides.V1.Model.CreateImageResponse.t(), :createLine => GoogleApi.Slides.V1.Model.CreateLineResponse.t(), :createShape => GoogleApi.Slides.V1.Model.CreateShapeResponse.t(), :createSheetsChart => GoogleApi.Slides.V1.Model.CreateSheetsChartResponse.t(), :createSlide => GoogleApi.Slides.V1.Model.CreateSlideResponse.t(), :createTable => GoogleApi.Slides.V1.Model.CreateTableResponse.t(), :createVideo => GoogleApi.Slides.V1.Model.CreateVideoResponse.t(), :duplicateObject => GoogleApi.Slides.V1.Model.DuplicateObjectResponse.t(), :groupObjects => GoogleApi.Slides.V1.Model.GroupObjectsResponse.t(), :replaceAllShapesWithImage => GoogleApi.Slides.V1.Model.ReplaceAllShapesWithImageResponse.t(), :replaceAllShapesWithSheetsChart => GoogleApi.Slides.V1.Model.ReplaceAllShapesWithSheetsChartResponse.t(), :replaceAllText => GoogleApi.Slides.V1.Model.ReplaceAllTextResponse.t() } field(:createImage, as: GoogleApi.Slides.V1.Model.CreateImageResponse) field(:createLine, as: GoogleApi.Slides.V1.Model.CreateLineResponse) field(:createShape, as: GoogleApi.Slides.V1.Model.CreateShapeResponse) field(:createSheetsChart, as: GoogleApi.Slides.V1.Model.CreateSheetsChartResponse) field(:createSlide, as: GoogleApi.Slides.V1.Model.CreateSlideResponse) field(:createTable, as: GoogleApi.Slides.V1.Model.CreateTableResponse) field(:createVideo, as: GoogleApi.Slides.V1.Model.CreateVideoResponse) field(:duplicateObject, as: GoogleApi.Slides.V1.Model.DuplicateObjectResponse) field(:groupObjects, as: GoogleApi.Slides.V1.Model.GroupObjectsResponse) field( :replaceAllShapesWithImage, as: GoogleApi.Slides.V1.Model.ReplaceAllShapesWithImageResponse ) field( :replaceAllShapesWithSheetsChart, as: GoogleApi.Slides.V1.Model.ReplaceAllShapesWithSheetsChartResponse ) field(:replaceAllText, as: GoogleApi.Slides.V1.Model.ReplaceAllTextResponse) end defimpl Poison.Decoder, for: GoogleApi.Slides.V1.Model.Response do def decode(value, options) do GoogleApi.Slides.V1.Model.Response.decode(value, options) end end defimpl Poison.Encoder, for: GoogleApi.Slides.V1.Model.Response do def encode(value, options) do GoogleApi.Gax.ModelBase.encode(value, options) end end