Current section
Files
Jump to
Current section
Files
lib/documents/commands/data/put_documents.ex
defmodule Ravix.Documents.Commands.Data.PutDocument do
@moduledoc false
@derive {Jason.Encoder, only: [:Id, :Document, :ChangeVector, :Type]}
defstruct Id: nil,
Document: nil,
ChangeVector: nil,
Type: "PUT"
alias Ravix.Documents.Commands.Data.PutDocument
@type t :: %PutDocument{
Id: binary(),
Document: map(),
ChangeVector: String.t(),
Type: String.t()
}
end