@@ -7,10 +7,10 @@ public PhoneNumbersClient(string connectionString) { }
77 public PhoneNumbersClient ( string connectionString , Azure . Communication . PhoneNumbers . PhoneNumbersClientOptions options ) { }
88 public PhoneNumbersClient ( System . Uri endpoint , Azure . AzureKeyCredential keyCredential , Azure . Communication . PhoneNumbers . PhoneNumbersClientOptions options = null ) { }
99 public PhoneNumbersClient ( System . Uri endpoint , Azure . Core . TokenCredential tokenCredential , Azure . Communication . PhoneNumbers . PhoneNumbersClientOptions options = null ) { }
10- public virtual Azure . Response < Azure . Communication . PhoneNumbers . Models . AcquiredPhoneNumber > GetPhoneNumber ( string phoneNumber , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
11- public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . PhoneNumbers . Models . AcquiredPhoneNumber > > GetPhoneNumberAsync ( string phoneNumber , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
12- public virtual Azure . Pageable < Azure . Communication . PhoneNumbers . Models . AcquiredPhoneNumber > GetPhoneNumbers ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
13- public virtual Azure . AsyncPageable < Azure . Communication . PhoneNumbers . Models . AcquiredPhoneNumber > GetPhoneNumbersAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
10+ public virtual Azure . Response < Azure . Communication . PhoneNumbers . Models . PurchasedPhoneNumber > GetPurchasedPhoneNumber ( string phoneNumber , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
11+ public virtual System . Threading . Tasks . Task < Azure . Response < Azure . Communication . PhoneNumbers . Models . PurchasedPhoneNumber > > GetPurchasedPhoneNumberAsync ( string phoneNumber , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
12+ public virtual Azure . Pageable < Azure . Communication . PhoneNumbers . Models . PurchasedPhoneNumber > GetPurchasedPhoneNumbers ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
13+ public virtual Azure . AsyncPageable < Azure . Communication . PhoneNumbers . Models . PurchasedPhoneNumber > GetPurchasedPhoneNumbersAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
1414 public virtual Azure . Communication . PhoneNumbers . PurchasePhoneNumbersOperation StartPurchasePhoneNumbers ( string searchId , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
1515 public virtual System . Threading . Tasks . Task < Azure . Communication . PhoneNumbers . PurchasePhoneNumbersOperation > StartPurchasePhoneNumbersAsync ( string searchId , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
1616 public virtual Azure . Communication . PhoneNumbers . ReleasePhoneNumberOperation StartReleasePhoneNumber ( string phoneNumber , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
@@ -73,34 +73,22 @@ internal SearchAvailablePhoneNumbersOperation() { }
7373 public override System . Threading . Tasks . ValueTask < Azure . Response < Azure . Communication . PhoneNumbers . Models . PhoneNumberSearchResult > > WaitForCompletionAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
7474 public override System . Threading . Tasks . ValueTask < Azure . Response < Azure . Communication . PhoneNumbers . Models . PhoneNumberSearchResult > > WaitForCompletionAsync ( System . TimeSpan pollingInterval , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
7575 }
76- public partial class UpdatePhoneNumberCapabilitiesOperation : Azure . Operation < Azure . Communication . PhoneNumbers . Models . AcquiredPhoneNumber >
76+ public partial class UpdatePhoneNumberCapabilitiesOperation : Azure . Operation < Azure . Communication . PhoneNumbers . Models . PurchasedPhoneNumber >
7777 {
7878 internal UpdatePhoneNumberCapabilitiesOperation ( ) { }
7979 public override bool HasCompleted { get { throw null ; } }
8080 public override bool HasValue { get { throw null ; } }
8181 public override string Id { get { throw null ; } }
82- public override Azure . Communication . PhoneNumbers . Models . AcquiredPhoneNumber Value { get { throw null ; } }
82+ public override Azure . Communication . PhoneNumbers . Models . PurchasedPhoneNumber Value { get { throw null ; } }
8383 public override Azure . Response GetRawResponse ( ) { throw null ; }
8484 public override Azure . Response UpdateStatus ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
8585 public override System . Threading . Tasks . ValueTask < Azure . Response > UpdateStatusAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
86- public override System . Threading . Tasks . ValueTask < Azure . Response < Azure . Communication . PhoneNumbers . Models . AcquiredPhoneNumber > > WaitForCompletionAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
87- public override System . Threading . Tasks . ValueTask < Azure . Response < Azure . Communication . PhoneNumbers . Models . AcquiredPhoneNumber > > WaitForCompletionAsync ( System . TimeSpan pollingInterval , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
86+ public override System . Threading . Tasks . ValueTask < Azure . Response < Azure . Communication . PhoneNumbers . Models . PurchasedPhoneNumber > > WaitForCompletionAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
87+ public override System . Threading . Tasks . ValueTask < Azure . Response < Azure . Communication . PhoneNumbers . Models . PurchasedPhoneNumber > > WaitForCompletionAsync ( System . TimeSpan pollingInterval , System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) { throw null ; }
8888 }
8989}
9090namespace Azure . Communication . PhoneNumbers . Models
9191{
92- public partial class AcquiredPhoneNumber
93- {
94- internal AcquiredPhoneNumber ( ) { }
95- public Azure . Communication . PhoneNumbers . Models . PhoneNumberAssignmentType AssignmentType { get { throw null ; } }
96- public Azure . Communication . PhoneNumbers . Models . PhoneNumberCapabilities Capabilities { get { throw null ; } }
97- public Azure . Communication . PhoneNumbers . Models . PhoneNumberCost Cost { get { throw null ; } }
98- public string CountryCode { get { throw null ; } }
99- public string Id { get { throw null ; } }
100- public string PhoneNumber { get { throw null ; } }
101- public Azure . Communication . PhoneNumbers . Models . PhoneNumberType PhoneNumberType { get { throw null ; } }
102- public System . DateTimeOffset PurchaseDate { get { throw null ; } }
103- }
10492 [ System . Runtime . InteropServices . StructLayoutAttribute ( System . Runtime . InteropServices . LayoutKind . Sequential ) ]
10593 public readonly partial struct BillingFrequency : System . IEquatable < Azure . Communication . PhoneNumbers . Models . BillingFrequency >
10694 {
@@ -222,8 +210,8 @@ internal PhoneNumberSearchResult() { }
222210 }
223211 public static partial class PhoneNumbersModelFactory
224212 {
225- public static Azure . Communication . PhoneNumbers . Models . AcquiredPhoneNumber AcquiredPhoneNumber ( string id , string phoneNumber , string countryCode , Azure . Communication . PhoneNumbers . Models . PhoneNumberType phoneNumberType , Azure . Communication . PhoneNumbers . Models . PhoneNumberCapabilities capabilities , Azure . Communication . PhoneNumbers . Models . PhoneNumberAssignmentType assignmentType , System . DateTimeOffset purchaseDate , Azure . Communication . PhoneNumbers . Models . PhoneNumberCost cost ) { throw null ; }
226213 public static Azure . Communication . PhoneNumbers . Models . PhoneNumberCost PhoneNumberCost ( double amount , string currencyCode , string billingFrequency ) { throw null ; }
214+ public static Azure . Communication . PhoneNumbers . Models . PurchasedPhoneNumber PurchasedPhoneNumber ( string id , string phoneNumber , string countryCode , Azure . Communication . PhoneNumbers . Models . PhoneNumberType phoneNumberType , Azure . Communication . PhoneNumbers . Models . PhoneNumberCapabilities capabilities , Azure . Communication . PhoneNumbers . Models . PhoneNumberAssignmentType assignmentType , System . DateTimeOffset purchaseDate , Azure . Communication . PhoneNumbers . Models . PhoneNumberCost cost ) { throw null ; }
227215 }
228216 [ System . Runtime . InteropServices . StructLayoutAttribute ( System . Runtime . InteropServices . LayoutKind . Sequential ) ]
229217 public readonly partial struct PhoneNumberType : System . IEquatable < Azure . Communication . PhoneNumbers . Models . PhoneNumberType >
@@ -243,4 +231,16 @@ public static partial class PhoneNumbersModelFactory
243231 public static bool operator != ( Azure . Communication . PhoneNumbers . Models . PhoneNumberType left , Azure . Communication . PhoneNumbers . Models . PhoneNumberType right ) { throw null ; }
244232 public override string ToString ( ) { throw null ; }
245233 }
234+ public partial class PurchasedPhoneNumber
235+ {
236+ internal PurchasedPhoneNumber ( ) { }
237+ public Azure . Communication . PhoneNumbers . Models . PhoneNumberAssignmentType AssignmentType { get { throw null ; } }
238+ public Azure . Communication . PhoneNumbers . Models . PhoneNumberCapabilities Capabilities { get { throw null ; } }
239+ public Azure . Communication . PhoneNumbers . Models . PhoneNumberCost Cost { get { throw null ; } }
240+ public string CountryCode { get { throw null ; } }
241+ public string Id { get { throw null ; } }
242+ public string PhoneNumber { get { throw null ; } }
243+ public Azure . Communication . PhoneNumbers . Models . PhoneNumberType PhoneNumberType { get { throw null ; } }
244+ public System . DateTimeOffset PurchaseDate { get { throw null ; } }
245+ }
246246}
0 commit comments