Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Communication] - Administration - Internal pageable result #17348

Merged
merged 6 commits into from
Dec 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -109,12 +109,6 @@ internal AcquiredPhoneNumber() { }
public string PhoneNumber { get { throw null; } }
public string PlaceName { get { throw null; } }
}
public partial class AcquiredPhoneNumbers
{
internal AcquiredPhoneNumbers() { }
public string NextLink { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.AcquiredPhoneNumber> PhoneNumbers { get { throw null; } }
}
[System.Runtime.InteropServices.StructLayoutAttribute(System.Runtime.InteropServices.LayoutKind.Sequential)]
public readonly partial struct ActivationState : System.IEquatable<Azure.Communication.Administration.Models.ActivationState>
{
Expand All @@ -139,7 +133,6 @@ internal AcquiredPhoneNumbers() { }
public static partial class AdministrationModelFactory
{
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; }
public static Azure.Communication.Administration.Models.AcquiredPhoneNumbers AcquiredPhoneNumbers(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.AcquiredPhoneNumber> phoneNumbers, string nextLink) { throw null; }
public static Azure.Communication.Administration.Models.AreaCodes AreaCodes(System.Collections.Generic.IReadOnlyList<string> primaryAreaCodes, System.Collections.Generic.IReadOnlyList<string> secondaryAreaCodes, string nextLink) { throw null; }
public static Azure.Communication.Administration.Models.CarrierDetails CarrierDetails(string name, string localizedName) { throw null; }
public static Azure.Communication.Administration.Models.CommunicationUserToken CommunicationUserToken(string id, string token, System.DateTimeOffset expiresOn) { throw null; }
Expand All @@ -148,9 +141,7 @@ public static partial class AdministrationModelFactory
public static Azure.Communication.Administration.Models.LocationOptionsResponse LocationOptionsResponse(Azure.Communication.Administration.Models.LocationOptions locationOptions) { throw null; }
public static Azure.Communication.Administration.Models.NumberConfigurationResponse NumberConfigurationResponse(Azure.Communication.Administration.Models.PstnConfiguration pstnConfiguration) { throw null; }
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; }
public static Azure.Communication.Administration.Models.PhoneNumberCountries PhoneNumberCountries(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhoneNumberCountry> countries, string nextLink) { throw null; }
public static Azure.Communication.Administration.Models.PhoneNumberCountry PhoneNumberCountry(string localizedName, string countryCode) { throw null; }
public static Azure.Communication.Administration.Models.PhoneNumberEntities PhoneNumberEntities(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhoneNumberEntity> entities, string nextLink) { throw null; }
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; }
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; }
public static Azure.Communication.Administration.Models.PhoneNumberReleaseDetails PhoneNumberReleaseDetails(Azure.Communication.Administration.Models.PhoneNumberReleaseStatus? status, int? errorCode) { throw null; }
Expand All @@ -159,7 +150,6 @@ public static partial class AdministrationModelFactory
public static Azure.Communication.Administration.Models.PhoneNumberReservationPurchaseOperation PhoneNumberReservationPurchaseOperation(Azure.Communication.Administration.PhoneNumberAdministrationClient client, string reservationId) { throw null; }
public static Azure.Communication.Administration.Models.PhonePlan PhonePlan(string phonePlanId, string localizedName, Azure.Communication.Administration.Models.LocationType locationType) { throw null; }
public static Azure.Communication.Administration.Models.PhonePlanGroup PhonePlanGroup(string phonePlanGroupId, string localizedName, string localizedDescription) { throw null; }
public static Azure.Communication.Administration.Models.PhonePlanGroups PhonePlanGroups(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhonePlanGroup> phonePlanGroupsValue, string nextLink) { throw null; }
public static Azure.Communication.Administration.Models.PhonePlansResponse PhonePlansResponse(System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhonePlan> phonePlans, string nextLink) { throw null; }
public static Azure.Communication.Administration.Models.RateInformation RateInformation(double? monthlyRate, Azure.Communication.Administration.Models.CurrencyType? currencyType, string rateErrorMessage) { throw null; }
public static Azure.Communication.Administration.Models.ReleasePhoneNumberOperation ReleasePhoneNumberOperation(Azure.Communication.Administration.PhoneNumberAdministrationClient client, string releaseId) { throw null; }
Expand Down Expand Up @@ -350,24 +340,12 @@ public NumberUpdateCapabilities() { }
public static bool operator !=(Azure.Communication.Administration.Models.PhoneNumberCapability left, Azure.Communication.Administration.Models.PhoneNumberCapability right) { throw null; }
public override string ToString() { throw null; }
}
public partial class PhoneNumberCountries
{
internal PhoneNumberCountries() { }
public System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhoneNumberCountry> Countries { get { throw null; } }
public string NextLink { get { throw null; } }
}
public partial class PhoneNumberCountry
{
internal PhoneNumberCountry() { }
public string CountryCode { get { throw null; } }
public string LocalizedName { get { throw null; } }
}
public partial class PhoneNumberEntities
{
internal PhoneNumberEntities() { }
public System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhoneNumberEntity> Entities { get { throw null; } }
public string NextLink { get { throw null; } }
}
public partial class PhoneNumberEntity
{
internal PhoneNumberEntity() { }
Expand Down Expand Up @@ -496,12 +474,6 @@ internal PhonePlanGroup() { }
public string PhonePlanGroupId { get { throw null; } }
public Azure.Communication.Administration.Models.RateInformation RateInformation { get { throw null; } }
}
public partial class PhonePlanGroups
{
internal PhonePlanGroups() { }
public string NextLink { get { throw null; } }
public System.Collections.Generic.IReadOnlyList<Azure.Communication.Administration.Models.PhonePlanGroup> PhonePlanGroupsValue { get { throw null; } }
}
public partial class PhonePlansResponse
{
internal PhonePlansResponse() { }
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Azure.Communication.Administration.Models
{
internal partial class AcquiredPhoneNumbers
{
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,6 @@ public static class AdministrationModelFactory
public static AcquiredPhoneNumber AcquiredPhoneNumber(string phoneNumber, IEnumerable<PhoneNumberCapability> acquiredCapabilities, IEnumerable<PhoneNumberCapability> availableCapabilities)
=> new AcquiredPhoneNumber(phoneNumber, acquiredCapabilities, availableCapabilities);

/// <summary>
/// Initializes a new instance of the <see cref="AcquiredPhoneNumbers"/> class.
/// </summary>
/// <param name="phoneNumbers"> Represents a list of phone numbers. </param>
/// <param name="nextLink"> Represents the URL link to the next page. </param>
/// <returns>A new <see cref="AcquiredPhoneNumbers"/> instance for mocking.</returns>
public static AcquiredPhoneNumbers AcquiredPhoneNumbers(IReadOnlyList<AcquiredPhoneNumber> phoneNumbers, string nextLink)
=> new AcquiredPhoneNumbers(phoneNumbers, nextLink);

/// <summary>
/// Initializes a new instance of the <see cref="AreaCodes"/> class.
/// </summary>
Expand Down Expand Up @@ -113,15 +104,6 @@ public static NumberConfigurationResponse NumberConfigurationResponse(PstnConfig
public static NumberUpdateCapabilities NumberUpdateCapabilities(IList<PhoneNumberCapability> @add, IList<PhoneNumberCapability> @remove)
=> new NumberUpdateCapabilities(@add, @remove);

/// <summary>
/// Initializes a new instance of the <see cref="PhoneNumberCountries"/> class.
/// </summary>
/// <param name="countries"> Represents the underlying list of countries. </param>
/// <param name="nextLink"> Represents the URL link to the next page. </param>
/// <returns>A new <see cref="PhoneNumberCountries"/> instance for mocking.</returns>
public static PhoneNumberCountries PhoneNumberCountries(IReadOnlyList<PhoneNumberCountry> countries, string nextLink)
=> new PhoneNumberCountries(countries, nextLink);

/// <summary>
/// Initializes a new instance of the <see cref="PhoneNumberCountry"/> class.
/// </summary>
Expand All @@ -131,15 +113,6 @@ public static PhoneNumberCountries PhoneNumberCountries(IReadOnlyList<PhoneNumbe
public static PhoneNumberCountry PhoneNumberCountry(string localizedName, string countryCode)
=> new PhoneNumberCountry(localizedName, countryCode);

/// <summary>
/// Initializes a new instance of the <see cref="PhoneNumberEntities"/> class.
/// </summary>
/// <param name="entities"> The underlying list of entities. </param>
/// <param name="nextLink"> Represents the URL link to the next page. </param>
/// <returns>A new <see cref="PhoneNumberEntities"/> instance for mocking.</returns>
public static PhoneNumberEntities PhoneNumberEntities(IReadOnlyList<PhoneNumberEntity> entities, string nextLink)
=> new PhoneNumberEntities(entities, nextLink);

/// <summary>
/// Initializes a new instance of the <see cref="PhoneNumberEntity"/> class.
/// </summary>
Expand Down Expand Up @@ -215,15 +188,6 @@ public static PhonePlan PhonePlan(string phonePlanId, string localizedName, Loca
public static PhonePlanGroup PhonePlanGroup(string phonePlanGroupId, string localizedName, string localizedDescription)
=> new PhonePlanGroup(phonePlanGroupId, localizedName, localizedDescription);

/// <summary>
/// Initializes a new instance of the <see cref="PhonePlanGroups"/> class.
/// </summary>
/// <param name="phonePlanGroupsValue"> The underlying list of phone plan groups. </param>
/// <param name="nextLink"> Represents the URL link to the next page. </param>
/// <returns>A new <see cref="PhonePlanGroups"/> instance for mocking.</returns>
public static PhonePlanGroups PhonePlanGroups(IReadOnlyList<PhonePlanGroup> phonePlanGroupsValue, string nextLink)
=> new PhonePlanGroups(phonePlanGroupsValue, nextLink);

/// <summary>
/// Initializes a new instance of the <see cref="PhonePlansResponse"/> class.
/// </summary>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Azure.Communication.Administration.Models
{
internal partial class PhoneNumberCountries
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Azure.Communication.Administration.Models
{
internal partial class PhoneNumberEntities
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Azure.Communication.Administration.Models
{
internal partial class PhonePlanGroups
{
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.

namespace Azure.Communication.Administration.Models
{
internal partial class PhonePlans
{
}
}