lib/spatio/model/bulk_delete_tasks_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.BulkDeleteTasksRequest do
  @moduledoc """
  Either populate `taskIds` (with optional parallel `accountIds`) for multi-task delete, or `taskId` (with optional `accountId`) for the single-task fallback. `taskIds` wins when both are set. 
  """

  @derive JSON.Encoder
  defstruct [
    :taskIds,
    :accountIds,
    :taskId,
    :accountId
  ]

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

  def decode(value) do
    value
  end
end