# 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.Slide do
@moduledoc """
"""
@derive JSON.Encoder
defstruct [
:id,
:provider,
:accountId,
:presentationId,
:title,
:notes,
:layout,
:backgroundColor,
:backgroundImageUrl,
:textColor,
:transition,
:position,
:createdAt,
:updatedAt
]
@type t :: %__MODULE__{
:id => String.t,
:provider => String.t | nil,
:accountId => String.t | nil,
:presentationId => String.t,
:title => String.t,
:notes => String.t | nil,
:layout => String.t | nil,
:backgroundColor => String.t | nil,
:backgroundImageUrl => Uri | nil,
:textColor => String.t | nil,
:transition => String.t | nil,
:position => integer(),
:createdAt => DateTime.t,
:updatedAt => DateTime.t
}
alias Spatio.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:backgroundImageUrl, :struct, Spatio.Model.Uri)
end
end