Class IngestRequest
- java.lang.Object
-
- org.genesys.amphibian.client.model.IngestRequest
-
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class IngestRequest extends Object
IngestRequest
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_CONTENT_TYPEstatic StringJSON_PROPERTY_ENCODINGstatic StringJSON_PROPERTY_EXPIRESstatic StringJSON_PROPERTY_FILE
-
Constructor Summary
Constructors Constructor Description IngestRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IngestRequest_file(File _file)IngestRequestcontentType(String contentType)IngestRequestencoding(String encoding)booleanequals(Object o)IngestRequestexpires(Date expires)StringgetContentType()Optionally provide file content typeStringgetEncoding()Optionally provide character encodingDategetExpires()Set the date after the ingested file may be removed from the database (defaults to default expiration period)FilegetFile()The file to ingest into the databaseinthashCode()voidsetContentType(String contentType)voidsetEncoding(String encoding)voidsetExpires(Date expires)voidsetFile(File _file)StringtoString()
-
-
-
Field Detail
-
JSON_PROPERTY_EXPIRES
public static final String JSON_PROPERTY_EXPIRES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ENCODING
public static final String JSON_PROPERTY_ENCODING
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CONTENT_TYPE
public static final String JSON_PROPERTY_CONTENT_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FILE
public static final String JSON_PROPERTY_FILE
- See Also:
- Constant Field Values
-
-
Method Detail
-
expires
public IngestRequest expires(Date expires)
-
getExpires
@Nullable public Date getExpires()
Set the date after the ingested file may be removed from the database (defaults to default expiration period)- Returns:
- expires
-
setExpires
public void setExpires(Date expires)
-
encoding
public IngestRequest encoding(String encoding)
-
getEncoding
@Nullable public String getEncoding()
Optionally provide character encoding- Returns:
- encoding
-
setEncoding
public void setEncoding(String encoding)
-
contentType
public IngestRequest contentType(String contentType)
-
getContentType
@Nullable public String getContentType()
Optionally provide file content type- Returns:
- contentType
-
setContentType
public void setContentType(String contentType)
-
_file
public IngestRequest _file(File _file)
-
setFile
public void setFile(File _file)
-
-