-
Notifications
You must be signed in to change notification settings - Fork 2k
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- Renaming the model from PhoneNumberSearch to PhoneNumberReservation #17253
Merged
Merged
[Communication] -Administration- Renaming the model from PhoneNumberSearch to PhoneNumberReservation #17253
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
0ee3a0c
Renaming from PhoneNumberSearch to PhoneNumberReservation
paolamvhz ebafcf2
Renaming from PhoneNumberSearch to PhoneNumberReservation
paolamvhz 083e60e
Renaming from PhoneNumberSearch to PhoneNumberReservation
paolamvhz eaf8c47
upadating readme samples
paolamvhz 3dc2629
Merge remote-tracking branch 'upstream/master' into renameNew
paolamvhz 017c08b
Renaming the model CreateSearchReponse and CreateSearchOptions
paolamvhz 4492314
Fixing tests
paolamvhz 8370590
Fixing tests
paolamvhz 2d66060
fixing typo un reservations
paolamvhz File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
262 changes: 133 additions & 129 deletions
262
...stration/src/main/java/com/azure/communication/administration/PhoneNumberAsyncClient.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
67 changes: 67 additions & 0 deletions
67
...dministration/src/main/java/com/azure/communication/administration/ReservationStatus.java
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,67 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.communication.administration; | ||
|
||
import com.azure.core.util.ExpandableStringEnum; | ||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import java.util.Collection; | ||
|
||
/** Defines values for ReservationStatus. */ | ||
public final class ReservationStatus extends ExpandableStringEnum<ReservationStatus> { | ||
/** Static value Pending for ReservationStatus. */ | ||
public static final ReservationStatus PENDING = fromString("Pending"); | ||
|
||
/** Static value InProgress for ReservationStatus. */ | ||
public static final ReservationStatus IN_PROGRESS = fromString("InProgress"); | ||
|
||
/** Static value Reserved for ReservationStatus. */ | ||
public static final ReservationStatus RESERVED = fromString("Reserved"); | ||
|
||
/** Static value Expired for ReservationStatus. */ | ||
public static final ReservationStatus EXPIRED = fromString("Expired"); | ||
|
||
/** Static value Expiring for ReservationStatus. */ | ||
public static final ReservationStatus EXPIRING = fromString("Expiring"); | ||
|
||
/** Static value Completing for ReservationStatus. */ | ||
public static final ReservationStatus COMPLETING = fromString("Completing"); | ||
|
||
/** Static value Refreshing for ReservationStatus. */ | ||
public static final ReservationStatus REFRESHING = fromString("Refreshing"); | ||
|
||
/** Static value Success for ReservationStatus. */ | ||
public static final ReservationStatus SUCCESS = fromString("Success"); | ||
|
||
/** Static value Manual for ReservationStatus. */ | ||
public static final ReservationStatus MANUAL = fromString("Manual"); | ||
|
||
/** Static value Cancelled for ReservationStatus. */ | ||
public static final ReservationStatus CANCELLED = fromString("Cancelled"); | ||
|
||
/** Static value Cancelling for ReservationStatus. */ | ||
public static final ReservationStatus CANCELLING = fromString("Cancelling"); | ||
|
||
/** Static value Error for ReservationStatus. */ | ||
public static final ReservationStatus ERROR = fromString("Error"); | ||
|
||
/** Static value PurchasePending for ReservationStatus. */ | ||
public static final ReservationStatus PURCHASE_PENDING = fromString("PurchasePending"); | ||
|
||
/** | ||
* Creates or finds a ReservationStatus from its string representation. | ||
* | ||
* @param name a name to look for. | ||
* @return the corresponding ReservationStatus. | ||
*/ | ||
@JsonCreator | ||
public static ReservationStatus fromString(String name) { | ||
return fromString(name, ReservationStatus.class); | ||
} | ||
|
||
/** @return known ReservationStatus values. */ | ||
public static Collection<ReservationStatus> values() { | ||
return values(ReservationStatus.class); | ||
} | ||
} |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here