Current section
Files
Jump to
Current section
Files
lib/procore/model/upload_fields.ex
# NOTE: This file is auto generated by OpenAPI Generator 7.7.0-SNAPSHOT (https://openapi-generator.tech).
# Do not edit this file manually.
defmodule Procore.Model.UploadFields do
@moduledoc """
Fields to send with the file data to sucessfully complete the upload. Do not make any assumptions about the names or contents of the fields because they may change at any time to any other value.
"""
@derive Jason.Encoder
defstruct [
:key,
:"Content-Type",
:"Content-Disposition",
:policy,
:"x-amz-credential",
:"x-amz-algorithm",
:"x-amz-date",
:"x-amz-signature"
]
@type t :: %__MODULE__{
:key => String.t() | nil,
:"Content-Type" => String.t() | nil,
:"Content-Disposition" => String.t() | nil,
:policy => String.t() | nil,
:"x-amz-credential" => String.t() | nil,
:"x-amz-algorithm" => String.t() | nil,
:"x-amz-date" => String.t() | nil,
:"x-amz-signature" => String.t() | nil
}
def decode(value) do
value
end
end