-
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.
azure-mgmt-notificationhubs 2.0.0 (#2610)
* Generated from 7168a53201579dfb220af64389495a2e83d6f5ef (#2609) Add suppressions for linting errors. Approved by Gaurav * NotHubs auto packaging * azure-mgmt-notificationhubs 2.0.0
- Loading branch information
1 parent
3357a4f
commit 3110473
Showing
72 changed files
with
2,444 additions
and
764 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
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
36 changes: 36 additions & 0 deletions
36
azure-mgmt-notificationhubs/azure/mgmt/notificationhubs/models/adm_credential_py3.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,36 @@ | ||
# 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.serialization import Model | ||
|
||
|
||
class AdmCredential(Model): | ||
"""Description of a NotificationHub AdmCredential. | ||
:param client_id: The client identifier. | ||
:type client_id: str | ||
:param client_secret: The credential secret access key. | ||
:type client_secret: str | ||
:param auth_token_url: The URL of the authorization token. | ||
:type auth_token_url: str | ||
""" | ||
|
||
_attribute_map = { | ||
'client_id': {'key': 'properties.clientId', 'type': 'str'}, | ||
'client_secret': {'key': 'properties.clientSecret', 'type': 'str'}, | ||
'auth_token_url': {'key': 'properties.authTokenUrl', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, client_id: str=None, client_secret: str=None, auth_token_url: str=None, **kwargs) -> None: | ||
super(AdmCredential, self).__init__(**kwargs) | ||
self.client_id = client_id | ||
self.client_secret = client_secret | ||
self.auth_token_url = auth_token_url |
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
59 changes: 59 additions & 0 deletions
59
azure-mgmt-notificationhubs/azure/mgmt/notificationhubs/models/apns_credential_py3.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,59 @@ | ||
# 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.serialization import Model | ||
|
||
|
||
class ApnsCredential(Model): | ||
"""Description of a NotificationHub ApnsCredential. | ||
:param apns_certificate: The APNS certificate. | ||
:type apns_certificate: str | ||
:param certificate_key: The certificate key. | ||
:type certificate_key: str | ||
:param endpoint: The endpoint of this credential. | ||
:type endpoint: str | ||
:param thumbprint: The Apns certificate Thumbprint | ||
:type thumbprint: str | ||
:param key_id: A 10-character key identifier (kid) key, obtained from your | ||
developer account | ||
:type key_id: str | ||
:param app_name: The name of the application | ||
:type app_name: str | ||
:param app_id: The issuer (iss) registered claim key, whose value is your | ||
10-character Team ID, obtained from your developer account | ||
:type app_id: str | ||
:param token: Provider Authentication Token, obtained through your | ||
developer account | ||
:type token: str | ||
""" | ||
|
||
_attribute_map = { | ||
'apns_certificate': {'key': 'properties.apnsCertificate', 'type': 'str'}, | ||
'certificate_key': {'key': 'properties.certificateKey', 'type': 'str'}, | ||
'endpoint': {'key': 'properties.endpoint', 'type': 'str'}, | ||
'thumbprint': {'key': 'properties.thumbprint', 'type': 'str'}, | ||
'key_id': {'key': 'properties.keyId', 'type': 'str'}, | ||
'app_name': {'key': 'properties.appName', 'type': 'str'}, | ||
'app_id': {'key': 'properties.appId', 'type': 'str'}, | ||
'token': {'key': 'properties.token', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, apns_certificate: str=None, certificate_key: str=None, endpoint: str=None, thumbprint: str=None, key_id: str=None, app_name: str=None, app_id: str=None, token: str=None, **kwargs) -> None: | ||
super(ApnsCredential, self).__init__(**kwargs) | ||
self.apns_certificate = apns_certificate | ||
self.certificate_key = certificate_key | ||
self.endpoint = endpoint | ||
self.thumbprint = thumbprint | ||
self.key_id = key_id | ||
self.app_name = app_name | ||
self.app_id = app_id | ||
self.token = token |
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
36 changes: 36 additions & 0 deletions
36
azure-mgmt-notificationhubs/azure/mgmt/notificationhubs/models/baidu_credential_py3.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,36 @@ | ||
# 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.serialization import Model | ||
|
||
|
||
class BaiduCredential(Model): | ||
"""Description of a NotificationHub BaiduCredential. | ||
:param baidu_api_key: Baidu Api Key. | ||
:type baidu_api_key: str | ||
:param baidu_end_point: Baidu Endpoint. | ||
:type baidu_end_point: str | ||
:param baidu_secret_key: Baidu Secret Key | ||
:type baidu_secret_key: str | ||
""" | ||
|
||
_attribute_map = { | ||
'baidu_api_key': {'key': 'properties.baiduApiKey', 'type': 'str'}, | ||
'baidu_end_point': {'key': 'properties.baiduEndPoint', 'type': 'str'}, | ||
'baidu_secret_key': {'key': 'properties.baiduSecretKey', 'type': 'str'}, | ||
} | ||
|
||
def __init__(self, *, baidu_api_key: str=None, baidu_end_point: str=None, baidu_secret_key: str=None, **kwargs) -> None: | ||
super(BaiduCredential, self).__init__(**kwargs) | ||
self.baidu_api_key = baidu_api_key | ||
self.baidu_end_point = baidu_end_point | ||
self.baidu_secret_key = baidu_secret_key |
Oops, something went wrong.