mux-python 4.0.0__py3-none-any.whl → 5.0.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
mux_python/__init__.py CHANGED
@@ -15,7 +15,7 @@
15
15
 
16
16
  from __future__ import absolute_import
17
17
 
18
- __version__ = "4.0.0"
18
+ __version__ = "5.0.0"
19
19
 
20
20
  # import apis into sdk package
21
21
  from mux_python.api.assets_api import AssetsApi
@@ -54,6 +54,7 @@ from mux_python.models.asset import Asset
54
54
  from mux_python.models.asset_errors import AssetErrors
55
55
  from mux_python.models.asset_generated_subtitle_settings import AssetGeneratedSubtitleSettings
56
56
  from mux_python.models.asset_master import AssetMaster
57
+ from mux_python.models.asset_metadata import AssetMetadata
57
58
  from mux_python.models.asset_non_standard_input_reasons import AssetNonStandardInputReasons
58
59
  from mux_python.models.asset_recording_times import AssetRecordingTimes
59
60
  from mux_python.models.asset_response import AssetResponse
mux_python/api_client.py CHANGED
@@ -79,7 +79,7 @@ class ApiClient(object):
79
79
  self.default_headers[header_name] = header_value
80
80
  self.cookie = cookie
81
81
  # Set default User-Agent.
82
- self.user_agent = 'Mux Python | 4.0.0'
82
+ self.user_agent = 'Mux Python | 5.0.0'
83
83
  self.client_side_validation = configuration.client_side_validation
84
84
 
85
85
  def __enter__(self):
@@ -406,7 +406,7 @@ conf = mux_python.Configuration(
406
406
  "OS: {env}\n"\
407
407
  "Python Version: {pyversion}\n"\
408
408
  "Version of the API: v1\n"\
409
- "SDK Package Version: 4.0.0".\
409
+ "SDK Package Version: 5.0.0".\
410
410
  format(env=sys.platform, pyversion=sys.version)
411
411
 
412
412
  def get_host_settings(self):
@@ -20,6 +20,7 @@ from mux_python.models.asset import Asset
20
20
  from mux_python.models.asset_errors import AssetErrors
21
21
  from mux_python.models.asset_generated_subtitle_settings import AssetGeneratedSubtitleSettings
22
22
  from mux_python.models.asset_master import AssetMaster
23
+ from mux_python.models.asset_metadata import AssetMetadata
23
24
  from mux_python.models.asset_non_standard_input_reasons import AssetNonStandardInputReasons
24
25
  from mux_python.models.asset_recording_times import AssetRecordingTimes
25
26
  from mux_python.models.asset_response import AssetResponse
@@ -65,7 +65,8 @@ class Asset(object):
65
65
  'recording_times': 'list[AssetRecordingTimes]',
66
66
  'non_standard_input_reasons': 'AssetNonStandardInputReasons',
67
67
  'test': 'bool',
68
- 'ingest_type': 'str'
68
+ 'ingest_type': 'str',
69
+ 'meta': 'AssetMetadata'
69
70
  }
70
71
 
71
72
  attribute_map = {
@@ -97,10 +98,11 @@ class Asset(object):
97
98
  'recording_times': 'recording_times',
98
99
  'non_standard_input_reasons': 'non_standard_input_reasons',
99
100
  'test': 'test',
100
- 'ingest_type': 'ingest_type'
101
+ 'ingest_type': 'ingest_type',
102
+ 'meta': 'meta'
101
103
  }
102
104
 
103
- def __init__(self, id=None, created_at=None, status=None, duration=None, max_stored_resolution=None, resolution_tier=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, max_stored_frame_rate=None, aspect_ratio=None, playback_ids=None, tracks=None, errors=None, per_title_encode=None, upload_id=None, is_live=None, passthrough=None, live_stream_id=None, master=None, master_access='none', mp4_support='none', source_asset_id=None, normalize_audio=False, static_renditions=None, recording_times=None, non_standard_input_reasons=None, test=None, ingest_type=None, local_vars_configuration=None): # noqa: E501
105
+ def __init__(self, id=None, created_at=None, status=None, duration=None, max_stored_resolution=None, resolution_tier=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, max_stored_frame_rate=None, aspect_ratio=None, playback_ids=None, tracks=None, errors=None, per_title_encode=None, upload_id=None, is_live=None, passthrough=None, live_stream_id=None, master=None, master_access='none', mp4_support='none', source_asset_id=None, normalize_audio=False, static_renditions=None, recording_times=None, non_standard_input_reasons=None, test=None, ingest_type=None, meta=None, local_vars_configuration=None): # noqa: E501
104
106
  """Asset - a model defined in OpenAPI""" # noqa: E501
105
107
  if local_vars_configuration is None:
106
108
  local_vars_configuration = Configuration.get_default_copy()
@@ -135,6 +137,7 @@ class Asset(object):
135
137
  self._non_standard_input_reasons = None
136
138
  self._test = None
137
139
  self._ingest_type = None
140
+ self._meta = None
138
141
  self.discriminator = None
139
142
 
140
143
  if id is not None:
@@ -195,6 +198,8 @@ class Asset(object):
195
198
  self.test = test
196
199
  if ingest_type is not None:
197
200
  self.ingest_type = ingest_type
201
+ if meta is not None:
202
+ self.meta = meta
198
203
 
199
204
  @property
200
205
  def id(self):
@@ -623,7 +628,7 @@ class Asset(object):
623
628
  def passthrough(self):
624
629
  """Gets the passthrough of this Asset. # noqa: E501
625
630
 
626
- Arbitrary user-supplied metadata set for the asset. Max 255 characters. # noqa: E501
631
+ You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id` , you can use the `meta` object instead. **Max: 255 characters**. # noqa: E501
627
632
 
628
633
  :return: The passthrough of this Asset. # noqa: E501
629
634
  :rtype: str
@@ -634,7 +639,7 @@ class Asset(object):
634
639
  def passthrough(self, passthrough):
635
640
  """Sets the passthrough of this Asset.
636
641
 
637
- Arbitrary user-supplied metadata set for the asset. Max 255 characters. # noqa: E501
642
+ You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id` , you can use the `meta` object instead. **Max: 255 characters**. # noqa: E501
638
643
 
639
644
  :param passthrough: The passthrough of this Asset. # noqa: E501
640
645
  :type passthrough: str
@@ -903,6 +908,27 @@ class Asset(object):
903
908
 
904
909
  self._ingest_type = ingest_type
905
910
 
911
+ @property
912
+ def meta(self):
913
+ """Gets the meta of this Asset. # noqa: E501
914
+
915
+
916
+ :return: The meta of this Asset. # noqa: E501
917
+ :rtype: AssetMetadata
918
+ """
919
+ return self._meta
920
+
921
+ @meta.setter
922
+ def meta(self, meta):
923
+ """Sets the meta of this Asset.
924
+
925
+
926
+ :param meta: The meta of this Asset. # noqa: E501
927
+ :type meta: AssetMetadata
928
+ """
929
+
930
+ self._meta = meta
931
+
906
932
  def to_dict(self, serialize=False):
907
933
  """Returns the model properties as a dict"""
908
934
  result = {}
@@ -0,0 +1,199 @@
1
+ # coding: utf-8
2
+
3
+ """
4
+ Mux API
5
+
6
+ Mux is how developers build online video. This API encompasses both Mux Video and Mux Data functionality to help you build your video-related projects better and faster than ever before. # noqa: E501
7
+
8
+ The version of the OpenAPI document: v1
9
+ Contact: devex@mux.com
10
+ Generated by: https://openapi-generator.tech
11
+ """
12
+
13
+
14
+ try:
15
+ from inspect import getfullargspec
16
+ except ImportError:
17
+ from inspect import getargspec as getfullargspec
18
+ import pprint
19
+ import re # noqa: F401
20
+ import six
21
+
22
+ from mux_python.configuration import Configuration
23
+
24
+
25
+ class AssetMetadata(object):
26
+ """NOTE: This class is auto generated by OpenAPI Generator.
27
+ Ref: https://openapi-generator.tech
28
+
29
+ Do not edit the class manually.
30
+ """
31
+
32
+ """
33
+ Attributes:
34
+ openapi_types (dict): The key is attribute name
35
+ and the value is attribute type.
36
+ attribute_map (dict): The key is attribute name
37
+ and the value is json key in definition.
38
+ """
39
+ openapi_types = {
40
+ 'title': 'str',
41
+ 'creator_id': 'str',
42
+ 'external_id': 'str'
43
+ }
44
+
45
+ attribute_map = {
46
+ 'title': 'title',
47
+ 'creator_id': 'creator_id',
48
+ 'external_id': 'external_id'
49
+ }
50
+
51
+ def __init__(self, title=None, creator_id=None, external_id=None, local_vars_configuration=None): # noqa: E501
52
+ """AssetMetadata - a model defined in OpenAPI""" # noqa: E501
53
+ if local_vars_configuration is None:
54
+ local_vars_configuration = Configuration.get_default_copy()
55
+ self.local_vars_configuration = local_vars_configuration
56
+
57
+ self._title = None
58
+ self._creator_id = None
59
+ self._external_id = None
60
+ self.discriminator = None
61
+
62
+ if title is not None:
63
+ self.title = title
64
+ if creator_id is not None:
65
+ self.creator_id = creator_id
66
+ if external_id is not None:
67
+ self.external_id = external_id
68
+
69
+ @property
70
+ def title(self):
71
+ """Gets the title of this AssetMetadata. # noqa: E501
72
+
73
+ The video title. Max 512 code points. # noqa: E501
74
+
75
+ :return: The title of this AssetMetadata. # noqa: E501
76
+ :rtype: str
77
+ """
78
+ return self._title
79
+
80
+ @title.setter
81
+ def title(self, title):
82
+ """Sets the title of this AssetMetadata.
83
+
84
+ The video title. Max 512 code points. # noqa: E501
85
+
86
+ :param title: The title of this AssetMetadata. # noqa: E501
87
+ :type title: str
88
+ """
89
+ if (self.local_vars_configuration.client_side_validation and
90
+ title is not None and len(title) > 512):
91
+ raise ValueError("Invalid value for `title`, length must be less than or equal to `512`") # noqa: E501
92
+
93
+ self._title = title
94
+
95
+ @property
96
+ def creator_id(self):
97
+ """Gets the creator_id of this AssetMetadata. # noqa: E501
98
+
99
+ This is an identifier you provide to keep track of the creator of the video. Max 128 code points. # noqa: E501
100
+
101
+ :return: The creator_id of this AssetMetadata. # noqa: E501
102
+ :rtype: str
103
+ """
104
+ return self._creator_id
105
+
106
+ @creator_id.setter
107
+ def creator_id(self, creator_id):
108
+ """Sets the creator_id of this AssetMetadata.
109
+
110
+ This is an identifier you provide to keep track of the creator of the video. Max 128 code points. # noqa: E501
111
+
112
+ :param creator_id: The creator_id of this AssetMetadata. # noqa: E501
113
+ :type creator_id: str
114
+ """
115
+ if (self.local_vars_configuration.client_side_validation and
116
+ creator_id is not None and len(creator_id) > 128):
117
+ raise ValueError("Invalid value for `creator_id`, length must be less than or equal to `128`") # noqa: E501
118
+
119
+ self._creator_id = creator_id
120
+
121
+ @property
122
+ def external_id(self):
123
+ """Gets the external_id of this AssetMetadata. # noqa: E501
124
+
125
+ This is an identifier you provide to link the video to your own data. Max 128 code points. # noqa: E501
126
+
127
+ :return: The external_id of this AssetMetadata. # noqa: E501
128
+ :rtype: str
129
+ """
130
+ return self._external_id
131
+
132
+ @external_id.setter
133
+ def external_id(self, external_id):
134
+ """Sets the external_id of this AssetMetadata.
135
+
136
+ This is an identifier you provide to link the video to your own data. Max 128 code points. # noqa: E501
137
+
138
+ :param external_id: The external_id of this AssetMetadata. # noqa: E501
139
+ :type external_id: str
140
+ """
141
+ if (self.local_vars_configuration.client_side_validation and
142
+ external_id is not None and len(external_id) > 128):
143
+ raise ValueError("Invalid value for `external_id`, length must be less than or equal to `128`") # noqa: E501
144
+
145
+ self._external_id = external_id
146
+
147
+ def to_dict(self, serialize=False):
148
+ """Returns the model properties as a dict"""
149
+ result = {}
150
+
151
+ def convert(x):
152
+ if hasattr(x, "to_dict"):
153
+ args = getfullargspec(x.to_dict).args
154
+ if len(args) == 1:
155
+ return x.to_dict()
156
+ else:
157
+ return x.to_dict(serialize)
158
+ else:
159
+ return x
160
+
161
+ for attr, _ in six.iteritems(self.openapi_types):
162
+ value = getattr(self, attr)
163
+ attr = self.attribute_map.get(attr, attr) if serialize else attr
164
+ if isinstance(value, list):
165
+ result[attr] = list(map(
166
+ lambda x: convert(x),
167
+ value
168
+ ))
169
+ elif isinstance(value, dict):
170
+ result[attr] = dict(map(
171
+ lambda item: (item[0], convert(item[1])),
172
+ value.items()
173
+ ))
174
+ else:
175
+ result[attr] = convert(value)
176
+
177
+ return result
178
+
179
+ def to_str(self):
180
+ """Returns the string representation of the model"""
181
+ return pprint.pformat(self.to_dict())
182
+
183
+ def __repr__(self):
184
+ """For `print` and `pprint`"""
185
+ return self.to_str()
186
+
187
+ def __eq__(self, other):
188
+ """Returns true if both objects are equal"""
189
+ if not isinstance(other, AssetMetadata):
190
+ return False
191
+
192
+ return self.to_dict() == other.to_dict()
193
+
194
+ def __ne__(self, other):
195
+ """Returns true if both objects are not equal"""
196
+ if not isinstance(other, AssetMetadata):
197
+ return True
198
+
199
+ return self.to_dict() != other.to_dict()
@@ -38,7 +38,9 @@ class CreateAssetRequest(object):
38
38
  """
39
39
  openapi_types = {
40
40
  'input': 'list[InputSettings]',
41
+ 'inputs': 'list[InputSettings]',
41
42
  'playback_policy': 'list[PlaybackPolicy]',
43
+ 'playback_policies': 'list[PlaybackPolicy]',
42
44
  'advanced_playback_policies': 'list[CreatePlaybackIDRequest]',
43
45
  'per_title_encode': 'bool',
44
46
  'passthrough': 'str',
@@ -49,12 +51,15 @@ class CreateAssetRequest(object):
49
51
  'max_resolution_tier': 'str',
50
52
  'encoding_tier': 'str',
51
53
  'video_quality': 'str',
52
- 'static_renditions': 'list[CreateStaticRenditionRequest]'
54
+ 'static_renditions': 'list[CreateStaticRenditionRequest]',
55
+ 'meta': 'AssetMetadata'
53
56
  }
54
57
 
55
58
  attribute_map = {
56
59
  'input': 'input',
60
+ 'inputs': 'inputs',
57
61
  'playback_policy': 'playback_policy',
62
+ 'playback_policies': 'playback_policies',
58
63
  'advanced_playback_policies': 'advanced_playback_policies',
59
64
  'per_title_encode': 'per_title_encode',
60
65
  'passthrough': 'passthrough',
@@ -65,17 +70,20 @@ class CreateAssetRequest(object):
65
70
  'max_resolution_tier': 'max_resolution_tier',
66
71
  'encoding_tier': 'encoding_tier',
67
72
  'video_quality': 'video_quality',
68
- 'static_renditions': 'static_renditions'
73
+ 'static_renditions': 'static_renditions',
74
+ 'meta': 'meta'
69
75
  }
70
76
 
71
- def __init__(self, input=None, playback_policy=None, advanced_playback_policies=None, per_title_encode=None, passthrough=None, mp4_support=None, normalize_audio=False, master_access=None, test=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, static_renditions=None, local_vars_configuration=None): # noqa: E501
77
+ def __init__(self, input=None, inputs=None, playback_policy=None, playback_policies=None, advanced_playback_policies=None, per_title_encode=None, passthrough=None, mp4_support=None, normalize_audio=False, master_access=None, test=None, max_resolution_tier=None, encoding_tier=None, video_quality=None, static_renditions=None, meta=None, local_vars_configuration=None): # noqa: E501
72
78
  """CreateAssetRequest - a model defined in OpenAPI""" # noqa: E501
73
79
  if local_vars_configuration is None:
74
80
  local_vars_configuration = Configuration.get_default_copy()
75
81
  self.local_vars_configuration = local_vars_configuration
76
82
 
77
83
  self._input = None
84
+ self._inputs = None
78
85
  self._playback_policy = None
86
+ self._playback_policies = None
79
87
  self._advanced_playback_policies = None
80
88
  self._per_title_encode = None
81
89
  self._passthrough = None
@@ -87,12 +95,17 @@ class CreateAssetRequest(object):
87
95
  self._encoding_tier = None
88
96
  self._video_quality = None
89
97
  self._static_renditions = None
98
+ self._meta = None
90
99
  self.discriminator = None
91
100
 
92
101
  if input is not None:
93
102
  self.input = input
103
+ if inputs is not None:
104
+ self.inputs = inputs
94
105
  if playback_policy is not None:
95
106
  self.playback_policy = playback_policy
107
+ if playback_policies is not None:
108
+ self.playback_policies = playback_policies
96
109
  if advanced_playback_policies is not None:
97
110
  self.advanced_playback_policies = advanced_playback_policies
98
111
  if per_title_encode is not None:
@@ -115,12 +128,14 @@ class CreateAssetRequest(object):
115
128
  self.video_quality = video_quality
116
129
  if static_renditions is not None:
117
130
  self.static_renditions = static_renditions
131
+ if meta is not None:
132
+ self.meta = meta
118
133
 
119
134
  @property
120
135
  def input(self):
121
136
  """Gets the input of this CreateAssetRequest. # noqa: E501
122
137
 
123
- An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See `input[].url` for requirements. # noqa: E501
138
+ Deprecated. Use `inputs` instead, which accepts an identical type. # noqa: E501
124
139
 
125
140
  :return: The input of this CreateAssetRequest. # noqa: E501
126
141
  :rtype: list[InputSettings]
@@ -131,7 +146,7 @@ class CreateAssetRequest(object):
131
146
  def input(self, input):
132
147
  """Sets the input of this CreateAssetRequest.
133
148
 
134
- An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See `input[].url` for requirements. # noqa: E501
149
+ Deprecated. Use `inputs` instead, which accepts an identical type. # noqa: E501
135
150
 
136
151
  :param input: The input of this CreateAssetRequest. # noqa: E501
137
152
  :type input: list[InputSettings]
@@ -139,11 +154,34 @@ class CreateAssetRequest(object):
139
154
 
140
155
  self._input = input
141
156
 
157
+ @property
158
+ def inputs(self):
159
+ """Gets the inputs of this CreateAssetRequest. # noqa: E501
160
+
161
+ An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See `input[].url` for requirements. # noqa: E501
162
+
163
+ :return: The inputs of this CreateAssetRequest. # noqa: E501
164
+ :rtype: list[InputSettings]
165
+ """
166
+ return self._inputs
167
+
168
+ @inputs.setter
169
+ def inputs(self, inputs):
170
+ """Sets the inputs of this CreateAssetRequest.
171
+
172
+ An array of objects that each describe an input file to be used to create the asset. As a shortcut, input can also be a string URL for a file when only one input file is used. See `input[].url` for requirements. # noqa: E501
173
+
174
+ :param inputs: The inputs of this CreateAssetRequest. # noqa: E501
175
+ :type inputs: list[InputSettings]
176
+ """
177
+
178
+ self._inputs = inputs
179
+
142
180
  @property
143
181
  def playback_policy(self):
144
182
  """Gets the playback_policy of this CreateAssetRequest. # noqa: E501
145
183
 
146
- An array of playback policy names that you want applied to this asset and available through `playback_ids`. Options include: * `\"public\"` (anyone with the playback URL can stream the asset). * `\"signed\"` (an additional access token is required to play the asset). If no `playback_policy` is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy. # noqa: E501
184
+ Deprecated. Use `playback_policies` instead, which accepts an identical type. # noqa: E501
147
185
 
148
186
  :return: The playback_policy of this CreateAssetRequest. # noqa: E501
149
187
  :rtype: list[PlaybackPolicy]
@@ -154,7 +192,7 @@ class CreateAssetRequest(object):
154
192
  def playback_policy(self, playback_policy):
155
193
  """Sets the playback_policy of this CreateAssetRequest.
156
194
 
157
- An array of playback policy names that you want applied to this asset and available through `playback_ids`. Options include: * `\"public\"` (anyone with the playback URL can stream the asset). * `\"signed\"` (an additional access token is required to play the asset). If no `playback_policy` is set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy. # noqa: E501
195
+ Deprecated. Use `playback_policies` instead, which accepts an identical type. # noqa: E501
158
196
 
159
197
  :param playback_policy: The playback_policy of this CreateAssetRequest. # noqa: E501
160
198
  :type playback_policy: list[PlaybackPolicy]
@@ -162,11 +200,34 @@ class CreateAssetRequest(object):
162
200
 
163
201
  self._playback_policy = playback_policy
164
202
 
203
+ @property
204
+ def playback_policies(self):
205
+ """Gets the playback_policies of this CreateAssetRequest. # noqa: E501
206
+
207
+ An array of playback policy names that you want applied to this asset and available through `playback_ids`. Options include: * `\"public\"` (anyone with the playback URL can stream the asset). * `\"signed\"` (an additional access token is required to play the asset). If no `playback_policies` are set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy. # noqa: E501
208
+
209
+ :return: The playback_policies of this CreateAssetRequest. # noqa: E501
210
+ :rtype: list[PlaybackPolicy]
211
+ """
212
+ return self._playback_policies
213
+
214
+ @playback_policies.setter
215
+ def playback_policies(self, playback_policies):
216
+ """Sets the playback_policies of this CreateAssetRequest.
217
+
218
+ An array of playback policy names that you want applied to this asset and available through `playback_ids`. Options include: * `\"public\"` (anyone with the playback URL can stream the asset). * `\"signed\"` (an additional access token is required to play the asset). If no `playback_policies` are set, the asset will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy. # noqa: E501
219
+
220
+ :param playback_policies: The playback_policies of this CreateAssetRequest. # noqa: E501
221
+ :type playback_policies: list[PlaybackPolicy]
222
+ """
223
+
224
+ self._playback_policies = playback_policies
225
+
165
226
  @property
166
227
  def advanced_playback_policies(self):
167
228
  """Gets the advanced_playback_policies of this CreateAssetRequest. # noqa: E501
168
229
 
169
- An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policy` when creating a DRM playback ID. # noqa: E501
230
+ An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policies` when creating a DRM playback ID. # noqa: E501
170
231
 
171
232
  :return: The advanced_playback_policies of this CreateAssetRequest. # noqa: E501
172
233
  :rtype: list[CreatePlaybackIDRequest]
@@ -177,7 +238,7 @@ class CreateAssetRequest(object):
177
238
  def advanced_playback_policies(self, advanced_playback_policies):
178
239
  """Sets the advanced_playback_policies of this CreateAssetRequest.
179
240
 
180
- An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policy` when creating a DRM playback ID. # noqa: E501
241
+ An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policies` when creating a DRM playback ID. # noqa: E501
181
242
 
182
243
  :param advanced_playback_policies: The advanced_playback_policies of this CreateAssetRequest. # noqa: E501
183
244
  :type advanced_playback_policies: list[CreatePlaybackIDRequest]
@@ -210,7 +271,7 @@ class CreateAssetRequest(object):
210
271
  def passthrough(self):
211
272
  """Gets the passthrough of this CreateAssetRequest. # noqa: E501
212
273
 
213
- Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. **Max: 255 characters**. # noqa: E501
274
+ You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id`, you can use the `meta` object instead. **Max: 255 characters**. # noqa: E501
214
275
 
215
276
  :return: The passthrough of this CreateAssetRequest. # noqa: E501
216
277
  :rtype: str
@@ -221,7 +282,7 @@ class CreateAssetRequest(object):
221
282
  def passthrough(self, passthrough):
222
283
  """Sets the passthrough of this CreateAssetRequest.
223
284
 
224
- Arbitrary user-supplied metadata that will be included in the asset details and related webhooks. Can be used to store your own ID for a video along with the asset. **Max: 255 characters**. # noqa: E501
285
+ You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id`, you can use the `meta` object instead. **Max: 255 characters**. # noqa: E501
225
286
 
226
287
  :param passthrough: The passthrough of this CreateAssetRequest. # noqa: E501
227
288
  :type passthrough: str
@@ -443,6 +504,27 @@ class CreateAssetRequest(object):
443
504
 
444
505
  self._static_renditions = static_renditions
445
506
 
507
+ @property
508
+ def meta(self):
509
+ """Gets the meta of this CreateAssetRequest. # noqa: E501
510
+
511
+
512
+ :return: The meta of this CreateAssetRequest. # noqa: E501
513
+ :rtype: AssetMetadata
514
+ """
515
+ return self._meta
516
+
517
+ @meta.setter
518
+ def meta(self, meta):
519
+ """Sets the meta of this CreateAssetRequest.
520
+
521
+
522
+ :param meta: The meta of this CreateAssetRequest. # noqa: E501
523
+ :type meta: AssetMetadata
524
+ """
525
+
526
+ self._meta = meta
527
+
446
528
  def to_dict(self, serialize=False):
447
529
  """Returns the model properties as a dict"""
448
530
  result = {}
@@ -38,6 +38,7 @@ class CreateLiveStreamRequest(object):
38
38
  """
39
39
  openapi_types = {
40
40
  'playback_policy': 'list[PlaybackPolicy]',
41
+ 'playback_policies': 'list[PlaybackPolicy]',
41
42
  'advanced_playback_policies': 'list[CreatePlaybackIDRequest]',
42
43
  'new_asset_settings': 'CreateAssetRequest',
43
44
  'reconnect_window': 'float',
@@ -57,6 +58,7 @@ class CreateLiveStreamRequest(object):
57
58
 
58
59
  attribute_map = {
59
60
  'playback_policy': 'playback_policy',
61
+ 'playback_policies': 'playback_policies',
60
62
  'advanced_playback_policies': 'advanced_playback_policies',
61
63
  'new_asset_settings': 'new_asset_settings',
62
64
  'reconnect_window': 'reconnect_window',
@@ -74,13 +76,14 @@ class CreateLiveStreamRequest(object):
74
76
  'max_continuous_duration': 'max_continuous_duration'
75
77
  }
76
78
 
77
- def __init__(self, playback_policy=None, advanced_playback_policies=None, new_asset_settings=None, reconnect_window=60, use_slate_for_standard_latency=False, reconnect_slate_url=None, passthrough=None, audio_only=None, embedded_subtitles=None, generated_subtitles=None, reduced_latency=None, low_latency=None, latency_mode=None, test=None, simulcast_targets=None, max_continuous_duration=43200, local_vars_configuration=None): # noqa: E501
79
+ def __init__(self, playback_policy=None, playback_policies=None, advanced_playback_policies=None, new_asset_settings=None, reconnect_window=60, use_slate_for_standard_latency=False, reconnect_slate_url=None, passthrough=None, audio_only=None, embedded_subtitles=None, generated_subtitles=None, reduced_latency=None, low_latency=None, latency_mode=None, test=None, simulcast_targets=None, max_continuous_duration=43200, local_vars_configuration=None): # noqa: E501
78
80
  """CreateLiveStreamRequest - a model defined in OpenAPI""" # noqa: E501
79
81
  if local_vars_configuration is None:
80
82
  local_vars_configuration = Configuration.get_default_copy()
81
83
  self.local_vars_configuration = local_vars_configuration
82
84
 
83
85
  self._playback_policy = None
86
+ self._playback_policies = None
84
87
  self._advanced_playback_policies = None
85
88
  self._new_asset_settings = None
86
89
  self._reconnect_window = None
@@ -100,6 +103,8 @@ class CreateLiveStreamRequest(object):
100
103
 
101
104
  if playback_policy is not None:
102
105
  self.playback_policy = playback_policy
106
+ if playback_policies is not None:
107
+ self.playback_policies = playback_policies
103
108
  if advanced_playback_policies is not None:
104
109
  self.advanced_playback_policies = advanced_playback_policies
105
110
  if new_asset_settings is not None:
@@ -135,6 +140,7 @@ class CreateLiveStreamRequest(object):
135
140
  def playback_policy(self):
136
141
  """Gets the playback_policy of this CreateLiveStreamRequest. # noqa: E501
137
142
 
143
+ Deprecated. Use `playback_policies` instead, which accepts an identical type. # noqa: E501
138
144
 
139
145
  :return: The playback_policy of this CreateLiveStreamRequest. # noqa: E501
140
146
  :rtype: list[PlaybackPolicy]
@@ -145,6 +151,7 @@ class CreateLiveStreamRequest(object):
145
151
  def playback_policy(self, playback_policy):
146
152
  """Sets the playback_policy of this CreateLiveStreamRequest.
147
153
 
154
+ Deprecated. Use `playback_policies` instead, which accepts an identical type. # noqa: E501
148
155
 
149
156
  :param playback_policy: The playback_policy of this CreateLiveStreamRequest. # noqa: E501
150
157
  :type playback_policy: list[PlaybackPolicy]
@@ -152,11 +159,34 @@ class CreateLiveStreamRequest(object):
152
159
 
153
160
  self._playback_policy = playback_policy
154
161
 
162
+ @property
163
+ def playback_policies(self):
164
+ """Gets the playback_policies of this CreateLiveStreamRequest. # noqa: E501
165
+
166
+ An array of playback policy names that you want applied to this live stream and available through `playback_ids`. Options include: * `\"public\"` (anyone with the playback URL can stream the live stream). * `\"signed\"` (an additional access token is required to play the live stream). If no `playback_policies` is set, the live stream will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy. # noqa: E501
167
+
168
+ :return: The playback_policies of this CreateLiveStreamRequest. # noqa: E501
169
+ :rtype: list[PlaybackPolicy]
170
+ """
171
+ return self._playback_policies
172
+
173
+ @playback_policies.setter
174
+ def playback_policies(self, playback_policies):
175
+ """Sets the playback_policies of this CreateLiveStreamRequest.
176
+
177
+ An array of playback policy names that you want applied to this live stream and available through `playback_ids`. Options include: * `\"public\"` (anyone with the playback URL can stream the live stream). * `\"signed\"` (an additional access token is required to play the live stream). If no `playback_policies` is set, the live stream will have no playback IDs and will therefore not be playable. For simplicity, a single string name can be used in place of the array in the case of only one playback policy. # noqa: E501
178
+
179
+ :param playback_policies: The playback_policies of this CreateLiveStreamRequest. # noqa: E501
180
+ :type playback_policies: list[PlaybackPolicy]
181
+ """
182
+
183
+ self._playback_policies = playback_policies
184
+
155
185
  @property
156
186
  def advanced_playback_policies(self):
157
187
  """Gets the advanced_playback_policies of this CreateLiveStreamRequest. # noqa: E501
158
188
 
159
- An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policy` when creating a DRM playback ID. # noqa: E501
189
+ An array of playback policy objects that you want applied on this live stream and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policies` when creating a DRM playback ID. # noqa: E501
160
190
 
161
191
  :return: The advanced_playback_policies of this CreateLiveStreamRequest. # noqa: E501
162
192
  :rtype: list[CreatePlaybackIDRequest]
@@ -167,7 +197,7 @@ class CreateLiveStreamRequest(object):
167
197
  def advanced_playback_policies(self, advanced_playback_policies):
168
198
  """Sets the advanced_playback_policies of this CreateLiveStreamRequest.
169
199
 
170
- An array of playback policy objects that you want applied to this asset and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policy` when creating a DRM playback ID. # noqa: E501
200
+ An array of playback policy objects that you want applied on this live stream and available through `playback_ids`. `advanced_playback_policies` must be used instead of `playback_policies` when creating a DRM playback ID. # noqa: E501
171
201
 
172
202
  :param advanced_playback_policies: The advanced_playback_policies of this CreateLiveStreamRequest. # noqa: E501
173
203
  :type advanced_playback_policies: list[CreatePlaybackIDRequest]
@@ -37,30 +37,35 @@ class UpdateAssetRequest(object):
37
37
  and the value is json key in definition.
38
38
  """
39
39
  openapi_types = {
40
- 'passthrough': 'str'
40
+ 'passthrough': 'str',
41
+ 'meta': 'AssetMetadata'
41
42
  }
42
43
 
43
44
  attribute_map = {
44
- 'passthrough': 'passthrough'
45
+ 'passthrough': 'passthrough',
46
+ 'meta': 'meta'
45
47
  }
46
48
 
47
- def __init__(self, passthrough=None, local_vars_configuration=None): # noqa: E501
49
+ def __init__(self, passthrough=None, meta=None, local_vars_configuration=None): # noqa: E501
48
50
  """UpdateAssetRequest - a model defined in OpenAPI""" # noqa: E501
49
51
  if local_vars_configuration is None:
50
52
  local_vars_configuration = Configuration.get_default_copy()
51
53
  self.local_vars_configuration = local_vars_configuration
52
54
 
53
55
  self._passthrough = None
56
+ self._meta = None
54
57
  self.discriminator = None
55
58
 
56
59
  if passthrough is not None:
57
60
  self.passthrough = passthrough
61
+ if meta is not None:
62
+ self.meta = meta
58
63
 
59
64
  @property
60
65
  def passthrough(self):
61
66
  """Gets the passthrough of this UpdateAssetRequest. # noqa: E501
62
67
 
63
- Arbitrary metadata set for the Asset. Max 255 characters. In order to clear this value, the field should be included with an empty string value. # noqa: E501
68
+ You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id` , you can use the `meta` object instead. **Max: 255 characters**. In order to clear this value, the field should be included with an empty string value. # noqa: E501
64
69
 
65
70
  :return: The passthrough of this UpdateAssetRequest. # noqa: E501
66
71
  :rtype: str
@@ -71,7 +76,7 @@ class UpdateAssetRequest(object):
71
76
  def passthrough(self, passthrough):
72
77
  """Sets the passthrough of this UpdateAssetRequest.
73
78
 
74
- Arbitrary metadata set for the Asset. Max 255 characters. In order to clear this value, the field should be included with an empty string value. # noqa: E501
79
+ You can set this field to anything you want. It will be included in the asset details and related webhooks. If you're looking for more structured metadata, such as `title` or `external_id` , you can use the `meta` object instead. **Max: 255 characters**. In order to clear this value, the field should be included with an empty string value. # noqa: E501
75
80
 
76
81
  :param passthrough: The passthrough of this UpdateAssetRequest. # noqa: E501
77
82
  :type passthrough: str
@@ -79,6 +84,27 @@ class UpdateAssetRequest(object):
79
84
 
80
85
  self._passthrough = passthrough
81
86
 
87
+ @property
88
+ def meta(self):
89
+ """Gets the meta of this UpdateAssetRequest. # noqa: E501
90
+
91
+
92
+ :return: The meta of this UpdateAssetRequest. # noqa: E501
93
+ :rtype: AssetMetadata
94
+ """
95
+ return self._meta
96
+
97
+ @meta.setter
98
+ def meta(self, meta):
99
+ """Sets the meta of this UpdateAssetRequest.
100
+
101
+
102
+ :param meta: The meta of this UpdateAssetRequest. # noqa: E501
103
+ :type meta: AssetMetadata
104
+ """
105
+
106
+ self._meta = meta
107
+
82
108
  def to_dict(self, serialize=False):
83
109
  """Returns the model properties as a dict"""
84
110
  result = {}
@@ -39,16 +39,18 @@ class UpdateLiveStreamNewAssetSettings(object):
39
39
  openapi_types = {
40
40
  'mp4_support': 'str',
41
41
  'master_access': 'str',
42
- 'video_quality': 'str'
42
+ 'video_quality': 'str',
43
+ 'meta': 'AssetMetadata'
43
44
  }
44
45
 
45
46
  attribute_map = {
46
47
  'mp4_support': 'mp4_support',
47
48
  'master_access': 'master_access',
48
- 'video_quality': 'video_quality'
49
+ 'video_quality': 'video_quality',
50
+ 'meta': 'meta'
49
51
  }
50
52
 
51
- def __init__(self, mp4_support=None, master_access=None, video_quality=None, local_vars_configuration=None): # noqa: E501
53
+ def __init__(self, mp4_support=None, master_access=None, video_quality=None, meta=None, local_vars_configuration=None): # noqa: E501
52
54
  """UpdateLiveStreamNewAssetSettings - a model defined in OpenAPI""" # noqa: E501
53
55
  if local_vars_configuration is None:
54
56
  local_vars_configuration = Configuration.get_default_copy()
@@ -57,6 +59,7 @@ class UpdateLiveStreamNewAssetSettings(object):
57
59
  self._mp4_support = None
58
60
  self._master_access = None
59
61
  self._video_quality = None
62
+ self._meta = None
60
63
  self.discriminator = None
61
64
 
62
65
  if mp4_support is not None:
@@ -65,6 +68,8 @@ class UpdateLiveStreamNewAssetSettings(object):
65
68
  self.master_access = master_access
66
69
  if video_quality is not None:
67
70
  self.video_quality = video_quality
71
+ if meta is not None:
72
+ self.meta = meta
68
73
 
69
74
  @property
70
75
  def mp4_support(self):
@@ -153,6 +158,27 @@ class UpdateLiveStreamNewAssetSettings(object):
153
158
 
154
159
  self._video_quality = video_quality
155
160
 
161
+ @property
162
+ def meta(self):
163
+ """Gets the meta of this UpdateLiveStreamNewAssetSettings. # noqa: E501
164
+
165
+
166
+ :return: The meta of this UpdateLiveStreamNewAssetSettings. # noqa: E501
167
+ :rtype: AssetMetadata
168
+ """
169
+ return self._meta
170
+
171
+ @meta.setter
172
+ def meta(self, meta):
173
+ """Sets the meta of this UpdateLiveStreamNewAssetSettings.
174
+
175
+
176
+ :param meta: The meta of this UpdateLiveStreamNewAssetSettings. # noqa: E501
177
+ :type meta: AssetMetadata
178
+ """
179
+
180
+ self._meta = meta
181
+
156
182
  def to_dict(self, serialize=False):
157
183
  """Returns the model properties as a dict"""
158
184
  result = {}
@@ -40,7 +40,7 @@ class Upload(object):
40
40
  'id': 'str',
41
41
  'timeout': 'int',
42
42
  'status': 'str',
43
- 'new_asset_settings': 'Asset',
43
+ 'new_asset_settings': 'CreateAssetRequest',
44
44
  'asset_id': 'str',
45
45
  'error': 'UploadError',
46
46
  'cors_origin': 'str',
@@ -181,7 +181,7 @@ class Upload(object):
181
181
 
182
182
 
183
183
  :return: The new_asset_settings of this Upload. # noqa: E501
184
- :rtype: Asset
184
+ :rtype: CreateAssetRequest
185
185
  """
186
186
  return self._new_asset_settings
187
187
 
@@ -191,7 +191,7 @@ class Upload(object):
191
191
 
192
192
 
193
193
  :param new_asset_settings: The new_asset_settings of this Upload. # noqa: E501
194
- :type new_asset_settings: Asset
194
+ :type new_asset_settings: CreateAssetRequest
195
195
  """
196
196
 
197
197
  self._new_asset_settings = new_asset_settings
@@ -214,7 +214,8 @@ class VideoView(object):
214
214
  'audio_codec': 'str',
215
215
  'video_dynamic_range_type': 'str',
216
216
  'view_cdn_edge_pop': 'str',
217
- 'view_cdn_origin': 'str'
217
+ 'view_cdn_origin': 'str',
218
+ 'video_creator_id': 'str'
218
219
  }
219
220
 
220
221
  attribute_map = {
@@ -395,10 +396,11 @@ class VideoView(object):
395
396
  'audio_codec': 'audio_codec',
396
397
  'video_dynamic_range_type': 'video_dynamic_range_type',
397
398
  'view_cdn_edge_pop': 'view_cdn_edge_pop',
398
- 'view_cdn_origin': 'view_cdn_origin'
399
+ 'view_cdn_origin': 'view_cdn_origin',
400
+ 'video_creator_id': 'video_creator_id'
399
401
  }
400
402
 
401
- def __init__(self, view_total_upscaling=None, preroll_ad_asset_hostname=None, player_source_domain=None, region=None, viewer_user_agent=None, preroll_requested=None, page_type=None, startup_score=None, view_seek_duration=None, country_name=None, player_source_height=None, longitude=None, buffering_count=None, video_duration=None, player_source_type=None, city=None, view_id=None, platform_description=None, video_startup_preroll_request_time=None, viewer_device_name=None, video_series=None, viewer_application_name=None, updated_at=None, view_total_content_playback_time=None, cdn=None, player_instance_id=None, video_language=None, player_source_width=None, player_error_message=None, player_mux_plugin_version=None, watched=None, playback_score=None, page_url=None, metro=None, view_max_request_latency=None, requests_for_first_preroll=None, view_total_downscaling=None, latitude=None, player_source_host_name=None, inserted_at=None, view_end=None, mux_embed_version=None, player_language=None, page_load_time=None, viewer_device_category=None, video_startup_preroll_load_time=None, player_version=None, watch_time=None, player_source_stream_type=None, preroll_ad_tag_hostname=None, viewer_device_manufacturer=None, rebuffering_score=None, experiment_name=None, viewer_os_version=None, player_preload=None, buffering_duration=None, player_view_count=None, player_software=None, player_load_time=None, platform_summary=None, video_encoding_variant=None, player_width=None, view_seek_count=None, viewer_experience_score=None, view_error_id=None, video_variant_name=None, preroll_played=None, viewer_application_engine=None, viewer_os_architecture=None, player_error_code=None, buffering_rate=None, events=None, player_name=None, view_start=None, view_average_request_throughput=None, video_producer=None, error_type_id=None, mux_viewer_id=None, video_id=None, continent_code=None, session_id=None, exit_before_video_start=None, video_content_type=None, viewer_os_family=None, player_poster=None, view_average_request_latency=None, video_variant_id=None, player_source_duration=None, player_source_url=None, mux_api_version=None, video_title=None, id=None, short_time=None, rebuffer_percentage=None, time_to_first_frame=None, viewer_user_id=None, video_stream_type=None, player_startup_time=None, viewer_application_version=None, view_max_downscale_percentage=None, view_max_upscale_percentage=None, country_code=None, used_fullscreen=None, isp=None, property_id=None, player_autoplay=None, player_height=None, asn=None, asn_name=None, quality_score=None, player_software_version=None, player_mux_plugin_name=None, sub_property_id=None, player_remote_played=None, view_max_playhead_position=None, view_playing_time=None, view_session_id=None, viewer_connection_type=None, viewer_device_model=None, weighted_average_bitrate=None, custom_1=None, custom_2=None, custom_3=None, custom_4=None, custom_5=None, custom_6=None, custom_7=None, custom_8=None, custom_9=None, custom_10=None, live_stream_latency=None, asset_id=None, environment_id=None, live_stream_id=None, mux_embed=None, playback_id=None, player_error_context=None, view_drm_type=None, view_dropped_frame_count=None, view_has_ad=None, video_startup_failure=None, ad_attempt_count=None, ad_break_count=None, ad_break_error_count=None, ad_break_error_percentage=None, ad_error_count=None, ad_error_percentage=None, ad_impression_count=None, ad_startup_error_count=None, ad_startup_error_percentage=None, ad_exit_before_start_count=None, ad_exit_before_start_percentage=None, long_resume=None, long_rebuffering=None, playback_failure_error_type_id=None, playback_business_exception_error_type_id=None, video_startup_business_exception_error_type_id=None, playback_failure=None, ad_playback_failure_error_type_id=None, view_content_startup_time=None, ad_preroll_startup_time=None, view_dropped=None, client_application_name=None, client_application_version=None, video_affiliate=None, viewer_plan=None, viewer_plan_status=None, viewer_plan_category=None, view_drm_level=None, video_brand=None, used_pip=None, time_shift_enabled=None, used_captions=None, video_codec=None, audio_codec=None, video_dynamic_range_type=None, view_cdn_edge_pop=None, view_cdn_origin=None, local_vars_configuration=None): # noqa: E501
403
+ def __init__(self, view_total_upscaling=None, preroll_ad_asset_hostname=None, player_source_domain=None, region=None, viewer_user_agent=None, preroll_requested=None, page_type=None, startup_score=None, view_seek_duration=None, country_name=None, player_source_height=None, longitude=None, buffering_count=None, video_duration=None, player_source_type=None, city=None, view_id=None, platform_description=None, video_startup_preroll_request_time=None, viewer_device_name=None, video_series=None, viewer_application_name=None, updated_at=None, view_total_content_playback_time=None, cdn=None, player_instance_id=None, video_language=None, player_source_width=None, player_error_message=None, player_mux_plugin_version=None, watched=None, playback_score=None, page_url=None, metro=None, view_max_request_latency=None, requests_for_first_preroll=None, view_total_downscaling=None, latitude=None, player_source_host_name=None, inserted_at=None, view_end=None, mux_embed_version=None, player_language=None, page_load_time=None, viewer_device_category=None, video_startup_preroll_load_time=None, player_version=None, watch_time=None, player_source_stream_type=None, preroll_ad_tag_hostname=None, viewer_device_manufacturer=None, rebuffering_score=None, experiment_name=None, viewer_os_version=None, player_preload=None, buffering_duration=None, player_view_count=None, player_software=None, player_load_time=None, platform_summary=None, video_encoding_variant=None, player_width=None, view_seek_count=None, viewer_experience_score=None, view_error_id=None, video_variant_name=None, preroll_played=None, viewer_application_engine=None, viewer_os_architecture=None, player_error_code=None, buffering_rate=None, events=None, player_name=None, view_start=None, view_average_request_throughput=None, video_producer=None, error_type_id=None, mux_viewer_id=None, video_id=None, continent_code=None, session_id=None, exit_before_video_start=None, video_content_type=None, viewer_os_family=None, player_poster=None, view_average_request_latency=None, video_variant_id=None, player_source_duration=None, player_source_url=None, mux_api_version=None, video_title=None, id=None, short_time=None, rebuffer_percentage=None, time_to_first_frame=None, viewer_user_id=None, video_stream_type=None, player_startup_time=None, viewer_application_version=None, view_max_downscale_percentage=None, view_max_upscale_percentage=None, country_code=None, used_fullscreen=None, isp=None, property_id=None, player_autoplay=None, player_height=None, asn=None, asn_name=None, quality_score=None, player_software_version=None, player_mux_plugin_name=None, sub_property_id=None, player_remote_played=None, view_max_playhead_position=None, view_playing_time=None, view_session_id=None, viewer_connection_type=None, viewer_device_model=None, weighted_average_bitrate=None, custom_1=None, custom_2=None, custom_3=None, custom_4=None, custom_5=None, custom_6=None, custom_7=None, custom_8=None, custom_9=None, custom_10=None, live_stream_latency=None, asset_id=None, environment_id=None, live_stream_id=None, mux_embed=None, playback_id=None, player_error_context=None, view_drm_type=None, view_dropped_frame_count=None, view_has_ad=None, video_startup_failure=None, ad_attempt_count=None, ad_break_count=None, ad_break_error_count=None, ad_break_error_percentage=None, ad_error_count=None, ad_error_percentage=None, ad_impression_count=None, ad_startup_error_count=None, ad_startup_error_percentage=None, ad_exit_before_start_count=None, ad_exit_before_start_percentage=None, long_resume=None, long_rebuffering=None, playback_failure_error_type_id=None, playback_business_exception_error_type_id=None, video_startup_business_exception_error_type_id=None, playback_failure=None, ad_playback_failure_error_type_id=None, view_content_startup_time=None, ad_preroll_startup_time=None, view_dropped=None, client_application_name=None, client_application_version=None, video_affiliate=None, viewer_plan=None, viewer_plan_status=None, viewer_plan_category=None, view_drm_level=None, video_brand=None, used_pip=None, time_shift_enabled=None, used_captions=None, video_codec=None, audio_codec=None, video_dynamic_range_type=None, view_cdn_edge_pop=None, view_cdn_origin=None, video_creator_id=None, local_vars_configuration=None): # noqa: E501
402
404
  """VideoView - a model defined in OpenAPI""" # noqa: E501
403
405
  if local_vars_configuration is None:
404
406
  local_vars_configuration = Configuration.get_default_copy()
@@ -582,6 +584,7 @@ class VideoView(object):
582
584
  self._video_dynamic_range_type = None
583
585
  self._view_cdn_edge_pop = None
584
586
  self._view_cdn_origin = None
587
+ self._video_creator_id = None
585
588
  self.discriminator = None
586
589
 
587
590
  self.view_total_upscaling = view_total_upscaling
@@ -789,6 +792,7 @@ class VideoView(object):
789
792
  self.video_dynamic_range_type = video_dynamic_range_type
790
793
  self.view_cdn_edge_pop = view_cdn_edge_pop
791
794
  self.view_cdn_origin = view_cdn_origin
795
+ self.video_creator_id = video_creator_id
792
796
 
793
797
  @property
794
798
  def view_total_upscaling(self):
@@ -4528,6 +4532,27 @@ class VideoView(object):
4528
4532
 
4529
4533
  self._view_cdn_origin = view_cdn_origin
4530
4534
 
4535
+ @property
4536
+ def video_creator_id(self):
4537
+ """Gets the video_creator_id of this VideoView. # noqa: E501
4538
+
4539
+
4540
+ :return: The video_creator_id of this VideoView. # noqa: E501
4541
+ :rtype: str
4542
+ """
4543
+ return self._video_creator_id
4544
+
4545
+ @video_creator_id.setter
4546
+ def video_creator_id(self, video_creator_id):
4547
+ """Sets the video_creator_id of this VideoView.
4548
+
4549
+
4550
+ :param video_creator_id: The video_creator_id of this VideoView. # noqa: E501
4551
+ :type video_creator_id: str
4552
+ """
4553
+
4554
+ self._video_creator_id = video_creator_id
4555
+
4531
4556
  def to_dict(self, serialize=False):
4532
4557
  """Returns the model properties as a dict"""
4533
4558
  result = {}
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.2
1
+ Metadata-Version: 2.4
2
2
  Name: mux_python
3
- Version: 4.0.0
3
+ Version: 5.0.0
4
4
  Summary: Mux API
5
5
  Home-page: https://github.com/muxinc/mux-python
6
6
  Author: Mux DevEx
@@ -19,6 +19,7 @@ Dynamic: description-content-type
19
19
  Dynamic: home-page
20
20
  Dynamic: keywords
21
21
  Dynamic: license
22
+ Dynamic: license-file
22
23
  Dynamic: requires-dist
23
24
  Dynamic: summary
24
25
 
@@ -1,6 +1,6 @@
1
- mux_python/__init__.py,sha256=BI7fjYdOF45XTgWq62pOfpem1iqhGd16A4lmOozEqrg,14665
2
- mux_python/api_client.py,sha256=4qrQMFDwu7PKbybHp30z2n2gB9vCtf0J_r4WGw5pigo,27513
3
- mux_python/configuration.py,sha256=ijHCbVyqMpPphURoBZNQZe-N80nj2YOyfOyrH4q3OMU,16923
1
+ mux_python/__init__.py,sha256=slpRbrnMFHhDe35CmaiFWJaJlnJznAyQnYDIrOrPe3M,14724
2
+ mux_python/api_client.py,sha256=40Wf1VTJVuaxayxHA6FkRSASCqY4tXF57jlMAlV1PW0,27513
3
+ mux_python/configuration.py,sha256=aF46atXyfEBHcJ5TQWAzF7kFklSbL_6PYu_ZpFxLWG4,16923
4
4
  mux_python/exceptions.py,sha256=lu9AENO-CBMVbWjBHO8vi1rdqlZXPGu9NrzyC1_RsjQ,5235
5
5
  mux_python/rest.py,sha256=wV5uJQSjPCP6fs25NkiqjNt-OrPa9ueXy7pT0k0PRcM,12757
6
6
  mux_python/api/__init__.py,sha256=CWdpQp9XQQi3eQSN01Hp8o8Nn9JW68CcP7AVrmcyVSc,1266
@@ -25,12 +25,13 @@ mux_python/api/transcription_vocabularies_api.py,sha256=RvsFeYWEmw3Js-7zlcvPqlr8
25
25
  mux_python/api/url_signing_keys_api.py,sha256=YuuOlz-tVSsvOx8vxq-NU0ioGN5ZiRtj4vuxiNWjBNc,26365
26
26
  mux_python/api/video_views_api.py,sha256=h2QEPXzj2erBsj8dzenIfXQdSY2GSnfSwIk5PzIxtHw,18104
27
27
  mux_python/api/web_inputs_api.py,sha256=lZXsyyscHWXgNUoME_3KGZ3AKm8wJfmnLT8cUQcUUng,50484
28
- mux_python/models/__init__.py,sha256=l-D08wEm82FWr91AqyMhWoKymHVLoD_ew0YGfRAQwC0,13026
28
+ mux_python/models/__init__.py,sha256=b-Fena_uWNyuC0KTyAkrhFXjyrL2erJ3bUNsmk3KnjY,13085
29
29
  mux_python/models/abridged_video_view.py,sha256=fVdfiPi04UFfB-DRKiK28uX1ZxguUM0PQc9L5St-1DM,14123
30
- mux_python/models/asset.py,sha256=07MW8ZauzdXHYQWHOUPqBl4me-CG6sg5k8FbS9Rv5lQ,36242
30
+ mux_python/models/asset.py,sha256=oQV3zlGmCiFRaUN92XiG_jtgSyOX676GTnijTwS2qgs,37192
31
31
  mux_python/models/asset_errors.py,sha256=UP6Awo6jXy0aOBifSKMTphOTjrk2LREP2RuZmtDfjPY,4638
32
32
  mux_python/models/asset_generated_subtitle_settings.py,sha256=s5BZO-flEmvarlWQ5tj_RdrxhDYorCOIgysg09aAkoU,6392
33
33
  mux_python/models/asset_master.py,sha256=_ayfkgozlG529VEBoQYV-IOx4vewOfvbQyWuvJtVWpg,4925
34
+ mux_python/models/asset_metadata.py,sha256=HBwDpE-GzOPg831PO6OrnOBgQZJP1gGM9ow9eQC5Qz4,6533
34
35
  mux_python/models/asset_non_standard_input_reasons.py,sha256=eTptcFUWX4PckLKB_vkSwK_pU2L2lCEv-WiH_CBml9g,18719
35
36
  mux_python/models/asset_recording_times.py,sha256=MmRAstj7mue0_lRfVvYKYvzzM2cdevvSxmA9h5zTiGM,6422
36
37
  mux_python/models/asset_response.py,sha256=6-mqYBqWr2Oq0tBSv0BPXfx41LSUp4poizCIi-TGvrI,3728
@@ -42,9 +43,9 @@ mux_python/models/broadcast_layout.py,sha256=hvASMNyKZjIAuIzHGJTUy-3PeNGvZmJdWPA
42
43
  mux_python/models/broadcast_resolution.py,sha256=78lSaCEnWdQbUrp5q89zsoiSkhUqkIV_ikSvWfv5_lg,3474
43
44
  mux_python/models/broadcast_response.py,sha256=mmgLTTzsFiQDCdTnKsyAzjbDw3ZETrazXD1eePj2wMk,3926
44
45
  mux_python/models/broadcast_status.py,sha256=2WpyT7kJRz4FyblKGTXWhX-qbdfYIlRrtbQW_Qsq83M,3278
45
- mux_python/models/create_asset_request.py,sha256=dMY1jK3inn7H7o5Xqls_o81FPhxEauhSb5Nj7fgbgnI,24753
46
+ mux_python/models/create_asset_request.py,sha256=_4IBak4612pFSeyFwnvDqbiVEtcEU7ltnarlgftmIoI,27531
46
47
  mux_python/models/create_broadcast_request.py,sha256=KnjNu2Tu_jI-VmR_xlapOs4ii4yrNl4MycC5jqtnRJQ,7905
47
- mux_python/models/create_live_stream_request.py,sha256=wkAfM41p81I_Gn8G3aLjer6olDxixZUTSOXR5h6I2LU,28258
48
+ mux_python/models/create_live_stream_request.py,sha256=9WURx_UJ6qatgCpkgurECvRdrM9Nr8XqKueCXoPVo1s,30494
48
49
  mux_python/models/create_playback_id_request.py,sha256=3nLOSqkFaUlrKpuOrOcgfjDxCHaeay_eBT1LdApI2PI,5075
49
50
  mux_python/models/create_playback_id_response.py,sha256=NqLIcgJvvjWKYftzaOEw4KZ7Mmzz6oB0yKf1cN_MNXk,3831
50
51
  mux_python/models/create_playback_restriction_request.py,sha256=hDCn4onYURxQTNnSc-2MuIRGXgv6x57pK01SZ1kJqIc,4884
@@ -174,28 +175,28 @@ mux_python/models/transcription_vocabulary.py,sha256=y3FR0qjcC4LvFnWpbuDZxAsbC33
174
175
  mux_python/models/transcription_vocabulary_response.py,sha256=rfND99sXXpKHXCeQI0q5RXtoic-ygPo4J-113zwWgxE,3926
175
176
  mux_python/models/update_asset_master_access_request.py,sha256=kaRVch7uRY7zLPMdcMrfQeud_t79-9qb7pQBT4PuJis,4576
176
177
  mux_python/models/update_asset_mp4_support_request.py,sha256=uMNLwKbK-wMsfh7W7Tj9hfiea4rWzDohw_NyC5jx4FE,6266
177
- mux_python/models/update_asset_request.py,sha256=04mSm89TGQ0p6UwhCoOcI3wTMhiZZcUdYMECGen4A4E,4243
178
+ mux_python/models/update_asset_request.py,sha256=bNYg9jv6XMND_wAG8PcKZlWHnK7Ghk2Ht2ovQ1HzrZs,5273
178
179
  mux_python/models/update_live_stream_embedded_subtitles_request.py,sha256=IZLtEWa59QiChleoTt9lCnK7M81-WjiPj-q_T7Kmj_Y,4537
179
180
  mux_python/models/update_live_stream_generated_subtitles_request.py,sha256=dslbJIFHCuR7cVjuFkCsdnRr91tKpCnaOxEtSAOJyLc,4653
180
- mux_python/models/update_live_stream_new_asset_settings.py,sha256=TKtFVtKvzE9mQ_lp-7k01wzuBlAvgAcjwjP9LN2PKEA,9920
181
+ mux_python/models/update_live_stream_new_asset_settings.py,sha256=PoC47Lnf3sWLxNG_Vec6g2CSlIcpmTDvJDsR7IS3-os,10612
181
182
  mux_python/models/update_live_stream_new_asset_settings_static_renditions_request.py,sha256=pJMhNKskdNfzuOt4sgtvbFUrSUtklFpKziqe1vI6vxE,4424
182
183
  mux_python/models/update_live_stream_request.py,sha256=1Z9UMejAHBkHYrRJUoCFXSbtASYUc7qUBW4zadvfPIg,15524
183
184
  mux_python/models/update_referrer_domain_restriction_request.py,sha256=7L17QUbVhSzp97TkfHWSYt3L-ZMuuHwHfSxNogh8bLA,6450
184
185
  mux_python/models/update_transcription_vocabulary_request.py,sha256=fIj42iA8X_l_eZNLm3dG60y7NfacwymJNXoEzJsMuJQ,6858
185
186
  mux_python/models/update_user_agent_restriction_request.py,sha256=EW3QXiqgNUkBXq0dKA0_I0q2JNyK_iYUCYkTulxMOEA,5753
186
187
  mux_python/models/update_web_input_url_request.py,sha256=1icKY-3MaTyQLUALb3fFwiP32c2iunXcERalGsOHKGU,3903
187
- mux_python/models/upload.py,sha256=sn4PXqDnvOrMMhk6nK3YIWjK1a66qnAzLdgwI1WGUAc,11048
188
+ mux_python/models/upload.py,sha256=ecYqRJs_hluN-_TUE-xGGxD-zuYzqZxqbdzFYfUAuxY,11087
188
189
  mux_python/models/upload_error.py,sha256=GD7Th772JzVR0odgO57NnCMEMvf3sYSJZFO9fQcKOXA,4551
189
190
  mux_python/models/upload_response.py,sha256=EG08po3n3sbUMdAUskFRrEJUCOO8A9Ar98IRXsnUbtI,3739
190
191
  mux_python/models/user_agent_restriction_request.py,sha256=SBRqgi37CPkrL1tlhkJTA7BIcI2VKO-mi1RS7vDcUms,5681
191
192
  mux_python/models/user_agent_restriction_settings.py,sha256=x19yu47mLAmqdvX4C0Renci6_zkhiYMtEoKhGpqzs4k,5693
192
- mux_python/models/video_view.py,sha256=UDx4BDheIyY_NGH3IP4q-mEKvJGbsAFdrY3yA8flUaM,144844
193
+ mux_python/models/video_view.py,sha256=5Hs_9oQwPxA1nXUv_mMw1WLw9_haz_xsj-O3YkTfbaI,145621
193
194
  mux_python/models/video_view_event.py,sha256=DEIoAJQaflQiCe-LzZ1FpSVzfphd60gguRMI_49PMmE,6657
194
195
  mux_python/models/video_view_response.py,sha256=WIZxYDoRy2bV_3pM9bh77yQl-u44v9tttqVcjkl7u9U,5286
195
196
  mux_python/models/web_input.py,sha256=iiWvX2zHyUVaONykYD91OrAbtWibkEmxnZVybdk-Wpo,11494
196
197
  mux_python/models/web_input_response.py,sha256=CK4fRkjFyybGkroi2p_IrJuYY-zrkOts43pb04KZJmA,3761
197
- mux_python-4.0.0.dist-info/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
198
- mux_python-4.0.0.dist-info/METADATA,sha256=spjPW6jvnwKcyeb2MkZIuf87-U7bf87VX40KG4A140U,6980
199
- mux_python-4.0.0.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
200
- mux_python-4.0.0.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
201
- mux_python-4.0.0.dist-info/RECORD,,
198
+ mux_python-5.0.0.dist-info/licenses/LICENSE,sha256=91ofDzpAlU0g_rBGCekCqHSM43zE-F_o0VKuVnvDGcg,1049
199
+ mux_python-5.0.0.dist-info/METADATA,sha256=LayRKFblNetdNvi7LqLG1r4XgPbwtzrqHElYJ06FRKk,7002
200
+ mux_python-5.0.0.dist-info/WHEEL,sha256=CmyFI0kx5cdEMTLiONQRbGQwjIoR1aIYB7eCAQ4KPJ0,91
201
+ mux_python-5.0.0.dist-info/top_level.txt,sha256=tKyLMk1WAr8sVt4DdWCD5fslQ482AxVCZw1GzgvALSc,11
202
+ mux_python-5.0.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.0)
2
+ Generator: setuptools (78.1.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5