@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-23T20:47:12.659110Z[Etc/UTC]")
public class ImportModel
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
ImportModel.CustomTypeAdapterFactory |
static class |
ImportModel.StatusEnum
The status of the operation.
|
| Modifier and Type | Field and Description |
|---|---|
static java.util.HashSet<java.lang.String> |
openapiFields |
static java.util.HashSet<java.lang.String> |
openapiRequiredFields |
static java.lang.String |
SERIALIZED_NAME_CREATED_AT |
static java.lang.String |
SERIALIZED_NAME_ERROR |
static java.lang.String |
SERIALIZED_NAME_FINISHED_AT |
static java.lang.String |
SERIALIZED_NAME_ID |
static java.lang.String |
SERIALIZED_NAME_PERCENT_COMPLETE |
static java.lang.String |
SERIALIZED_NAME_RECORDS_IMPORTED |
static java.lang.String |
SERIALIZED_NAME_STATUS |
static java.lang.String |
SERIALIZED_NAME_URI |
| Constructor and Description |
|---|
ImportModel() |
| Modifier and Type | Method and Description |
|---|---|
ImportModel |
createdAt(java.time.OffsetDateTime createdAt) |
boolean |
equals(java.lang.Object o) |
ImportModel |
error(java.lang.String error) |
ImportModel |
finishedAt(java.time.OffsetDateTime finishedAt) |
static ImportModel |
fromJson(java.lang.String jsonString)
Create an instance of ImportModel given an JSON string
|
java.util.Map<java.lang.String,java.lang.Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
java.lang.Object |
getAdditionalProperty(java.lang.String key)
Return the additional (undeclared) property with the specified name.
|
java.time.OffsetDateTime |
getCreatedAt()
The start time of the import operation.
|
java.lang.String |
getError()
The error message if the import process failed.
|
java.time.OffsetDateTime |
getFinishedAt()
The end time of the import operation.
|
java.lang.String |
getId()
Unique identifier for the import operation.
|
java.lang.Float |
getPercentComplete()
The progress made by the operation out of 100
minimum: 0.0
maximum: 100.0
|
java.lang.Long |
getRecordsImported()
The number of records successfully imported.
|
ImportModel.StatusEnum |
getStatus()
The status of the operation.
|
java.lang.String |
getUri()
The URI from where the data is imported.
|
int |
hashCode() |
ImportModel |
id(java.lang.String id) |
ImportModel |
percentComplete(java.lang.Float percentComplete) |
ImportModel |
putAdditionalProperty(java.lang.String key,
java.lang.Object value)
Set the additional (undeclared) property with the specified name and value.
|
ImportModel |
recordsImported(java.lang.Long recordsImported) |
void |
setCreatedAt(java.time.OffsetDateTime createdAt) |
void |
setError(java.lang.String error) |
void |
setFinishedAt(java.time.OffsetDateTime finishedAt) |
void |
setId(java.lang.String id) |
void |
setPercentComplete(java.lang.Float percentComplete) |
void |
setRecordsImported(java.lang.Long recordsImported) |
void |
setStatus(ImportModel.StatusEnum status) |
void |
setUri(java.lang.String uri) |
ImportModel |
status(ImportModel.StatusEnum status) |
java.lang.String |
toJson()
Convert an instance of ImportModel to an JSON string
|
java.lang.String |
toString() |
ImportModel |
uri(java.lang.String uri) |
static void |
validateJsonElement(com.google.gson.JsonElement jsonElement)
Validates the JSON Element and throws an exception if issues found
|
public static final java.lang.String SERIALIZED_NAME_ID
public static final java.lang.String SERIALIZED_NAME_URI
public static final java.lang.String SERIALIZED_NAME_STATUS
public static final java.lang.String SERIALIZED_NAME_CREATED_AT
public static final java.lang.String SERIALIZED_NAME_FINISHED_AT
public static final java.lang.String SERIALIZED_NAME_PERCENT_COMPLETE
public static final java.lang.String SERIALIZED_NAME_RECORDS_IMPORTED
public static final java.lang.String SERIALIZED_NAME_ERROR
public static java.util.HashSet<java.lang.String> openapiFields
public static java.util.HashSet<java.lang.String> openapiRequiredFields
public ImportModel id(java.lang.String id)
@Nullable public java.lang.String getId()
public void setId(java.lang.String id)
public ImportModel uri(java.lang.String uri)
@Nullable public java.lang.String getUri()
public void setUri(java.lang.String uri)
public ImportModel status(ImportModel.StatusEnum status)
@Nullable public ImportModel.StatusEnum getStatus()
public void setStatus(ImportModel.StatusEnum status)
public ImportModel createdAt(java.time.OffsetDateTime createdAt)
@Nullable public java.time.OffsetDateTime getCreatedAt()
public void setCreatedAt(java.time.OffsetDateTime createdAt)
public ImportModel finishedAt(java.time.OffsetDateTime finishedAt)
@Nullable public java.time.OffsetDateTime getFinishedAt()
public void setFinishedAt(java.time.OffsetDateTime finishedAt)
public ImportModel percentComplete(java.lang.Float percentComplete)
@Nullable public java.lang.Float getPercentComplete()
public void setPercentComplete(java.lang.Float percentComplete)
public ImportModel recordsImported(java.lang.Long recordsImported)
@Nullable public java.lang.Long getRecordsImported()
public void setRecordsImported(java.lang.Long recordsImported)
public ImportModel error(java.lang.String error)
@Nullable public java.lang.String getError()
public void setError(java.lang.String error)
public ImportModel putAdditionalProperty(java.lang.String key, java.lang.Object value)
key - name of the propertyvalue - value of the propertypublic java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
public java.lang.Object getAdditionalProperty(java.lang.String key)
key - name of the propertypublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic static void validateJsonElement(com.google.gson.JsonElement jsonElement)
throws java.io.IOException
jsonElement - JSON Elementjava.io.IOException - if the JSON Element is invalid with respect to ImportModelpublic static ImportModel fromJson(java.lang.String jsonString) throws java.io.IOException
jsonString - JSON stringjava.io.IOException - if the JSON string is invalid with respect to ImportModelpublic java.lang.String toJson()