
ru.perveevm.polygon.api.entities.ProblemFile Maven / Gradle / Ivy
package ru.perveevm.polygon.api.entities;
/**
* Represents a resource, source or aux file.
*
* @author Perveev Mike ([email protected])
*/
public class ProblemFile {
private String name;
private Integer modificationTimeSeconds;
private Integer length;
private String sourceType;
private ResourceAdvancedProperties resourceAdvancedProperties;
/**
* @return File name.
*/
public String getName() {
return name;
}
/**
* @return Last modification time in unix format.
*/
public Integer getModificationTimeSeconds() {
return modificationTimeSeconds;
}
/**
* @return File length.
*/
public Integer getLength() {
return length;
}
/**
* @return Source file type. It is null
for resources and aux files.
*/
public String getSourceType() {
return sourceType;
}
/**
* @return Advanced properties for the file. It is null
for sources and aux files.
*/
public ResourceAdvancedProperties getResourceAdvancedProperties() {
return resourceAdvancedProperties;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy