/*
* Copyright (c) 2016 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.file;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import com.emc.storageos.model.RelatedResourceRep;
/**
* Information relevant to a file snapshot, returned as a
* response to a REST request.
*
*/
@XmlAccessorType(XmlAccessType.PROPERTY)
@XmlRootElement(name = "schedule_snapshot")
public class ScheduleSnapshotRestRep extends FileObjectRestRep {
private String timestamp;
private RelatedResourceRep parent;
private String nativeId;
private String expires;
private String created;
/**
* ID of the snapshot, as exported by the array.
*
*/
@XmlElement(name = "native_id")
public String getNativeId() {
return nativeId;
}
public void setNativeId(String nativeId) {
this.nativeId = nativeId;
}
/**
* URI and reference link to the file share that is the
* source of the snapshot.
*
*/
@XmlElement
public RelatedResourceRep getParent() {
return parent;
}
public void setParent(RelatedResourceRep parent) {
this.parent = parent;
}
/**
* Time instant when the snapshot was created in Vipr
*
*/
@XmlElement
public String getTimestamp() {
return timestamp;
}
public void setTimestamp(String timestamp) {
this.timestamp = timestamp;
}
@XmlElement
public String getExpires() {
return expires;
}
public void setExpires(String expires) {
this.expires = expires;
}
@XmlElement
public String getCreated() {
return created;
}
public void setCreated(String created) {
this.created = created;
}
}