### Question:
Artifact { public Artifact mode(Integer mode) { this.mode = mode; return this; }  Artifact archive(ArchiveStrategy archive); @javax.annotation.Nullable @ApiModelProperty(value = "") ArchiveStrategy getArchive(); void setArchive(ArchiveStrategy archive); Artifact archiveLogs(Boolean archiveLogs); @javax.annotation.Nullable @ApiModelProperty(value = "ArchiveLogs indicates if the container logs should be archived") Boolean getArchiveLogs(); void setArchiveLogs(Boolean archiveLogs); Artifact artifactory(ArtifactoryArtifact artifactory); @javax.annotation.Nullable @ApiModelProperty(value = "") ArtifactoryArtifact getArtifactory(); void setArtifactory(ArtifactoryArtifact artifactory); Artifact from(String from); @javax.annotation.Nullable @ApiModelProperty(value = "From allows an artifact to reference an artifact from a previous step") String getFrom(); void setFrom(String from); Artifact git(GitArtifact git); @javax.annotation.Nullable @ApiModelProperty(value = "") GitArtifact getGit(); void setGit(GitArtifact git); Artifact globalName(String globalName); @javax.annotation.Nullable @ApiModelProperty(value = "GlobalName exports an output artifact to the global scope, making it available as '{{workflow.outputs.artifacts.XXXX}} and in workflow.status.outputs.artifacts") String getGlobalName(); void setGlobalName(String globalName); Artifact hdfs(HDFSArtifact hdfs); @javax.annotation.Nullable @ApiModelProperty(value = "") HDFSArtifact getHdfs(); void setHdfs(HDFSArtifact hdfs); Artifact http(HTTPArtifact http); @javax.annotation.Nullable @ApiModelProperty(value = "") HTTPArtifact getHttp(); void setHttp(HTTPArtifact http); Artifact mode(Integer mode); @javax.annotation.Nullable @ApiModelProperty(value = "mode bits to use on this file, must be a value between 0 and 0777 set when loading input artifacts.") Integer getMode(); void setMode(Integer mode); Artifact name(String name); @ApiModelProperty(required = true, value = "name of the artifact. must be unique within a template's inputs/outputs.") String getName(); void setName(String name); Artifact optional(Boolean optional); @javax.annotation.Nullable @ApiModelProperty(value = "Make Artifacts optional, if Artifacts doesn't generate or exist") Boolean getOptional(); void setOptional(Boolean optional); Artifact path(String path); @javax.annotation.Nullable @ApiModelProperty(value = "Path is the container path to the artifact") String getPath(); void setPath(String path); Artifact raw(RawArtifact raw); @javax.annotation.Nullable @ApiModelProperty(value = "") RawArtifact getRaw(); void setRaw(RawArtifact raw); Artifact s3(S3Artifact s3); @javax.annotation.Nullable @ApiModelProperty(value = "") S3Artifact getS3(); void setS3(S3Artifact s3); @Override boolean equals(java.lang.Object o); @Override int hashCode(); @Override String toString(); static final String SERIALIZED_NAME_ARCHIVE; static final String SERIALIZED_NAME_ARCHIVE_LOGS; static final String SERIALIZED_NAME_ARTIFACTORY; static final String SERIALIZED_NAME_FROM; static final String SERIALIZED_NAME_GIT; static final String SERIALIZED_NAME_GLOBAL_NAME; static final String SERIALIZED_NAME_HDFS; static final String SERIALIZED_NAME_HTTP; static final String SERIALIZED_NAME_MODE; static final String SERIALIZED_NAME_NAME; static final String SERIALIZED_NAME_OPTIONAL; static final String SERIALIZED_NAME_PATH; static final String SERIALIZED_NAME_RAW; static final String SERIALIZED_NAME_S3; }### Answer:
@Test public void modeTest() { }