com.softlayer.api.service.container.utility.file.Descriptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of softlayer-api-client Show documentation
Show all versions of softlayer-api-client Show documentation
API client for accessing the SoftLayer API
package com.softlayer.api.service.container.utility.file;
import com.softlayer.api.annotation.ApiProperty;
import com.softlayer.api.annotation.ApiType;
import com.softlayer.api.service.Entity;
import java.util.GregorianCalendar;
/**
* Used to describe a document in the file system on the file server
*
* @see SoftLayer_Container_Utility_File_Descriptor
*/
@ApiType("SoftLayer_Container_Utility_File_Descriptor")
public class Descriptor extends Entity {
/**
* The name of a file as it exists on the file server.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String fileName;
public String getFileName() {
return fileName;
}
public void setFileName(String fileName) {
fileNameSpecified = true;
this.fileName = fileName;
}
protected boolean fileNameSpecified;
public boolean isFileNameSpecified() {
return fileNameSpecified;
}
public void unsetFileName() {
fileName = null;
fileNameSpecified = false;
}
/**
* The friendly name of a file as it exists on the file server.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected String friendlyName;
public String getFriendlyName() {
return friendlyName;
}
public void setFriendlyName(String friendlyName) {
friendlyNameSpecified = true;
this.friendlyName = friendlyName;
}
protected boolean friendlyNameSpecified;
public boolean isFriendlyNameSpecified() {
return friendlyNameSpecified;
}
public void unsetFriendlyName() {
friendlyName = null;
friendlyNameSpecified = false;
}
/**
* The date the file was last modified on the file server.
*/
@ApiProperty(canBeNullOrNotSet = true)
protected GregorianCalendar modifyDate;
public GregorianCalendar getModifyDate() {
return modifyDate;
}
public void setModifyDate(GregorianCalendar modifyDate) {
modifyDateSpecified = true;
this.modifyDate = modifyDate;
}
protected boolean modifyDateSpecified;
public boolean isModifyDateSpecified() {
return modifyDateSpecified;
}
public void unsetModifyDate() {
modifyDate = null;
modifyDateSpecified = false;
}
public static class Mask extends com.softlayer.api.service.Entity.Mask {
public Mask fileName() {
withLocalProperty("fileName");
return this;
}
public Mask friendlyName() {
withLocalProperty("friendlyName");
return this;
}
public Mask modifyDate() {
withLocalProperty("modifyDate");
return this;
}
}
}