Sha256: db8086a4f69c1dd76e6a1b144610fc531431e226a7982d9fdd48a2e95653792a

Contents?: true

Size: 1.35 KB

Versions: 29

Compression:

Stored size: 1.35 KB

Contents

# MuxRuby::Upload

## Properties

| Name | Type | Description | Notes |
| ---- | ---- | ----------- | ----- |
| **id** | **String** | Unique identifier for the Direct Upload. | [optional] |
| **timeout** | **Integer** | Max time in seconds for the signed upload URL to be valid. If a successful upload has not occurred before the timeout limit, the direct upload is marked `timed_out` | [optional][default to 3600] |
| **status** | **String** |  | [optional] |
| **new_asset_settings** | [**Asset**](Asset.md) |  | [optional] |
| **asset_id** | **String** | Only set once the upload is in the `asset_created` state. | [optional] |
| **error** | [**UploadError**](UploadError.md) |  | [optional] |
| **cors_origin** | **String** | If the upload URL will be used in a browser, you must specify the origin in order for the signed URL to have the correct CORS headers. | [optional] |
| **url** | **String** | The URL to upload the associated source media to. | [optional] |
| **test** | **Boolean** | Indicates if this is a test Direct Upload, in which case the Asset that gets created will be a `test` Asset. | [optional] |

## Example

```ruby
require 'mux_ruby'

instance = MuxRuby::Upload.new(
  id: null,
  timeout: null,
  status: null,
  new_asset_settings: null,
  asset_id: null,
  error: null,
  cors_origin: null,
  url: null,
  test: null
)
```

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
mux_ruby-3.20.0 docs/Upload.md
mux_ruby-3.19.0 docs/Upload.md
mux_ruby-3.18.0 docs/Upload.md
mux_ruby-3.17.0 docs/Upload.md
mux_ruby-3.15.0 docs/Upload.md
mux_ruby-3.14.0 docs/Upload.md
mux_ruby-3.13.0 docs/Upload.md
mux_ruby-3.12.0 docs/Upload.md
mux_ruby-3.11.1 docs/Upload.md
mux_ruby-3.11.0 docs/Upload.md
mux_ruby-3.9.0 docs/Upload.md
mux_ruby-3.8.0 docs/Upload.md
mux_ruby-3.7.0 docs/Upload.md
mux_ruby-3.6.0 docs/Upload.md
mux_ruby-3.5.2 docs/Upload.md
mux_ruby-3.5.1 docs/Upload.md
mux_ruby-3.5.0 docs/Upload.md
mux_ruby-3.4.0 docs/Upload.md
mux_ruby-3.3.1 docs/Upload.md
mux_ruby-3.3.0 docs/Upload.md