-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from Bandwidth/tndetails-patch
SWI-6056 Update tndetails.py to include messaging and location details
- Loading branch information
Showing
7 changed files
with
107 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/usr/bin/env python | ||
|
||
from bandwidth_numbers.models.base_resource import BaseData | ||
from bandwidth_numbers.models.maps.messaging_settings import MessagingSettingsMap | ||
|
||
|
||
class MessagingSettingsData(MessagingSettingsMap, BaseData): | ||
pass |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env python | ||
|
||
from bandwidth_numbers.models.maps.base_map import BaseMap | ||
|
||
class MessagingSettingsMap(BaseMap): | ||
sms_enabled = None | ||
campaign_id = None | ||
message_class = None | ||
campaign_fully_provisioned = None | ||
a2p_state = None |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env python | ||
|
||
from __future__ import division, absolute_import, print_function | ||
|
||
from bandwidth_numbers.models.base_resource import BaseResource | ||
from bandwidth_numbers.models.data.messaging_settings import MessagingSettingsData | ||
|
||
XML_NAME_MESSAGING_SETTINGS = "MessagingSettings" | ||
|
||
class MessagingSettings(BaseResource, MessagingSettingsData): | ||
pass |
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