
com.microsoft.windowsazure.services.blob.models.BlobProperties Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of microsoft-windowsazure-api
Show all versions of microsoft-windowsazure-api
API for Microsoft Windows Azure Clients
/**
* Copyright 2011 Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.microsoft.windowsazure.services.blob.models;
import java.util.Date;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.microsoft.windowsazure.services.blob.implementation.RFC1123DateAdapter;
public class BlobProperties {
private Date lastModified;
private String etag;
private String contentType;
private long contentLength;
private String contentEncoding;
private String contentLanguage;
private String contentMD5;
private String cacheControl;
private String blobType;
private String leaseStatus;
private long sequenceNumber;
@XmlElement(name = "Last-Modified")
@XmlJavaTypeAdapter(RFC1123DateAdapter.class)
public Date getLastModified() {
return lastModified;
}
public void setLastModified(Date lastModified) {
this.lastModified = lastModified;
}
@XmlElement(name = "Etag")
public String getEtag() {
return etag;
}
public void setEtag(String etag) {
this.etag = etag;
}
@XmlElement(name = "Content-Type")
public String getContentType() {
return contentType;
}
public void setContentType(String contentType) {
this.contentType = contentType;
}
@XmlElement(name = "Content-Length")
public long getContentLength() {
return contentLength;
}
public void setContentLength(long contentLength) {
this.contentLength = contentLength;
}
@XmlElement(name = "Content-Encoding")
public String getContentEncoding() {
return contentEncoding;
}
public void setContentEncoding(String contentEncoding) {
this.contentEncoding = contentEncoding;
}
@XmlElement(name = "Content-Language")
public String getContentLanguage() {
return contentLanguage;
}
public void setContentLanguage(String contentLanguage) {
this.contentLanguage = contentLanguage;
}
@XmlElement(name = "Content-MD5")
public String getContentMD5() {
return contentMD5;
}
public void setContentMD5(String contentMD5) {
this.contentMD5 = contentMD5;
}
@XmlElement(name = "Cache-Control")
public String getCacheControl() {
return cacheControl;
}
public void setCacheControl(String cacheControl) {
this.cacheControl = cacheControl;
}
@XmlElement(name = "BlobType")
public String getBlobType() {
return blobType;
}
public void setBlobType(String blobType) {
this.blobType = blobType;
}
@XmlElement(name = "LeaseStatus")
public String getLeaseStatus() {
return leaseStatus;
}
public void setLeaseStatus(String leaseStatus) {
this.leaseStatus = leaseStatus;
}
@XmlElement(name = "x-ms-blob-sequence-number")
public long getSequenceNumber() {
return sequenceNumber;
}
public void setSequenceNumber(long sequenceNumber) {
this.sequenceNumber = sequenceNumber;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy