Skip to content

Commit

Permalink
Bump to latest openapi spec (#47)
Browse files Browse the repository at this point in the history
  • Loading branch information
philcluff authored Nov 8, 2023
1 parent 9a7bb3f commit 1c236d9
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 22,7 @@ type ConfigurationOption func(*Configuration)
func NewConfiguration(opts ...ConfigurationOption) *Configuration {
cfg := &Configuration{
basePath: "https://api.mux.com",
userAgent: "Mux Go | 5.0.0",
userAgent: "Mux Go | 5.0.1",
}
for _, opt := range opts {
opt(cfg)
Expand Down
2 changes: 1 addition & 1 deletion docs/Asset.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 10,7 @@ Name | Type | Description | Notes
**MaxStoredResolution** | **string** | This field is deprecated. Please use `resolution_tier` instead. The maximum resolution that has been stored for the asset. The asset may be delivered at lower resolutions depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. | [optional]
**ResolutionTier** | **string** | The resolution tier that the asset was ingested at, affecting billing for ingest & storage. This field also represents the highest resolution tier that the content can be delivered at, however the actual resolution may be lower depending on the device, bandwidth, and exact resolution of the uploaded asset. | [optional]
**MaxResolutionTier** | **string** | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional]
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. | [optional]
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers) | [optional]
**MaxStoredFrameRate** | **float64** | The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined. | [optional]
**AspectRatio** | **string** | The aspect ratio of the asset in the form of `width:height`, for example `16:9`. | [optional]
**PlaybackIds** | [**[]PlaybackId**](PlaybackID.md) | An array of Playback ID objects. Use these to create HLS playback URLs. See [Play your videos](https://docs.mux.com/guides/video/play-your-videos) for more details. | [optional]
Expand Down
2 changes: 1 addition & 1 deletion docs/CreateAssetRequest.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 12,7 @@ Name | Type | Description | Notes
**MasterAccess** | **string** | Specify what level (if any) of support for master access. Master access can be enabled temporarily for your asset to be downloaded. See the [Download your videos guide](/guides/video/download-your-videos) for more information. | [optional]
**Test** | **bool** | Marks the asset as a test asset when the value is set to true. A Test asset can help evaluate the Mux Video APIs without incurring any cost. There is no limit on number of test assets created. Test asset are watermarked with the Mux logo, limited to 10 seconds, deleted after 24 hrs. | [optional]
**MaxResolutionTier** | **string** | Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`. | [optional]
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. | [optional]
**EncodingTier** | **string** | The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers) | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
2 changes: 1 addition & 1 deletion model_asset.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 18,7 @@ type Asset struct {
ResolutionTier string `json:"resolution_tier,omitempty"`
// Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`.
MaxResolutionTier string `json:"max_resolution_tier,omitempty"`
// The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.
// The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
EncodingTier string `json:"encoding_tier,omitempty"`
// The maximum frame rate that has been stored for the asset. The asset may be delivered at lower frame rates depending on the device and bandwidth, however it cannot be delivered at a higher value than is stored. This field may return -1 if the frame rate of the input cannot be reliably determined.
MaxStoredFrameRate float64 `json:"max_stored_frame_rate,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion model_asset_master.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 3,7 @@

package muxgo

// An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if `master_acess` is set to `none` and when the temporary URL expires.
// An object containing the current status of Master Access and the link to the Master MP4 file when ready. This object does not exist if `master_access` is set to `none` and when the temporary URL expires.
type AssetMaster struct {
Status string `json:"status,omitempty"`
// The temporary URL to the master version of the video, as an MP4 file. This URL will expire after 24 hours.
Expand Down
2 changes: 1 addition & 1 deletion model_create_asset_request.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 21,6 @@ type CreateAssetRequest struct {
Test bool `json:"test,omitempty"`
// Max resolution tier can be used to control the maximum `resolution_tier` your asset is encoded, stored, and streamed at. If not set, this defaults to `1080p`.
MaxResolutionTier string `json:"max_resolution_tier,omitempty"`
// The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used.
// The encoding tier informs the cost, quality, and available platform features for the asset. By default the `smart` encoding tier is used. [See the guide for more details.](https://docs.mux.com/guides/video/use-encoding-tiers)
EncodingTier string `json:"encoding_tier,omitempty"`
}

0 comments on commit 1c236d9

Please sign in to comment.