Skip to content

Commit 0b0faaf

Browse files
committed
Deploy
1 parent fc8ddf6 commit 0b0faaf

File tree

10 files changed

+17
-82
lines changed

10 files changed

+17
-82
lines changed

bandwidth/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BaseController(object):
2727
"""
2828

2929
global_headers = {
30-
'user-agent': 'python-sdk-refs/tags/python6.4.0'
30+
'user-agent': 'python-sdk-refs/tags/python6.5.0'
3131
}
3232

3333
def __init__(self, config, call_back=None):

bandwidth/messaging/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BaseController(object):
2727
"""
2828

2929
global_headers = {
30-
'user-agent': 'python-sdk-refs/tags/python6.4.0'
30+
'user-agent': 'python-sdk-refs/tags/python6.5.0'
3131
}
3232

3333
def __init__(self, config, call_back=None):

bandwidth/twofactorauth/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BaseController(object):
2727
"""
2828

2929
global_headers = {
30-
'user-agent': 'python-sdk-refs/tags/python6.4.0'
30+
'user-agent': 'python-sdk-refs/tags/python6.5.0'
3131
}
3232

3333
def __init__(self, config, call_back=None):

bandwidth/voice/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BaseController(object):
2727
"""
2828

2929
global_headers = {
30-
'user-agent': 'python-sdk-refs/tags/python6.4.0'
30+
'user-agent': 'python-sdk-refs/tags/python6.5.0'
3131
}
3232

3333
def __init__(self, config, call_back=None):

bandwidth/webrtc/controllers/base_controller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ class BaseController(object):
2727
"""
2828

2929
global_headers = {
30-
'user-agent': 'python-sdk-refs/tags/python6.4.0'
30+
'user-agent': 'python-sdk-refs/tags/python6.5.0'
3131
}
3232

3333
def __init__(self, config, call_back=None):
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11
__all__ = [
22
'session',
33
'participant',
4-
'permissions',
54
'subscriptions',
65
'participant_subscription',
76
'accounts_participants_response',
8-
'media_type_enum',
7+
'publish_permission_enum',
98
]

bandwidth/webrtc/models/participant.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
66
This file was automatically generated by APIMATIC v2.0 ( https://apimatic.io ).
77
"""
8-
from bandwidth.webrtc.models.permissions import Permissions
98
from bandwidth.webrtc.models.subscriptions import Subscriptions
109

1110

@@ -19,7 +18,8 @@ class Participant(object):
1918
id (string): TODO: type description here.
2019
callback_url (string): Full callback url to use for notifications
2120
about this participant
22-
permissions (Permissions): TODO: type description here.
21+
publish_permissions (list of PublishPermissionEnum): TODO: type
22+
description here.
2323
sessions (list of string): List of session ids this participant is
2424
associated with Capped to one
2525
subscriptions (Subscriptions): TODO: type description here.
@@ -31,7 +31,7 @@ class Participant(object):
3131
_names = {
3232
"id": 'id',
3333
"callback_url": 'callbackUrl',
34-
"permissions": 'permissions',
34+
"publish_permissions": 'publishPermissions',
3535
"sessions": 'sessions',
3636
"subscriptions": 'subscriptions',
3737
"tag": 'tag'
@@ -40,7 +40,7 @@ class Participant(object):
4040
def __init__(self,
4141
id=None,
4242
callback_url=None,
43-
permissions=None,
43+
publish_permissions=None,
4444
sessions=None,
4545
subscriptions=None,
4646
tag=None):
@@ -49,7 +49,7 @@ def __init__(self,
4949
# Initialize members of the class
5050
self.id = id
5151
self.callback_url = callback_url
52-
self.permissions = permissions
52+
self.publish_permissions = publish_permissions
5353
self.sessions = sessions
5454
self.subscriptions = subscriptions
5555
self.tag = tag
@@ -74,15 +74,15 @@ def from_dictionary(cls,
7474
# Extract variables from the dictionary
7575
id = dictionary.get('id')
7676
callback_url = dictionary.get('callbackUrl')
77-
permissions = Permissions.from_dictionary(dictionary.get('permissions')) if dictionary.get('permissions') else None
77+
publish_permissions = dictionary.get('publishPermissions')
7878
sessions = dictionary.get('sessions')
7979
subscriptions = Subscriptions.from_dictionary(dictionary.get('subscriptions')) if dictionary.get('subscriptions') else None
8080
tag = dictionary.get('tag')
8181

8282
# Return an object of this model
8383
return cls(id,
8484
callback_url,
85-
permissions,
85+
publish_permissions,
8686
sessions,
8787
subscriptions,
8888
tag)

bandwidth/webrtc/models/permissions.py

Lines changed: 0 additions & 63 deletions
This file was deleted.

bandwidth/webrtc/models/media_type_enum.py renamed to bandwidth/webrtc/models/publish_permission_enum.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,11 @@
77
"""
88

99

10-
class MediaTypeEnum(object):
10+
class PublishPermissionEnum(object):
1111

12-
"""Implementation of the 'MediaType' enum.
12+
"""Implementation of the 'PublishPermission' enum.
1313
14-
The type of media the participant is allowed to publish
15-
VIDEO permission implies AUDIO permission as well
14+
TODO: type enum description here.
1615
1716
Attributes:
1817
AUDIO: TODO: type description here.

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
setup(
1414
name='bandwidth-sdk',
15-
version='6.4.0',
15+
version='6.5.0',
1616
description='Bandwidth\'s set of APIs',
1717
long_description=long_description,
1818
long_description_content_type="text/markdown",

0 commit comments

Comments
 (0)