Current section

Files

Jump to
ravix lib documents commands data delete_documents.ex
Raw

lib/documents/commands/data/delete_documents.ex

defmodule Ravix.Documents.Commands.Data.DeleteDocument do
@moduledoc false
@derive {Jason.Encoder, only: [:Id, :ChangeVector, :Type]}
defstruct Id: nil,
ChangeVector: nil,
Type: "DELETE"
alias Ravix.Documents.Commands.Data.DeleteDocument
@type t :: %DeleteDocument{
Id: binary(),
ChangeVector: String.t(),
Type: String.t()
}
end