Skip to content

Commit 44d7c7a

Browse files
authored
Regenerate for 0.8.0 release (muxinc#13)
1 parent a657a74 commit 44d7c7a

14 files changed

+15
-7
lines changed

‎client.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ var (
2929
xmlCheck = regexp.MustCompile("(?i:[application|text]/xml)")
3030
)
3131

32-
// APIClient manages communication with the Mux Video API vv1
32+
// APIClient manages communication with the Mux API API vv1
3333
// In most cases there should be only one, shared, APIClient.
3434
type APIClient struct {
3535
cfg *Configuration

‎configuration.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ type ConfigurationOption func(*Configuration)
2222
func NewConfiguration(opts ...ConfigurationOption) *Configuration {
2323
cfg := &Configuration{
2424
basePath: "https://api.mux.com",
25-
userAgent: "Mux Go | 0.7.0",
25+
userAgent: "Mux Go | 0.8.0",
2626
}
2727
for _, opt := range opts {
2828
opt(cfg)

‎docs/Asset.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ Name | Type | Description | Notes
1313
**AspectRatio** | **string** | | [optional]
1414
**PlaybackIds** | [**[]PlaybackId**](PlaybackID.md) | | [optional]
1515
**Tracks** | [**[]Track**](Track.md) | | [optional]
16-
**Demo** | **bool** | | [optional]
1716
**Errors** | [**AssetErrors**](Asset_errors.md) | | [optional]
1817
**PerTitleEncode** | **bool** | | [optional]
1918
**IsLive** | **bool** | | [optional]
@@ -24,6 +23,7 @@ Name | Type | Description | Notes
2423
**Mp4Support** | **string** | | [optional] [default to MP4_SUPPORT_NONE]
2524
**NormalizeAudio** | **bool** | | [optional] [default to false]
2625
**StaticRenditions** | [**AssetStaticRenditions**](Asset_static_renditions.md) | | [optional]
26+
**Test** | **bool** | | [optional]
2727

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

‎docs/CreateAssetRequest.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
66
**Input** | [**[]InputSettings**](InputSettings.md) | | [optional]
77
**PlaybackPolicy** | [**[]PlaybackPolicy**](PlaybackPolicy.md) | | [optional]
8-
**Demo** | **bool** | | [optional]
98
**PerTitleEncode** | **bool** | | [optional]
109
**Passthrough** | **string** | | [optional]
1110
**Mp4Support** | **string** | | [optional]
1211
**NormalizeAudio** | **bool** | Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets. | [optional] [default to false]
1312
**MasterAccess** | **string** | | [optional]
13+
**Test** | **bool** | | [optional]
1414

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

‎docs/CreateLiveStreamRequest.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
88
**ReconnectWindow** | **float32** | When live streaming software disconnects from Mux, either intentionally or due to a drop in the network, the Reconnect Window is the time in seconds that Mux should wait for the streaming software to reconnect before considering the live stream finished and completing the recorded asset. Defaults to 60 seconds on the API if not specified. | [optional]
99
**Passthrough** | **string** | | [optional]
1010
**ReducedLatency** | **bool** | Latency is the time from when the streamer does something in real life to when you see it happen in the player. Set this if you want lower latency for your live stream. Note: Reconnect windows are incompatible with Reduced Latency and will always be set to zero (0) seconds. Read more here: https://mux.com/blog/reduced-latency-for-mux-live-streaming-now-available/ | [optional]
11+
**Test** | **bool** | | [optional]
1112

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

‎docs/CreateUploadRequest.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
66
**Timeout** | **int32** | 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]
77
**CorsOrigin** | **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]
88
**NewAssetSettings** | [**CreateAssetRequest**](CreateAssetRequest.md) | |
9+
**Test** | **bool** | | [optional]
910

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

‎docs/LiveStream.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ Name | Type | Description | Notes
1515
**ReconnectWindow** | **float32** | | [optional]
1616
**ReducedLatency** | **bool** | | [optional]
1717
**SimulcastTargets** | [**[]SimulcastTarget**](SimulcastTarget.md) | | [optional]
18+
**Test** | **bool** | | [optional]
1819

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

‎docs/Upload.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Name | Type | Description | Notes
1111
**Error** | [**UploadError**](Upload_error.md) | | [optional]
1212
**CorsOrigin** | **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]
1313
**Url** | **string** | The URL to upload the associated source media to. | [optional]
14+
**Test** | **bool** | | [optional]
1415

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

‎model_asset.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ type Asset struct {
1414
AspectRatio string `json:"aspect_ratio,omitempty"`
1515
PlaybackIds []PlaybackId `json:"playback_ids,omitempty"`
1616
Tracks []Track `json:"tracks,omitempty"`
17-
Demo bool `json:"demo,omitempty"`
1817
Errors AssetErrors `json:"errors,omitempty"`
1918
PerTitleEncode bool `json:"per_title_encode,omitempty"`
2019
IsLive bool `json:"is_live,omitempty"`
@@ -25,4 +24,5 @@ type Asset struct {
2524
Mp4Support string `json:"mp4_support,omitempty"`
2625
NormalizeAudio bool `json:"normalize_audio,omitempty"`
2726
StaticRenditions AssetStaticRenditions `json:"static_renditions,omitempty"`
27+
Test bool `json:"test,omitempty"`
2828
}

‎model_create_asset_request.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ package muxgo
66
type CreateAssetRequest struct {
77
Input []InputSettings `json:"input,omitempty"`
88
PlaybackPolicy []PlaybackPolicy `json:"playback_policy,omitempty"`
9-
Demo bool `json:"demo,omitempty"`
109
PerTitleEncode bool `json:"per_title_encode,omitempty"`
1110
Passthrough string `json:"passthrough,omitempty"`
1211
Mp4Support string `json:"mp4_support,omitempty"`
1312
// Normalize the audio track loudness level. This parameter is only applicable to on-demand (not live) assets.
1413
NormalizeAudio bool `json:"normalize_audio,omitempty"`
1514
MasterAccess string `json:"master_access,omitempty"`
15+
Test bool `json:"test,omitempty"`
1616
}

0 commit comments

Comments
 (0)