Packages
Google Slides API client library. Reads and writes Google Slides presentations.
Current section
Files
Jump to
Current section
Files
lib/google_api/slides/v1/model/outline.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.Outline do
@moduledoc """
The outline of a PageElement. If these fields are unset, they may be inherited from a parent placeholder if it exists. If there is no parent, the fields will default to the value used for new page elements created in the Slides editor, which may depend on the page element kind.
## Attributes
- dashStyle (String.t): The dash style of the outline. Defaults to: `null`.
- Enum - one of [DASH_STYLE_UNSPECIFIED, SOLID, DOT, DASH, DASH_DOT, LONG_DASH, LONG_DASH_DOT]
- outlineFill (OutlineFill): The fill of the outline. Defaults to: `null`.
- propertyState (String.t): The outline property state. Updating the outline on a page element will implicitly update this field to `RENDERED`, unless another value is specified in the same request. To have no outline on a page element, set this field to `NOT_RENDERED`. In this case, any other outline fields set in the same request will be ignored. Defaults to: `null`.
- Enum - one of [RENDERED, NOT_RENDERED, INHERIT]
- weight (Dimension): The thickness of the outline. Defaults to: `null`.
"""
use GoogleApi.Gax.ModelBase
@type t :: %__MODULE__{
:dashStyle => any(),
:outlineFill => GoogleApi.Slides.V1.Model.OutlineFill.t(),
:propertyState => any(),
:weight => GoogleApi.Slides.V1.Model.Dimension.t()
}
field(:dashStyle)
field(:outlineFill, as: GoogleApi.Slides.V1.Model.OutlineFill)
field(:propertyState)
field(:weight, as: GoogleApi.Slides.V1.Model.Dimension)
end
defimpl Poison.Decoder, for: GoogleApi.Slides.V1.Model.Outline do
def decode(value, options) do
GoogleApi.Slides.V1.Model.Outline.decode(value, options)
end
end
defimpl Poison.Encoder, for: GoogleApi.Slides.V1.Model.Outline do
def encode(value, options) do
GoogleApi.Gax.ModelBase.encode(value, options)
end
end