Skip to content

Commit 69e32d5

Browse files
Make pageable results internal (#17348)
1 parent 7abd070 commit 69e32d5

15 files changed

+53
-72
lines changed

sdk/communication/Azure.Communication.Administration/api/Azure.Communication.Administration.netstandard2.0.cs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -109,12 +109,6 @@ internal AcquiredPhoneNumber() { }
109109
public string PhoneNumber { get { throw null; } }
110110
public string PlaceName { get { throw null; } }
111111
}
112-
public partial class AcquiredPhoneNumbers
113-
{
114-
internal AcquiredPhoneNumbers() { }
115-
public string NextLink { get { throw null; } }
116-
public System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.AcquiredPhoneNumber> PhoneNumbers { get { throw null; } }
117-
}
118112
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
119113
public readonly partial struct ActivationState : System.IEquatable<Azure.Communication.Administration.Models.ActivationState>
120114
{
@@ -139,7 +133,6 @@ internal AcquiredPhoneNumbers() { }
139133
public static partial class AdministrationModelFactory
140134
{
141135
public static Azure.Communication.Administration.Models.AcquiredPhoneNumber AcquiredPhoneNumber(string phoneNumber, System.Collections.Generic.IEnumerable<Azure.Communication.Administration.Models.PhoneNumberCapability> acquiredCapabilities, System.Collections.Generic.IEnumerable<Azure.Communication.Administration.Models.PhoneNumberCapability> availableCapabilities) { throw null; }
142-
public static Azure.Communication.Administration.Models.AcquiredPhoneNumbers AcquiredPhoneNumbers(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.AcquiredPhoneNumber> phoneNumbers, string nextLink) { throw null; }
143136
public static Azure.Communication.Administration.Models.AreaCodes AreaCodes(System.Collections.Generic.IReadOnlyList<string> primaryAreaCodes, System.Collections.Generic.IReadOnlyList<string> secondaryAreaCodes, string nextLink) { throw null; }
144137
public static Azure.Communication.Administration.Models.CarrierDetails CarrierDetails(string name, string localizedName) { throw null; }
145138
public static Azure.Communication.Administration.Models.CommunicationUserToken CommunicationUserToken(string id, string token, System.DateTimeOffset expiresOn) { throw null; }
@@ -148,9 +141,7 @@ public static partial class AdministrationModelFactory
148141
public static Azure.Communication.Administration.Models.LocationOptionsResponse LocationOptionsResponse(Azure.Communication.Administration.Models.LocationOptions locationOptions) { throw null; }
149142
public static Azure.Communication.Administration.Models.NumberConfigurationResponse NumberConfigurationResponse(Azure.Communication.Administration.Models.PstnConfiguration pstnConfiguration) { throw null; }
150143
public static Azure.Communication.Administration.Models.NumberUpdateCapabilities NumberUpdateCapabilities(System.Collections.Generic.IList<Azure.Communication.Administration.Models.PhoneNumberCapability> add, System.Collections.Generic.IList<Azure.Communication.Administration.Models.PhoneNumberCapability> remove) { throw null; }
151-
public static Azure.Communication.Administration.Models.PhoneNumberCountries PhoneNumberCountries(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhoneNumberCountry> countries, string nextLink) { throw null; }
152144
public static Azure.Communication.Administration.Models.PhoneNumberCountry PhoneNumberCountry(string localizedName, string countryCode) { throw null; }
153-
public static Azure.Communication.Administration.Models.PhoneNumberEntities PhoneNumberEntities(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhoneNumberEntity> entities, string nextLink) { throw null; }
154145
public static Azure.Communication.Administration.Models.PhoneNumberEntity PhoneNumberEntity(string id, System.DateTimeOffset? createdAt, string displayName, int? quantity, int? quantityObtained, string status, System.DateTimeOffset? focDate) { throw null; }
155146
public static Azure.Communication.Administration.Models.PhoneNumberRelease PhoneNumberRelease(string releaseId, System.DateTimeOffset? createdAt, Azure.Communication.Administration.Models.ReleaseStatus? status, string errorMessage, System.Collections.Generic.IReadOnlyDictionary<string, Azure.Communication.Administration.Models.PhoneNumberReleaseDetails> phoneNumberReleaseStatusDetails) { throw null; }
156147
public static Azure.Communication.Administration.Models.PhoneNumberReleaseDetails PhoneNumberReleaseDetails(Azure.Communication.Administration.Models.PhoneNumberReleaseStatus? status, int? errorCode) { throw null; }
@@ -159,7 +150,6 @@ public static partial class AdministrationModelFactory
159150
public static Azure.Communication.Administration.Models.PhoneNumberReservationPurchaseOperation PhoneNumberReservationPurchaseOperation(Azure.Communication.Administration.PhoneNumberAdministrationClient client, string reservationId) { throw null; }
160151
public static Azure.Communication.Administration.Models.PhonePlan PhonePlan(string phonePlanId, string localizedName, Azure.Communication.Administration.Models.LocationType locationType) { throw null; }
161152
public static Azure.Communication.Administration.Models.PhonePlanGroup PhonePlanGroup(string phonePlanGroupId, string localizedName, string localizedDescription) { throw null; }
162-
public static Azure.Communication.Administration.Models.PhonePlanGroups PhonePlanGroups(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhonePlanGroup> phonePlanGroupsValue, string nextLink) { throw null; }
163153
public static Azure.Communication.Administration.Models.PhonePlansResponse PhonePlansResponse(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhonePlan> phonePlans, string nextLink) { throw null; }
164154
public static Azure.Communication.Administration.Models.RateInformation RateInformation(double? monthlyRate, Azure.Communication.Administration.Models.CurrencyType? currencyType, string rateErrorMessage) { throw null; }
165155
public static Azure.Communication.Administration.Models.ReleasePhoneNumberOperation ReleasePhoneNumberOperation(Azure.Communication.Administration.PhoneNumberAdministrationClient client, string releaseId) { throw null; }
@@ -350,24 +340,12 @@ public NumberUpdateCapabilities() { }
350340
public static bool operator !=(Azure.Communication.Administration.Models.PhoneNumberCapability left, Azure.Communication.Administration.Models.PhoneNumberCapability right) { throw null; }
351341
public override string ToString() { throw null; }
352342
}
353-
public partial class PhoneNumberCountries
354-
{
355-
internal PhoneNumberCountries() { }
356-
public System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhoneNumberCountry> Countries { get { throw null; } }
357-
public string NextLink { get { throw null; } }
358-
}
359343
public partial class PhoneNumberCountry
360344
{
361345
internal PhoneNumberCountry() { }
362346
public string CountryCode { get { throw null; } }
363347
public string LocalizedName { get { throw null; } }
364348
}
365-
public partial class PhoneNumberEntities
366-
{
367-
internal PhoneNumberEntities() { }
368-
public System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhoneNumberEntity> Entities { get { throw null; } }
369-
public string NextLink { get { throw null; } }
370-
}
371349
public partial class PhoneNumberEntity
372350
{
373351
internal PhoneNumberEntity() { }
@@ -496,12 +474,6 @@ internal PhonePlanGroup() { }
496474
public string PhonePlanGroupId { get { throw null; } }
497475
public Azure.Communication.Administration.Models.RateInformation RateInformation { get { throw null; } }
498476
}
499-
public partial class PhonePlanGroups
500-
{
501-
internal PhonePlanGroups() { }
502-
public string NextLink { get { throw null; } }
503-
public System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhonePlanGroup> PhonePlanGroupsValue { get { throw null; } }
504-
}
505477
public partial class PhonePlansResponse
506478
{
507479
internal PhonePlansResponse() { }

sdk/communication/Azure.Communication.Administration/src/Generated/Models/AcquiredPhoneNumbers.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/Azure.Communication.Administration/src/Generated/Models/AcquiredPhoneNumbers.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/Azure.Communication.Administration/src/Generated/Models/PhoneNumberCountries.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/Azure.Communication.Administration/src/Generated/Models/PhoneNumberCountries.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/Azure.Communication.Administration/src/Generated/Models/PhoneNumberEntities.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/Azure.Communication.Administration/src/Generated/Models/PhoneNumberEntities.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/Azure.Communication.Administration/src/Generated/Models/PhonePlanGroups.Serialization.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

sdk/communication/Azure.Communication.Administration/src/Generated/Models/PhonePlanGroups.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
// Copyright (c) Microsoft Corporation. All rights reserved.
2+
// Licensed under the MIT License.
3+
4+
namespace Azure.Communication.Administration.Models
5+
{
6+
internal partial class AcquiredPhoneNumbers
7+
{
8+
}
9+
}

0 commit comments

Comments
 (0)