diff --git a/docs/CreateLiveStreamRequest.md b/docs/CreateLiveStreamRequest.md index 5037163..033bfbe 100644 --- a/docs/CreateLiveStreamRequest.md +++ b/docs/CreateLiveStreamRequest.md @@ -5,6 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **playback_policy** | [**list[PlaybackPolicy]**](PlaybackPolicy.md) | | [optional] **new_asset_settings** | [**CreateAssetRequest**](CreateAssetRequest.md) | | [optional] +**reconnect_window** | **float** | 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. Default: 60 seconds | [optional] [default to 60] +**passthrough** | **str** | | [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) diff --git a/docs/GetMetricTimeseriesDataResponse.md b/docs/GetMetricTimeseriesDataResponse.md index 7763a1f..7d850b8 100644 --- a/docs/GetMetricTimeseriesDataResponse.md +++ b/docs/GetMetricTimeseriesDataResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **list[list[str]]** | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/GetOverallValuesResponse.md b/docs/GetOverallValuesResponse.md index c62ff78..b809728 100644 --- a/docs/GetOverallValuesResponse.md +++ b/docs/GetOverallValuesResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**OverallValues**](OverallValues.md) | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/Insight.md b/docs/Insight.md index 3a449b1..1400ce5 100644 --- a/docs/Insight.md +++ b/docs/Insight.md @@ -5,8 +5,8 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **total_watch_time** | **int** | | [optional] **total_views** | **int** | | [optional] -**negative_impact_score** | **int** | | [optional] -**metric** | **int** | | [optional] +**negative_impact_score** | **float** | | [optional] +**metric** | **float** | | [optional] **filter_value** | **str** | | [optional] **filter_column** | **str** | | [optional] diff --git a/docs/ListAllMetricValuesResponse.md b/docs/ListAllMetricValuesResponse.md index a315b4a..914f4fe 100644 --- a/docs/ListAllMetricValuesResponse.md +++ b/docs/ListAllMetricValuesResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**list[Score]**](Score.md) | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/ListBreakdownValuesResponse.md b/docs/ListBreakdownValuesResponse.md index e6e5ebd..71766fd 100644 --- a/docs/ListBreakdownValuesResponse.md +++ b/docs/ListBreakdownValuesResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**list[BreakdownValue]**](BreakdownValue.md) | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/ListErrorsResponse.md b/docs/ListErrorsResponse.md index 75919d5..063c1ff 100644 --- a/docs/ListErrorsResponse.md +++ b/docs/ListErrorsResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**list[Error]**](Error.md) | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/ListExportsResponse.md b/docs/ListExportsResponse.md index dab193b..2da57ad 100644 --- a/docs/ListExportsResponse.md +++ b/docs/ListExportsResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | **list[str]** | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/ListFilterValuesResponse.md b/docs/ListFilterValuesResponse.md index fb8cb9a..ca13dc4 100644 --- a/docs/ListFilterValuesResponse.md +++ b/docs/ListFilterValuesResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**list[FilterValue]**](FilterValue.md) | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/ListFiltersResponse.md b/docs/ListFiltersResponse.md index 6342909..ea82c73 100644 --- a/docs/ListFiltersResponse.md +++ b/docs/ListFiltersResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**ListFiltersResponseData**](ListFiltersResponseData.md) | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/ListInsightsResponse.md b/docs/ListInsightsResponse.md index c20de0c..02cf57a 100644 --- a/docs/ListInsightsResponse.md +++ b/docs/ListInsightsResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**list[Insight]**](Insight.md) | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/ListVideoViewsResponse.md b/docs/ListVideoViewsResponse.md index bb6ef75..f590e15 100644 --- a/docs/ListVideoViewsResponse.md +++ b/docs/ListVideoViewsResponse.md @@ -5,7 +5,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**list[AbridgedVideoView]**](AbridgedVideoView.md) | | [optional] **total_row_count** | **int** | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/docs/VideoViewResponse.md b/docs/VideoViewResponse.md index 39e85a9..ccae0e4 100644 --- a/docs/VideoViewResponse.md +++ b/docs/VideoViewResponse.md @@ -4,7 +4,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **data** | [**VideoView**](.md) | | [optional] -**timeframe** | **list[str]** | | [optional] +**timeframe** | **list[int]** | | [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) diff --git a/examples/data/exercise-errors.py b/examples/data/exercise-errors.py index d76525a..5c582cf 100644 --- a/examples/data/exercise-errors.py +++ b/examples/data/exercise-errors.py @@ -7,20 +7,19 @@ from mux_python.rest import NotFoundException import logger -# Exercises all asset operations: +# Exercises all error operations: # list-errors # Authentication Setup configuration = mux_python.Configuration() configuration.username = os.environ['MUX_TOKEN_ID'] configuration.password = os.environ['MUX_TOKEN_SECRET'] -configuration.debug = True # API Client Initialization errors_api = mux_python.ErrorsApi(mux_python.ApiClient(configuration)) # ========== list-errors ========== -list_errors_response = errors_api.list_errors(filters=['browser:Firefox'], timeframe=['7:days']) +list_errors_response = errors_api.list_errors(filters=['browser:Chrome'], timeframe=['7:days']) logger.print_debug('List Errors Response: ' + str(list_errors_response)) assert list_errors_response != None assert list_errors_response.data != None diff --git a/examples/data/exercise-metrics.py b/examples/data/exercise-metrics.py index ba772e6..09f8dfa 100644 --- a/examples/data/exercise-metrics.py +++ b/examples/data/exercise-metrics.py @@ -7,7 +7,7 @@ from mux_python.rest import NotFoundException import logger -# Exercises all asset operations: +# Exercises all metrics operations: # list-breakdown-values # get-overall-values # list-insights diff --git a/examples/data/exercise-video-views.py b/examples/data/exercise-video-views.py index c1e4ec8..ec29f70 100644 --- a/examples/data/exercise-video-views.py +++ b/examples/data/exercise-video-views.py @@ -20,7 +20,7 @@ video_views_api = mux_python.VideoViewsApi(mux_python.ApiClient(configuration)) # ========== list-video-views ========== -list_video_views_response = video_views_api.list_video_views(filters=['country:CH', 'browser:Chrome'], timeframe=['7:days']) +list_video_views_response = video_views_api.list_video_views(filters=['country:GB', 'browser:Chrome'], timeframe=['7:days']) logger.print_debug('List Video Views Response ' + str(list_video_views_response)) assert list_video_views_response != None assert list_video_views_response.data != None @@ -32,4 +32,4 @@ video_view_response = video_views_api.get_video_view(list_video_views_response.data[0].id) assert video_view_response != None assert video_view_response.data != None -print("get-video-views OK ✅") +print("get-video-view OK ✅") diff --git a/examples/video/exercise-live-streams.py b/examples/video/exercise-live-streams.py index 1bfde40..3e21fe6 100644 --- a/examples/video/exercise-live-streams.py +++ b/examples/video/exercise-live-streams.py @@ -88,7 +88,7 @@ logger.print_debug("Deleted Live Stream (void response) ") try: deleted_live_stream_response = live_api.get_live_stream(create_live_stream_response.data.id) - print "Should have 404'd when getting deleted live stream ❌ " + print("Should have 404'd when getting deleted live stream ❌ ") sys.exit(1) except NotFoundException as e: assert e != None diff --git a/examples/video/ingest.py b/examples/video/ingest.py index 8b6e5d9..9508280 100644 --- a/examples/video/ingest.py +++ b/examples/video/ingest.py @@ -13,7 +13,7 @@ # Create an asset input_settings = [mux_python.InputSettings(url='https://storage.googleapis.com/muxdemofiles/mux-video-intro.mp4')] -create_asset_request = mux_python.CreateAssetRequest(input=input_settings, playback_policy=[mux_python.PlaybackPolicy.PUBLIC]) +create_asset_request = mux_python.CreateAssetRequest(input=input_settings, playback_policy=[mux_python.PlaybackPolicy.PUBLIC], mp4_support="standard") create_asset_response = assets_api.create_asset(create_asset_request) print("Created Asset ID: " + create_asset_response.data.id) diff --git a/mux_python/__init__.py b/mux_python/__init__.py index 73a8ca1..b72199a 100644 --- a/mux_python/__init__.py +++ b/mux_python/__init__.py @@ -11,7 +11,7 @@ from __future__ import absolute_import -__version__ = "1.2.0" +__version__ = "1.2.1" # import apis into sdk package from mux_python.api.assets_api import AssetsApi diff --git a/mux_python/api_client.py b/mux_python/api_client.py index a268265..dd96676 100644 --- a/mux_python/api_client.py +++ b/mux_python/api_client.py @@ -72,7 +72,7 @@ def __init__(self, configuration=None, header_name=None, header_value=None, self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Mux Python | 1.2.0' + self.user_agent = 'Mux Python | 1.2.1' def __del__(self): if self._pool: diff --git a/mux_python/configuration.py b/mux_python/configuration.py index afd0484..319fdc8 100644 --- a/mux_python/configuration.py +++ b/mux_python/configuration.py @@ -228,5 +228,5 @@ def to_debug_report(self): "OS: {env}\n"\ "Python Version: {pyversion}\n"\ "Version of the API: v1\n"\ - "SDK Package Version: 1.2.0".\ + "SDK Package Version: 1.2.1".\ format(env=sys.platform, pyversion=sys.version) diff --git a/mux_python/models/create_live_stream_request.py b/mux_python/models/create_live_stream_request.py index f7995ce..959739c 100644 --- a/mux_python/models/create_live_stream_request.py +++ b/mux_python/models/create_live_stream_request.py @@ -23,25 +23,35 @@ class CreateLiveStreamRequest(object): """ openapi_types = { 'playback_policy': 'list[PlaybackPolicy]', - 'new_asset_settings': 'CreateAssetRequest' + 'new_asset_settings': 'CreateAssetRequest', + 'reconnect_window': 'float', + 'passthrough': 'str' } attribute_map = { 'playback_policy': 'playback_policy', - 'new_asset_settings': 'new_asset_settings' + 'new_asset_settings': 'new_asset_settings', + 'reconnect_window': 'reconnect_window', + 'passthrough': 'passthrough' } - def __init__(self, playback_policy=None, new_asset_settings=None): # noqa: E501 + def __init__(self, playback_policy=None, new_asset_settings=None, reconnect_window=60, passthrough=None): # noqa: E501 """CreateLiveStreamRequest - a model defined in OpenAPI""" # noqa: E501 self._playback_policy = None self._new_asset_settings = None + self._reconnect_window = None + self._passthrough = None self.discriminator = None if playback_policy is not None: self.playback_policy = playback_policy if new_asset_settings is not None: self.new_asset_settings = new_asset_settings + if reconnect_window is not None: + self.reconnect_window = reconnect_window + if passthrough is not None: + self.passthrough = passthrough @property def playback_policy(self): @@ -85,6 +95,54 @@ def new_asset_settings(self, new_asset_settings): self._new_asset_settings = new_asset_settings + @property + def reconnect_window(self): + """Gets the reconnect_window of this CreateLiveStreamRequest. # noqa: E501 + + 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. Default: 60 seconds # noqa: E501 + + :return: The reconnect_window of this CreateLiveStreamRequest. # noqa: E501 + :rtype: float + """ + return self._reconnect_window + + @reconnect_window.setter + def reconnect_window(self, reconnect_window): + """Sets the reconnect_window of this CreateLiveStreamRequest. + + 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. Default: 60 seconds # noqa: E501 + + :param reconnect_window: The reconnect_window of this CreateLiveStreamRequest. # noqa: E501 + :type: float + """ + if reconnect_window is not None and reconnect_window > 300: # noqa: E501 + raise ValueError("Invalid value for `reconnect_window`, must be a value less than or equal to `300`") # noqa: E501 + if reconnect_window is not None and reconnect_window < 0.1: # noqa: E501 + raise ValueError("Invalid value for `reconnect_window`, must be a value greater than or equal to `0.1`") # noqa: E501 + + self._reconnect_window = reconnect_window + + @property + def passthrough(self): + """Gets the passthrough of this CreateLiveStreamRequest. # noqa: E501 + + + :return: The passthrough of this CreateLiveStreamRequest. # noqa: E501 + :rtype: str + """ + return self._passthrough + + @passthrough.setter + def passthrough(self, passthrough): + """Sets the passthrough of this CreateLiveStreamRequest. + + + :param passthrough: The passthrough of this CreateLiveStreamRequest. # noqa: E501 + :type: str + """ + + self._passthrough = passthrough + def to_dict(self): """Returns the model properties as a dict""" result = {} diff --git a/mux_python/models/get_metric_timeseries_data_response.py b/mux_python/models/get_metric_timeseries_data_response.py index c3c629e..7fe697c 100644 --- a/mux_python/models/get_metric_timeseries_data_response.py +++ b/mux_python/models/get_metric_timeseries_data_response.py @@ -24,7 +24,7 @@ class GetMetricTimeseriesDataResponse(object): openapi_types = { 'data': 'list[list[str]]', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this GetMetricTimeseriesDataResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this GetMetricTimeseriesDataResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/get_overall_values_response.py b/mux_python/models/get_overall_values_response.py index 8b237ee..59a84aa 100644 --- a/mux_python/models/get_overall_values_response.py +++ b/mux_python/models/get_overall_values_response.py @@ -24,7 +24,7 @@ class GetOverallValuesResponse(object): openapi_types = { 'data': 'OverallValues', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this GetOverallValuesResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this GetOverallValuesResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/insight.py b/mux_python/models/insight.py index c2e1c51..49f9c23 100644 --- a/mux_python/models/insight.py +++ b/mux_python/models/insight.py @@ -24,8 +24,8 @@ class Insight(object): openapi_types = { 'total_watch_time': 'int', 'total_views': 'int', - 'negative_impact_score': 'int', - 'metric': 'int', + 'negative_impact_score': 'float', + 'metric': 'float', 'filter_value': 'str', 'filter_column': 'str' } @@ -111,7 +111,7 @@ def negative_impact_score(self): :return: The negative_impact_score of this Insight. # noqa: E501 - :rtype: int + :rtype: float """ return self._negative_impact_score @@ -121,7 +121,7 @@ def negative_impact_score(self, negative_impact_score): :param negative_impact_score: The negative_impact_score of this Insight. # noqa: E501 - :type: int + :type: float """ self._negative_impact_score = negative_impact_score @@ -132,7 +132,7 @@ def metric(self): :return: The metric of this Insight. # noqa: E501 - :rtype: int + :rtype: float """ return self._metric @@ -142,7 +142,7 @@ def metric(self, metric): :param metric: The metric of this Insight. # noqa: E501 - :type: int + :type: float """ self._metric = metric diff --git a/mux_python/models/list_all_metric_values_response.py b/mux_python/models/list_all_metric_values_response.py index 6a3b2c3..f1e71db 100644 --- a/mux_python/models/list_all_metric_values_response.py +++ b/mux_python/models/list_all_metric_values_response.py @@ -24,7 +24,7 @@ class ListAllMetricValuesResponse(object): openapi_types = { 'data': 'list[Score]', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this ListAllMetricValuesResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this ListAllMetricValuesResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/list_breakdown_values_response.py b/mux_python/models/list_breakdown_values_response.py index f06774d..8abaa12 100644 --- a/mux_python/models/list_breakdown_values_response.py +++ b/mux_python/models/list_breakdown_values_response.py @@ -24,7 +24,7 @@ class ListBreakdownValuesResponse(object): openapi_types = { 'data': 'list[BreakdownValue]', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this ListBreakdownValuesResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this ListBreakdownValuesResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/list_errors_response.py b/mux_python/models/list_errors_response.py index 6b30cfd..44d98d8 100644 --- a/mux_python/models/list_errors_response.py +++ b/mux_python/models/list_errors_response.py @@ -24,7 +24,7 @@ class ListErrorsResponse(object): openapi_types = { 'data': 'list[Error]', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this ListErrorsResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this ListErrorsResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/list_exports_response.py b/mux_python/models/list_exports_response.py index 62bd928..5748feb 100644 --- a/mux_python/models/list_exports_response.py +++ b/mux_python/models/list_exports_response.py @@ -24,7 +24,7 @@ class ListExportsResponse(object): openapi_types = { 'data': 'list[str]', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this ListExportsResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this ListExportsResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/list_filter_values_response.py b/mux_python/models/list_filter_values_response.py index 30ba9f1..cee998e 100644 --- a/mux_python/models/list_filter_values_response.py +++ b/mux_python/models/list_filter_values_response.py @@ -24,7 +24,7 @@ class ListFilterValuesResponse(object): openapi_types = { 'data': 'list[FilterValue]', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this ListFilterValuesResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this ListFilterValuesResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/list_filters_response.py b/mux_python/models/list_filters_response.py index 45d2dfb..5d9ee19 100644 --- a/mux_python/models/list_filters_response.py +++ b/mux_python/models/list_filters_response.py @@ -24,7 +24,7 @@ class ListFiltersResponse(object): openapi_types = { 'data': 'ListFiltersResponseData', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this ListFiltersResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this ListFiltersResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/list_insights_response.py b/mux_python/models/list_insights_response.py index 0830587..4de715b 100644 --- a/mux_python/models/list_insights_response.py +++ b/mux_python/models/list_insights_response.py @@ -24,7 +24,7 @@ class ListInsightsResponse(object): openapi_types = { 'data': 'list[Insight]', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this ListInsightsResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this ListInsightsResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/list_video_views_response.py b/mux_python/models/list_video_views_response.py index f24a866..11ac677 100644 --- a/mux_python/models/list_video_views_response.py +++ b/mux_python/models/list_video_views_response.py @@ -24,7 +24,7 @@ class ListVideoViewsResponse(object): openapi_types = { 'data': 'list[AbridgedVideoView]', 'total_row_count': 'int', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -96,7 +96,7 @@ def timeframe(self): :return: The timeframe of this ListVideoViewsResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -106,7 +106,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this ListVideoViewsResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/mux_python/models/video_view_response.py b/mux_python/models/video_view_response.py index 9121f20..ab50828 100644 --- a/mux_python/models/video_view_response.py +++ b/mux_python/models/video_view_response.py @@ -23,7 +23,7 @@ class VideoViewResponse(object): """ openapi_types = { 'data': 'VideoView', - 'timeframe': 'list[str]' + 'timeframe': 'list[int]' } attribute_map = { @@ -70,7 +70,7 @@ def timeframe(self): :return: The timeframe of this VideoViewResponse. # noqa: E501 - :rtype: list[str] + :rtype: list[int] """ return self._timeframe @@ -80,7 +80,7 @@ def timeframe(self, timeframe): :param timeframe: The timeframe of this VideoViewResponse. # noqa: E501 - :type: list[str] + :type: list[int] """ self._timeframe = timeframe diff --git a/setup.py b/setup.py index 2c2dcd3..bfe72f7 100644 --- a/setup.py +++ b/setup.py @@ -10,7 +10,7 @@ from setuptools import setup, find_packages # noqa: H301 NAME = "mux_python" -VERSION = "1.2.0" +VERSION = "1.2.1" # To install the library, run the following # # python setup.py install