github.com/muxinc/mux-go@v1.1.1/model_create_upload_request.go (about)

     1  // Mux Go - Copyright 2019 Mux Inc.
     2  // NOTE: This file is auto generated. Do not edit this file manually.
     3  
     4  package muxgo
     5  
     6  type CreateUploadRequest struct {
     7  	// 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`
     8  	Timeout int32 `json:"timeout,omitempty"`
     9  	// 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.
    10  	CorsOrigin       string             `json:"cors_origin,omitempty"`
    11  	NewAssetSettings CreateAssetRequest `json:"new_asset_settings"`
    12  	Test             bool               `json:"test,omitempty"`
    13  }