BlobLeaseRequestConditions
Specifies access conditions for leasing operations on a container or blob.
using Azure.Storage.Common;
namespace Azure.Storage.Blobs.Models
{
public class BlobLeaseRequestConditions
{
public string TagConditions { get; set; }
public BlobLeaseRequestConditions()
: this()
{
}
internal BlobLeaseRequestConditions(BlobLeaseRequestConditions deepCopySource)
: this()
{
Argument.AssertNotNull(deepCopySource, "deepCopySource");
TagConditions = deepCopySource.TagConditions;
this.set_IfMatch(deepCopySource.get_IfMatch());
this.set_IfNoneMatch(deepCopySource.get_IfNoneMatch());
this.set_IfModifiedSince(deepCopySource.get_IfModifiedSince());
this.set_IfUnmodifiedSince(deepCopySource.get_IfUnmodifiedSince());
}
internal static BlobLeaseRequestConditions CloneOrDefault(BlobLeaseRequestConditions deepCopySource)
{
if (deepCopySource == null)
return null;
return new BlobLeaseRequestConditions(deepCopySource);
}
}
}