lib/spatio/model/bulk_delete_files_request.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.BulkDeleteFilesRequest do
  @moduledoc """
  Either `fileIds` (with optional parallel `accountIds`) for multi-file delete, or `fileId` (with optional `accountId`) for the single-file fallback. `fileIds` wins when both are set. 
  """

  @derive JSON.Encoder
  defstruct [
    :fileIds,
    :accountIds,
    :fileId,
    :accountId
  ]

  @type t :: %__MODULE__{
    :fileIds => [String.t] | nil,
    :accountIds => [String.t] | nil,
    :fileId => String.t | nil,
    :accountId => String.t | nil
  }

  def decode(value) do
    value
  end
end