-
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 #3 from Bandwidth/SWI-5401
SWI-5401 Rename it to `bandwidth_numbers` from `iris_sdk`
- Loading branch information
Showing
567 changed files
with
2,258 additions
and
2,253 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
from bandwidth_numbers.client import Client | ||
from bandwidth_numbers.models.account import Account | ||
from bandwidth_numbers.models.cities import Cities | ||
from bandwidth_numbers.models.covered_rate_centers import CoveredRateCenters | ||
from bandwidth_numbers.models.rate_centers import RateCenters | ||
from bandwidth_numbers.models.tns import Tns | ||
from bandwidth_numbers.models.users import Users | ||
from bandwidth_numbers.utils.rest import RestError | ||
|
||
__all__ = ["Client", "Account", "Tns", "Users", "Cities", "RateCenters", | ||
"RestError", "CoveredRateCenters", ] |
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
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
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
File renamed without changes.
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,7 @@ | ||
#!/usr/bin/env python | ||
|
||
from bandwidth_numbers.models.base_resource import BaseData | ||
from bandwidth_numbers.models.maps.a2p_settings import A2pSettingsMap | ||
|
||
class A2pSettings(A2pSettingsMap, 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/usr/bin/env python | ||
|
||
from bandwidth_numbers.models.base_resource import BaseData | ||
from bandwidth_numbers.models.data.address import Address | ||
from bandwidth_numbers.models.data.contact import Contact | ||
from bandwidth_numbers.models.data.tier_list import TierList | ||
from bandwidth_numbers.models.maps.account import AccountMap | ||
|
||
class AccountData(AccountMap, BaseData): | ||
|
||
def __init__(self): | ||
self.address = Address() | ||
self.contact = Contact() | ||
self.tiers = TierList() |
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.base_resource import BaseData | ||
from bandwidth_numbers.models.data.roles_list import RolesList | ||
from bandwidth_numbers.models.maps.account_user import AccountUserMap | ||
|
||
class AccountUser(AccountUserMap, BaseData): | ||
|
||
def __init__(self): | ||
self.roles = RolesList() |
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.base_resource import BaseData, BaseResourceList | ||
from bandwidth_numbers.models.data.account_user import AccountUser | ||
from bandwidth_numbers.models.maps.account_users import AccountUsersMap | ||
|
||
class AccountUsersData(AccountUsersMap, BaseData): | ||
|
||
def __init__(self): | ||
self.user = BaseResourceList(AccountUser) |
8 changes: 4 additions & 4 deletions
8
iris_sdk/models/data/activation_status.py → ..._numbers/models/data/activation_status.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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/usr/bin/env python | ||
|
||
from iris_sdk.models.base_resource import BaseData | ||
from iris_sdk.models.data.telephone_number_list import TelephoneNumberList | ||
from iris_sdk.models.maps.activation_status import ActivationStatusMap | ||
from bandwidth_numbers.models.base_resource import BaseData | ||
from bandwidth_numbers.models.data.telephone_number_list import TelephoneNumberList | ||
from bandwidth_numbers.models.maps.activation_status import ActivationStatusMap | ||
|
||
class ActivationStatusData(ActivationStatusMap, BaseData): | ||
|
||
def __init__(self): | ||
self.activated_telephone_numbers_list = TelephoneNumberList() | ||
self.not_yet_activated_telephone_numbers_list = TelephoneNumberList() | ||
self.not_yet_activated_telephone_numbers_list = TelephoneNumberList() |
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,7 @@ | ||
#!/usr/bin/env python | ||
|
||
from bandwidth_numbers.models.base_resource import BaseData | ||
from bandwidth_numbers.models.maps.address import AddressMap | ||
|
||
class Address(AddressMap, 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env python | ||
|
||
from bandwidth_numbers.models.base_resource import BaseData | ||
from bandwidth_numbers.models.data.available_npa_nxx_list import AvailableNpaNxxList | ||
from bandwidth_numbers.models.maps.available_npa_nxx import AvailableNpaNxxMap | ||
|
||
class AvailableNpaNxxData(AvailableNpaNxxMap, BaseData): | ||
|
||
def __init__(self): | ||
self.available_npa_nxx_list = AvailableNpaNxxList() |
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,14 @@ | ||
#!/usr/bin/env python | ||
|
||
from bandwidth_numbers.models.base_resource import BaseData, BaseResourceList | ||
from bandwidth_numbers.models.data.npa_nxx import NpaNxx | ||
from bandwidth_numbers.models.maps.available_npa_nxx_list import AvailableNpaNxxListMap | ||
|
||
class AvailableNpaNxxList(AvailableNpaNxxListMap, BaseData): | ||
|
||
@property | ||
def items(self): | ||
return self.available_npa_nxx.items | ||
|
||
def __init__(self): | ||
self.available_npa_nxx = BaseResourceList(NpaNxx) |
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
Oops, something went wrong.