lib/spatio/model/task_comment_mutation_response.ex
# 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.TaskCommentMutationResponse do
@moduledoc """
"""
@derive JSON.Encoder
defstruct [
:comment,
:success
]
@type t :: %__MODULE__{
:comment => Spatio.Model.TaskComment.t,
:success => boolean()
}
alias Spatio.Deserializer
def decode(value) do
value
|> Deserializer.deserialize(:comment, :struct, Spatio.Model.TaskComment)
end
end