-
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.
Generated off latest version of blob swagger (#21644)
- Loading branch information
1 parent
768e313
commit 8b49136
Showing
24 changed files
with
1,631 additions
and
479 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
164 changes: 164 additions & 0 deletions
164
...age/azure-storage-blob/src/main/java/com/azure/storage/blob/implementation/BlobsImpl.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
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
50 changes: 50 additions & 0 deletions
50
...rc/main/java/com/azure/storage/blob/implementation/models/BlobImmutabilityPolicyMode.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,50 @@ | ||
// 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 BlobImmutabilityPolicyMode. */ | ||
public enum BlobImmutabilityPolicyMode { | ||
/** Enum value Unlocked. */ | ||
UNLOCKED("Unlocked"), | ||
|
||
/** Enum value Locked. */ | ||
LOCKED("Locked"), | ||
|
||
/** Enum value Mutable. */ | ||
MUTABLE("Mutable"); | ||
|
||
/** The actual serialized value for a BlobImmutabilityPolicyMode instance. */ | ||
private final String value; | ||
|
||
BlobImmutabilityPolicyMode(String value) { | ||
this.value = value; | ||
} | ||
|
||
/** | ||
* Parses a serialized value to a BlobImmutabilityPolicyMode instance. | ||
* | ||
* @param value the serialized value to parse. | ||
* @return the parsed BlobImmutabilityPolicyMode object, or null if unable to parse. | ||
*/ | ||
@JsonCreator | ||
public static BlobImmutabilityPolicyMode fromString(String value) { | ||
BlobImmutabilityPolicyMode[] items = BlobImmutabilityPolicyMode.values(); | ||
for (BlobImmutabilityPolicyMode 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
Oops, something went wrong.