-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[AutoPR mediaservices/resource-manager] Adding version 2018-07-01 for…
… Microsoft.Media (#3401) * Generated from fa2a9f24f25160f19703cda53546c96088bbe1d8 Adding version 2018-07-01 for Microsoft.Media * Packaging update of azure-mgmt-media
- Loading branch information
1 parent
e2fd2c5
commit c7940b7
Showing
104 changed files
with
2,975 additions
and
487 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
55 changes: 55 additions & 0 deletions
55
azure-mgmt-media/azure/mgmt/media/models/account_filter.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from .proxy_resource import ProxyResource | ||
|
||
|
||
class AccountFilter(ProxyResource): | ||
"""An Account Filter. | ||
Variables are only populated by the server, and will be ignored when | ||
sending a request. | ||
:ivar id: Fully qualified resource ID for the resource. | ||
:vartype id: str | ||
:ivar name: The name of the resource. | ||
:vartype name: str | ||
:ivar type: The type of the resource. | ||
:vartype type: str | ||
:param presentation_time_range: The presentation time range. | ||
:type presentation_time_range: | ||
~azure.mgmt.media.models.PresentationTimeRange | ||
:param first_quality: The first quality. | ||
:type first_quality: ~azure.mgmt.media.models.FirstQuality | ||
:param tracks: The tracks selection conditions. | ||
:type tracks: list[~azure.mgmt.media.models.FilterTrackSelection] | ||
""" | ||
|
||
_validation = { | ||
'id': {'readonly': True}, | ||
'name': {'readonly': True}, | ||
'type': {'readonly': True}, | ||
} | ||
|
||
_attribute_map = { | ||
'id': {'key': 'id', 'type': 'str'}, | ||
'name': {'key': 'name', 'type': 'str'}, | ||
'type': {'key': 'type', 'type': 'str'}, | ||
'presentation_time_range': {'key': 'properties.presentationTimeRange', 'type': 'PresentationTimeRange'}, | ||
'first_quality': {'key': 'properties.firstQuality', 'type': 'FirstQuality'}, | ||
'tracks': {'key': 'properties.tracks', 'type': '[FilterTrackSelection]'}, | ||
} | ||
|
||
def __init__(self, **kwargs): | ||
super(AccountFilter, self).__init__(**kwargs) | ||
self.presentation_time_range = kwargs.get('presentation_time_range', None) | ||
self.first_quality = kwargs.get('first_quality', None) | ||
self.tracks = kwargs.get('tracks', None) |
27 changes: 27 additions & 0 deletions
27
azure-mgmt-media/azure/mgmt/media/models/account_filter_paged.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# coding=utf-8 | ||
# -------------------------------------------------------------------------- | ||
# Copyright (c) Microsoft Corporation. All rights reserved. | ||
# Licensed under the MIT License. See License.txt in the project root for | ||
# license information. | ||
# | ||
# Code generated by Microsoft (R) AutoRest Code Generator. | ||
# Changes may cause incorrect behavior and will be lost if the code is | ||
# regenerated. | ||
# -------------------------------------------------------------------------- | ||
|
||
from msrest.paging import Paged | ||
|
||
|
||
class AccountFilterPaged(Paged): | ||
""" | ||
A paging container for iterating over a list of :class:`AccountFilter <azure.mgmt.media.models.AccountFilter>` object | ||
""" | ||
|
||
_attribute_map = { | ||
'next_link': {'key': '@odata\\.nextLink', 'type': 'str'}, | ||
'current_page': {'key': 'value', 'type': '[AccountFilter]'} | ||
} | ||
|
||
def __init__(self, *args, **kwargs): | ||
|
||
super(AccountFilterPaged, self).__init__(*args, **kwargs) |
Oops, something went wrong.