-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Get page ranges continuation (#28390)
* Generated code * Fixed nextMarker * Tried to reformat the xml tags * Tried to add a segment type to reformat xml tags * Tried another thing * Got it generating * Finished feature * Changelog * Some apiview feedback * Starting an attempt to pass context to method * Sorted out adding context to sync method * Wrote some tests * Wrote tests * Test fixes and recordings * Added samples * ci fix * imports fixes * Added PageListHelper * Fixed merge conflict
- Loading branch information
1 parent
bb4cb25
commit 1431830
Showing
79 changed files
with
6,888 additions
and
32 deletions.
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
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
47 changes: 47 additions & 0 deletions
47
...e-blob/src/main/java/com/azure/storage/blob/implementation/models/BlobCopySourceTags.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,47 @@ | ||
// Copyright (c) Microsoft Corporation. All rights reserved. | ||
// Licensed under the MIT License. | ||
// Code generated by Microsoft (R) AutoRest Code Generator. | ||
|
||
package com.azure.storage.blob.implementation.models; | ||
|
||
import com.fasterxml.jackson.annotation.JsonCreator; | ||
import com.fasterxml.jackson.annotation.JsonValue; | ||
|
||
/** Defines values for BlobCopySourceTags. */ | ||
public enum BlobCopySourceTags { | ||
/** Enum value REPLACE. */ | ||
REPLACE("REPLACE"), | ||
|
||
/** Enum value COPY. */ | ||
COPY("COPY"); | ||
|
||
/** The actual serialized value for a BlobCopySourceTags instance. */ | ||
private final String value; | ||
|
||
BlobCopySourceTags(String value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Parses a serialized value to a BlobCopySourceTags instance. | ||
* | ||
* @param value the serialized value to parse. | ||
* @return the parsed BlobCopySourceTags object, or null if unable to parse. | ||
*/ | ||
@JsonCreator | ||
public static BlobCopySourceTags fromString(String value) { | ||
BlobCopySourceTags[] items = BlobCopySourceTags.values(); | ||
for (BlobCopySourceTags item : items) { | ||
if (item.toString().equalsIgnoreCase(value)) { | ||
return item; | ||
} | ||
} | ||
return null; | ||
} | ||
|
||
@JsonValue | ||
@Override | ||
public String toString() { | ||
return this.value; | ||
} | ||
} |
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
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
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
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
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
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
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
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
Oops, something went wrong.