com.vmware.vim25.FileInfo Maven / Gradle / Ivy
package com.vmware.vim25;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
/**
* Java class for FileInfo complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="FileInfo">
* <complexContent>
* <extension base="{urn:vim25}DynamicData">
* <sequence>
* <element name="path" type="{http://www.w3.org/2001/XMLSchema}string"/>
* <element name="friendlyName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* <element name="fileSize" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
* <element name="modification" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="owner" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FileInfo", propOrder = {
"path",
"friendlyName",
"fileSize",
"modification",
"owner"
})
@XmlSeeAlso({
VmConfigFileInfo.class,
VmDiskFileInfo.class,
FolderFileInfo.class,
VmSnapshotFileInfo.class,
IsoImageFileInfo.class,
FloppyImageFileInfo.class,
VmNvramFileInfo.class,
VmLogFileInfo.class
})
public class FileInfo
extends DynamicData
{
@XmlElement(required = true)
protected String path;
protected String friendlyName;
protected Long fileSize;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar modification;
protected String owner;
/**
* Gets the value of the path property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPath() {
return path;
}
/**
* Sets the value of the path property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPath(String value) {
this.path = value;
}
/**
* Gets the value of the friendlyName property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFriendlyName() {
return friendlyName;
}
/**
* Sets the value of the friendlyName property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setFriendlyName(String value) {
this.friendlyName = value;
}
/**
* Gets the value of the fileSize property.
*
* @return
* possible object is
* {@link Long }
*
*/
public Long getFileSize() {
return fileSize;
}
/**
* Sets the value of the fileSize property.
*
* @param value
* allowed object is
* {@link Long }
*
*/
public void setFileSize(Long value) {
this.fileSize = value;
}
/**
* Gets the value of the modification property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getModification() {
return modification;
}
/**
* Sets the value of the modification property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public void setModification(XMLGregorianCalendar value) {
this.modification = value;
}
/**
* Gets the value of the owner property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getOwner() {
return owner;
}
/**
* Sets the value of the owner property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOwner(String value) {
this.owner = value;
}
}