Skip to content

Commit 175ad0a

Browse files
HeliWangTural Farhadov
authored andcommitted
refresh swagger link and auto generated code (#14210)
1 parent ea3d6c3 commit 175ad0a

File tree

6 files changed

+19
-2075
lines changed

6 files changed

+19
-2075
lines changed

sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/aio/operations_async/_phone_number_administration_operations_async.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def get_all_phone_numbers(
5151
5252
Gets the list of the acquired phone numbers.
5353
54-
:param locale: A language-locale pairing which will be used to localise the names of countries.
54+
:param locale: A language-locale pairing which will be used to localize the names of countries.
5555
:type locale: str
5656
:param skip: An optional parameter for how many entries to skip, for pagination purposes.
5757
:type skip: int
@@ -331,7 +331,7 @@ def get_all_supported_countries(
331331
332332
Gets a list of supported countries.
333333
334-
:param locale: A language-locale pairing which will be used to localise the names of countries.
334+
:param locale: A language-locale pairing which will be used to localize the names of countries.
335335
:type locale: str
336336
:param skip: An optional parameter for how many entries to skip, for pagination purposes.
337337
:type skip: int
@@ -607,7 +607,7 @@ def get_phone_plan_groups(
607607
608608
:param country_code: The ISO 3166-2 country code.
609609
:type country_code: str
610-
:param locale: A language-locale pairing which will be used to localise the names of countries.
610+
:param locale: A language-locale pairing which will be used to localize the names of countries.
611611
:type locale: str
612612
:param include_rate_information:
613613
:type include_rate_information: bool
@@ -704,7 +704,7 @@ def get_phone_plans(
704704
:type country_code: str
705705
:param phone_plan_group_id:
706706
:type phone_plan_group_id: str
707-
:param locale: A language-locale pairing which will be used to localise the names of countries.
707+
:param locale: A language-locale pairing which will be used to localize the names of countries.
708708
:type locale: str
709709
:param skip: An optional parameter for how many entries to skip, for pagination purposes.
710710
:type skip: int
@@ -800,7 +800,7 @@ async def get_phone_plan_location_options(
800800
:type phone_plan_group_id: str
801801
:param phone_plan_id:
802802
:type phone_plan_id: str
803-
:param locale: A language-locale pairing which will be used to localise the names of countries.
803+
:param locale: A language-locale pairing which will be used to localize the names of countries.
804804
:type locale: str
805805
:keyword callable cls: A custom type or function that will be passed the direct response
806806
:return: LocationOptionsResponse, or the result of cls(response)

sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,7 @@ def __init__(
281281

282282

283283
class LocationOptionsDetails(msrest.serialization.Model):
284-
"""Represents location options deatils.
284+
"""Represents location options details.
285285
286286
:param name: The name of the location options.
287287
:type name: str
@@ -527,7 +527,7 @@ def __init__(
527527

528528

529529
class PhoneNumberEntities(msrest.serialization.Model):
530-
"""Represents a list of searchs or releases, as part of the response when fetching all searches or releases.
530+
"""Represents a list of searches or releases, as part of the response when fetching all searches or releases.
531531
532532
:param entities: The underlying list of entities.
533533
:type entities: list[~azure.communication.administration.models.PhoneNumberEntity]
@@ -552,7 +552,7 @@ def __init__(
552552
class PhoneNumberEntity(msrest.serialization.Model):
553553
"""Represents a phone number entity, as part of the response when calling get all searches or releases.
554554
555-
:param id: The id of the entity. It is the search id of a searc. It is the release id of a
555+
:param id: The id of the entity. It is the search id of a search. It is the release id of a
556556
release.
557557
:type id: str
558558
:param created_at: Date and time the entity is created.
@@ -1025,7 +1025,7 @@ def __init__(
10251025
class UpdatePhoneNumberCapabilitiesResponse(msrest.serialization.Model):
10261026
"""Response for getting a phone number update capabilities.
10271027
1028-
:param capabilities_update_id: The id of the phone number capabilties update.
1028+
:param capabilities_update_id: The id of the phone number capabilities update.
10291029
:type capabilities_update_id: str
10301030
:param created_at: The time the capabilities update was created.
10311031
:type created_at: ~datetime.datetime

sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/models/_models_py3.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ def __init__(
321321

322322

323323
class LocationOptionsDetails(msrest.serialization.Model):
324-
"""Represents location options deatils.
324+
"""Represents location options details.
325325
326326
:param name: The name of the location options.
327327
:type name: str
@@ -594,7 +594,7 @@ def __init__(
594594

595595

596596
class PhoneNumberEntities(msrest.serialization.Model):
597-
"""Represents a list of searchs or releases, as part of the response when fetching all searches or releases.
597+
"""Represents a list of searches or releases, as part of the response when fetching all searches or releases.
598598
599599
:param entities: The underlying list of entities.
600600
:type entities: list[~azure.communication.administration.models.PhoneNumberEntity]
@@ -622,7 +622,7 @@ def __init__(
622622
class PhoneNumberEntity(msrest.serialization.Model):
623623
"""Represents a phone number entity, as part of the response when calling get all searches or releases.
624624
625-
:param id: The id of the entity. It is the search id of a searc. It is the release id of a
625+
:param id: The id of the entity. It is the search id of a search. It is the release id of a
626626
release.
627627
:type id: str
628628
:param created_at: Date and time the entity is created.
@@ -1160,7 +1160,7 @@ def __init__(
11601160
class UpdatePhoneNumberCapabilitiesResponse(msrest.serialization.Model):
11611161
"""Response for getting a phone number update capabilities.
11621162
1163-
:param capabilities_update_id: The id of the phone number capabilties update.
1163+
:param capabilities_update_id: The id of the phone number capabilities update.
11641164
:type capabilities_update_id: str
11651165
:param created_at: The time the capabilities update was created.
11661166
:type created_at: ~datetime.datetime

sdk/communication/azure-communication-administration/azure/communication/administration/_phonenumber/_generated/operations/_phone_number_administration_operations.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def get_all_phone_numbers(
5656
5757
Gets the list of the acquired phone numbers.
5858
59-
:param locale: A language-locale pairing which will be used to localise the names of countries.
59+
:param locale: A language-locale pairing which will be used to localize the names of countries.
6060
:type locale: str
6161
:param skip: An optional parameter for how many entries to skip, for pagination purposes.
6262
:type skip: int
@@ -340,7 +340,7 @@ def get_all_supported_countries(
340340
341341
Gets a list of supported countries.
342342
343-
:param locale: A language-locale pairing which will be used to localise the names of countries.
343+
:param locale: A language-locale pairing which will be used to localize the names of countries.
344344
:type locale: str
345345
:param skip: An optional parameter for how many entries to skip, for pagination purposes.
346346
:type skip: int
@@ -620,7 +620,7 @@ def get_phone_plan_groups(
620620
621621
:param country_code: The ISO 3166-2 country code.
622622
:type country_code: str
623-
:param locale: A language-locale pairing which will be used to localise the names of countries.
623+
:param locale: A language-locale pairing which will be used to localize the names of countries.
624624
:type locale: str
625625
:param include_rate_information:
626626
:type include_rate_information: bool
@@ -718,7 +718,7 @@ def get_phone_plans(
718718
:type country_code: str
719719
:param phone_plan_group_id:
720720
:type phone_plan_group_id: str
721-
:param locale: A language-locale pairing which will be used to localise the names of countries.
721+
:param locale: A language-locale pairing which will be used to localize the names of countries.
722722
:type locale: str
723723
:param skip: An optional parameter for how many entries to skip, for pagination purposes.
724724
:type skip: int
@@ -815,7 +815,7 @@ def get_phone_plan_location_options(
815815
:type phone_plan_group_id: str
816816
:param phone_plan_id:
817817
:type phone_plan_id: str
818-
:param locale: A language-locale pairing which will be used to localise the names of countries.
818+
:param locale: A language-locale pairing which will be used to localize the names of countries.
819819
:type locale: str
820820
:keyword callable cls: A custom type or function that will be passed the direct response
821821
:return: LocationOptionsResponse, or the result of cls(response)

sdk/communication/azure-communication-administration/swagger/PHONE_NUMBER_SWAGGER.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ autorest ./PHONE_NUMBER_SWAGGER.md
1010

1111
### Settings
1212
``` yaml
13-
input-file: ./phone_number_swagger.json
13+
input-file: https://raw.githubusercontent.com/Azure/azure-rest-api-specs/257f060be8b60d8468584682aa2d71b1faa5f82c/specification/communication/data-plane/Microsoft.CommunicationServicesAdministration/preview/2020-07-20-preview1/communicationservicesadministration.json
1414
output-folder: ../azure/communication/administration/_phonenumber/_generated
1515
namespace: azure.communication.administration
1616
license-header: MICROSOFT_MIT_NO_VERSION

0 commit comments

Comments
 (0)