# NOTE: This file is auto generated by OpenAPI Generator 7.22.0 (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Spatio.Model.UpdateSlideElementRequest do
@moduledoc """
Partial update — every field optional.
"""
@derive JSON.Encoder
defstruct [
:elementType,
:content,
:x,
:y,
:width,
:height,
:rotation,
:zIndex
]
@type t :: %__MODULE__{
:elementType => String.t | nil,
:content => %{optional(String.t) => any()} | nil,
:x => float() | nil,
:y => float() | nil,
:width => float() | nil,
:height => float() | nil,
:rotation => float() | nil,
:zIndex => integer() | nil
}
def decode(value) do
value
end
end