# codegen: do not edit
defmodule GenLSP.Structures.DidChangeWorkspaceFoldersParams do
  @moduledoc """
  The parameters of a `workspace/didChangeWorkspaceFolders` notification.
  """

  import SchematicV, warn: false

  use TypedStruct

  @doc """
  ## Fields

  * event: The actual workspace folder change event.
  """

  typedstruct do
    field(:event, GenLSP.Structures.WorkspaceFoldersChangeEvent.t(), enforce: true)
  end

  @doc false
  @spec schematic() :: SchematicV.t()
  def schematic() do
    schema(__MODULE__, %{
      {"event", :event} => GenLSP.Structures.WorkspaceFoldersChangeEvent.schematic()
    })
  end
end
