Current section

Files

Jump to
google_api_slides lib google_api slides v1 model request.ex
Raw

lib/google_api/slides/v1/model/request.ex

# 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.Request do
@moduledoc """
A single kind of update to apply to a presentation.
## Attributes
- createImage (CreateImageRequest): Creates an image. Defaults to: `null`.
- createLine (CreateLineRequest): Creates a line. Defaults to: `null`.
- createParagraphBullets (CreateParagraphBulletsRequest): Creates bullets for paragraphs. Defaults to: `null`.
- createShape (CreateShapeRequest): Creates a new shape. Defaults to: `null`.
- createSheetsChart (CreateSheetsChartRequest): Creates an embedded Google Sheets chart. Defaults to: `null`.
- createSlide (CreateSlideRequest): Creates a new slide. Defaults to: `null`.
- createTable (CreateTableRequest): Creates a new table. Defaults to: `null`.
- createVideo (CreateVideoRequest): Creates a video. Defaults to: `null`.
- deleteObject (DeleteObjectRequest): Deletes a page or page element from the presentation. Defaults to: `null`.
- deleteParagraphBullets (DeleteParagraphBulletsRequest): Deletes bullets from paragraphs. Defaults to: `null`.
- deleteTableColumn (DeleteTableColumnRequest): Deletes a column from a table. Defaults to: `null`.
- deleteTableRow (DeleteTableRowRequest): Deletes a row from a table. Defaults to: `null`.
- deleteText (DeleteTextRequest): Deletes text from a shape or a table cell. Defaults to: `null`.
- duplicateObject (DuplicateObjectRequest): Duplicates a slide or page element. Defaults to: `null`.
- groupObjects (GroupObjectsRequest): Groups objects, such as page elements. Defaults to: `null`.
- insertTableColumns (InsertTableColumnsRequest): Inserts columns into a table. Defaults to: `null`.
- insertTableRows (InsertTableRowsRequest): Inserts rows into a table. Defaults to: `null`.
- insertText (InsertTextRequest): Inserts text into a shape or table cell. Defaults to: `null`.
- mergeTableCells (MergeTableCellsRequest): Merges cells in a Table. Defaults to: `null`.
- refreshSheetsChart (RefreshSheetsChartRequest): Refreshes a Google Sheets chart. Defaults to: `null`.
- replaceAllShapesWithImage (ReplaceAllShapesWithImageRequest): Replaces all shapes matching some criteria with an image. Defaults to: `null`.
- replaceAllShapesWithSheetsChart (ReplaceAllShapesWithSheetsChartRequest): Replaces all shapes matching some criteria with a Google Sheets chart. Defaults to: `null`.
- replaceAllText (ReplaceAllTextRequest): Replaces all instances of specified text. Defaults to: `null`.
- replaceImage (ReplaceImageRequest): Replaces an existing image with a new image. Defaults to: `null`.
- rerouteLine (RerouteLineRequest): Reroutes a line such that it's connected at the two closest connection sites on the connected page elements. Defaults to: `null`.
- ungroupObjects (UngroupObjectsRequest): Ungroups objects, such as groups. Defaults to: `null`.
- unmergeTableCells (UnmergeTableCellsRequest): Unmerges cells in a Table. Defaults to: `null`.
- updateImageProperties (UpdateImagePropertiesRequest): Updates the properties of an Image. Defaults to: `null`.
- updateLineCategory (UpdateLineCategoryRequest): Updates the category of a line. Defaults to: `null`.
- updateLineProperties (UpdateLinePropertiesRequest): Updates the properties of a Line. Defaults to: `null`.
- updatePageElementAltText (UpdatePageElementAltTextRequest): Updates the alt text title and/or description of a page element. Defaults to: `null`.
- updatePageElementTransform (UpdatePageElementTransformRequest): Updates the transform of a page element. Defaults to: `null`.
- updatePageElementsZOrder (UpdatePageElementsZOrderRequest): Updates the Z-order of page elements. Defaults to: `null`.
- updatePageProperties (UpdatePagePropertiesRequest): Updates the properties of a Page. Defaults to: `null`.
- updateParagraphStyle (UpdateParagraphStyleRequest): Updates the styling of paragraphs within a Shape or Table. Defaults to: `null`.
- updateShapeProperties (UpdateShapePropertiesRequest): Updates the properties of a Shape. Defaults to: `null`.
- updateSlidesPosition (UpdateSlidesPositionRequest): Updates the position of a set of slides in the presentation. Defaults to: `null`.
- updateTableBorderProperties (UpdateTableBorderPropertiesRequest): Updates the properties of the table borders in a Table. Defaults to: `null`.
- updateTableCellProperties (UpdateTableCellPropertiesRequest): Updates the properties of a TableCell. Defaults to: `null`.
- updateTableColumnProperties (UpdateTableColumnPropertiesRequest): Updates the properties of a Table column. Defaults to: `null`.
- updateTableRowProperties (UpdateTableRowPropertiesRequest): Updates the properties of a Table row. Defaults to: `null`.
- updateTextStyle (UpdateTextStyleRequest): Updates the styling of text within a Shape or Table. Defaults to: `null`.
- updateVideoProperties (UpdateVideoPropertiesRequest): Updates the properties of a Video. Defaults to: `null`.
"""
use GoogleApi.Gax.ModelBase
@type t :: %__MODULE__{
:createImage => GoogleApi.Slides.V1.Model.CreateImageRequest.t(),
:createLine => GoogleApi.Slides.V1.Model.CreateLineRequest.t(),
:createParagraphBullets => GoogleApi.Slides.V1.Model.CreateParagraphBulletsRequest.t(),
:createShape => GoogleApi.Slides.V1.Model.CreateShapeRequest.t(),
:createSheetsChart => GoogleApi.Slides.V1.Model.CreateSheetsChartRequest.t(),
:createSlide => GoogleApi.Slides.V1.Model.CreateSlideRequest.t(),
:createTable => GoogleApi.Slides.V1.Model.CreateTableRequest.t(),
:createVideo => GoogleApi.Slides.V1.Model.CreateVideoRequest.t(),
:deleteObject => GoogleApi.Slides.V1.Model.DeleteObjectRequest.t(),
:deleteParagraphBullets => GoogleApi.Slides.V1.Model.DeleteParagraphBulletsRequest.t(),
:deleteTableColumn => GoogleApi.Slides.V1.Model.DeleteTableColumnRequest.t(),
:deleteTableRow => GoogleApi.Slides.V1.Model.DeleteTableRowRequest.t(),
:deleteText => GoogleApi.Slides.V1.Model.DeleteTextRequest.t(),
:duplicateObject => GoogleApi.Slides.V1.Model.DuplicateObjectRequest.t(),
:groupObjects => GoogleApi.Slides.V1.Model.GroupObjectsRequest.t(),
:insertTableColumns => GoogleApi.Slides.V1.Model.InsertTableColumnsRequest.t(),
:insertTableRows => GoogleApi.Slides.V1.Model.InsertTableRowsRequest.t(),
:insertText => GoogleApi.Slides.V1.Model.InsertTextRequest.t(),
:mergeTableCells => GoogleApi.Slides.V1.Model.MergeTableCellsRequest.t(),
:refreshSheetsChart => GoogleApi.Slides.V1.Model.RefreshSheetsChartRequest.t(),
:replaceAllShapesWithImage =>
GoogleApi.Slides.V1.Model.ReplaceAllShapesWithImageRequest.t(),
:replaceAllShapesWithSheetsChart =>
GoogleApi.Slides.V1.Model.ReplaceAllShapesWithSheetsChartRequest.t(),
:replaceAllText => GoogleApi.Slides.V1.Model.ReplaceAllTextRequest.t(),
:replaceImage => GoogleApi.Slides.V1.Model.ReplaceImageRequest.t(),
:rerouteLine => GoogleApi.Slides.V1.Model.RerouteLineRequest.t(),
:ungroupObjects => GoogleApi.Slides.V1.Model.UngroupObjectsRequest.t(),
:unmergeTableCells => GoogleApi.Slides.V1.Model.UnmergeTableCellsRequest.t(),
:updateImageProperties => GoogleApi.Slides.V1.Model.UpdateImagePropertiesRequest.t(),
:updateLineCategory => GoogleApi.Slides.V1.Model.UpdateLineCategoryRequest.t(),
:updateLineProperties => GoogleApi.Slides.V1.Model.UpdateLinePropertiesRequest.t(),
:updatePageElementAltText =>
GoogleApi.Slides.V1.Model.UpdatePageElementAltTextRequest.t(),
:updatePageElementTransform =>
GoogleApi.Slides.V1.Model.UpdatePageElementTransformRequest.t(),
:updatePageElementsZOrder =>
GoogleApi.Slides.V1.Model.UpdatePageElementsZOrderRequest.t(),
:updatePageProperties => GoogleApi.Slides.V1.Model.UpdatePagePropertiesRequest.t(),
:updateParagraphStyle => GoogleApi.Slides.V1.Model.UpdateParagraphStyleRequest.t(),
:updateShapeProperties => GoogleApi.Slides.V1.Model.UpdateShapePropertiesRequest.t(),
:updateSlidesPosition => GoogleApi.Slides.V1.Model.UpdateSlidesPositionRequest.t(),
:updateTableBorderProperties =>
GoogleApi.Slides.V1.Model.UpdateTableBorderPropertiesRequest.t(),
:updateTableCellProperties =>
GoogleApi.Slides.V1.Model.UpdateTableCellPropertiesRequest.t(),
:updateTableColumnProperties =>
GoogleApi.Slides.V1.Model.UpdateTableColumnPropertiesRequest.t(),
:updateTableRowProperties =>
GoogleApi.Slides.V1.Model.UpdateTableRowPropertiesRequest.t(),
:updateTextStyle => GoogleApi.Slides.V1.Model.UpdateTextStyleRequest.t(),
:updateVideoProperties => GoogleApi.Slides.V1.Model.UpdateVideoPropertiesRequest.t()
}
field(:createImage, as: GoogleApi.Slides.V1.Model.CreateImageRequest)
field(:createLine, as: GoogleApi.Slides.V1.Model.CreateLineRequest)
field(:createParagraphBullets, as: GoogleApi.Slides.V1.Model.CreateParagraphBulletsRequest)
field(:createShape, as: GoogleApi.Slides.V1.Model.CreateShapeRequest)
field(:createSheetsChart, as: GoogleApi.Slides.V1.Model.CreateSheetsChartRequest)
field(:createSlide, as: GoogleApi.Slides.V1.Model.CreateSlideRequest)
field(:createTable, as: GoogleApi.Slides.V1.Model.CreateTableRequest)
field(:createVideo, as: GoogleApi.Slides.V1.Model.CreateVideoRequest)
field(:deleteObject, as: GoogleApi.Slides.V1.Model.DeleteObjectRequest)
field(:deleteParagraphBullets, as: GoogleApi.Slides.V1.Model.DeleteParagraphBulletsRequest)
field(:deleteTableColumn, as: GoogleApi.Slides.V1.Model.DeleteTableColumnRequest)
field(:deleteTableRow, as: GoogleApi.Slides.V1.Model.DeleteTableRowRequest)
field(:deleteText, as: GoogleApi.Slides.V1.Model.DeleteTextRequest)
field(:duplicateObject, as: GoogleApi.Slides.V1.Model.DuplicateObjectRequest)
field(:groupObjects, as: GoogleApi.Slides.V1.Model.GroupObjectsRequest)
field(:insertTableColumns, as: GoogleApi.Slides.V1.Model.InsertTableColumnsRequest)
field(:insertTableRows, as: GoogleApi.Slides.V1.Model.InsertTableRowsRequest)
field(:insertText, as: GoogleApi.Slides.V1.Model.InsertTextRequest)
field(:mergeTableCells, as: GoogleApi.Slides.V1.Model.MergeTableCellsRequest)
field(:refreshSheetsChart, as: GoogleApi.Slides.V1.Model.RefreshSheetsChartRequest)
field(
:replaceAllShapesWithImage,
as: GoogleApi.Slides.V1.Model.ReplaceAllShapesWithImageRequest
)
field(
:replaceAllShapesWithSheetsChart,
as: GoogleApi.Slides.V1.Model.ReplaceAllShapesWithSheetsChartRequest
)
field(:replaceAllText, as: GoogleApi.Slides.V1.Model.ReplaceAllTextRequest)
field(:replaceImage, as: GoogleApi.Slides.V1.Model.ReplaceImageRequest)
field(:rerouteLine, as: GoogleApi.Slides.V1.Model.RerouteLineRequest)
field(:ungroupObjects, as: GoogleApi.Slides.V1.Model.UngroupObjectsRequest)
field(:unmergeTableCells, as: GoogleApi.Slides.V1.Model.UnmergeTableCellsRequest)
field(:updateImageProperties, as: GoogleApi.Slides.V1.Model.UpdateImagePropertiesRequest)
field(:updateLineCategory, as: GoogleApi.Slides.V1.Model.UpdateLineCategoryRequest)
field(:updateLineProperties, as: GoogleApi.Slides.V1.Model.UpdateLinePropertiesRequest)
field(:updatePageElementAltText, as: GoogleApi.Slides.V1.Model.UpdatePageElementAltTextRequest)
field(
:updatePageElementTransform,
as: GoogleApi.Slides.V1.Model.UpdatePageElementTransformRequest
)
field(:updatePageElementsZOrder, as: GoogleApi.Slides.V1.Model.UpdatePageElementsZOrderRequest)
field(:updatePageProperties, as: GoogleApi.Slides.V1.Model.UpdatePagePropertiesRequest)
field(:updateParagraphStyle, as: GoogleApi.Slides.V1.Model.UpdateParagraphStyleRequest)
field(:updateShapeProperties, as: GoogleApi.Slides.V1.Model.UpdateShapePropertiesRequest)
field(:updateSlidesPosition, as: GoogleApi.Slides.V1.Model.UpdateSlidesPositionRequest)
field(
:updateTableBorderProperties,
as: GoogleApi.Slides.V1.Model.UpdateTableBorderPropertiesRequest
)
field(
:updateTableCellProperties,
as: GoogleApi.Slides.V1.Model.UpdateTableCellPropertiesRequest
)
field(
:updateTableColumnProperties,
as: GoogleApi.Slides.V1.Model.UpdateTableColumnPropertiesRequest
)
field(:updateTableRowProperties, as: GoogleApi.Slides.V1.Model.UpdateTableRowPropertiesRequest)
field(:updateTextStyle, as: GoogleApi.Slides.V1.Model.UpdateTextStyleRequest)
field(:updateVideoProperties, as: GoogleApi.Slides.V1.Model.UpdateVideoPropertiesRequest)
end
defimpl Poison.Decoder, for: GoogleApi.Slides.V1.Model.Request do
def decode(value, options) do
GoogleApi.Slides.V1.Model.Request.decode(value, options)
end
end
defimpl Poison.Encoder, for: GoogleApi.Slides.V1.Model.Request do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end