Package io.voucherify.client.model
Class ExportsGetResponseBody
java.lang.Object
io.voucherify.client.model.ExportsGetResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ExportsGetResponseBody
extends Object
Response body schema for **GET** `v1/exports/{exportId}`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumGets or Sets exportedObjectstatic enumThe type of object being represented.static enumStatus of the export. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription_object(ExportsGetResponseBody.ObjectEnum _object) createdAt(OffsetDateTime createdAt) booleanexportedObject(ExportsGetResponseBody.ExportedObjectEnum exportedObject) static ExportsGetResponseBodyCreate an instance of ExportsGetResponseBody given an JSON stringThe channel through which the export was triggered.Timestamp representing the date and time when the export was scheduled in ISO 8601 format.Get exportedObjectgetId()Unique export ID.The type of object being represented.Get parametersGet resultStatus of the export.Identifies the specific user who initiated the export through the Voucherify Dashboard; returned when the channel value is WEBSITE.inthashCode()parameters(ExportsGetResponseBodyParameters parameters) result(ExportsGetResponseBodyResult result) voidsetChannel(String channel) voidsetCreatedAt(OffsetDateTime createdAt) voidsetExportedObject(ExportsGetResponseBody.ExportedObjectEnum exportedObject) voidvoidvoidsetParameters(ExportsGetResponseBodyParameters parameters) voidvoidvoidtoJson()Convert an instance of ExportsGetResponseBody to an JSON stringtoString()
-
Field Details
-
SERIALIZED_NAME_ID
- See Also:
-
SERIALIZED_NAME_OBJECT
- See Also:
-
SERIALIZED_NAME_CREATED_AT
- See Also:
-
SERIALIZED_NAME_STATUS
- See Also:
-
SERIALIZED_NAME_CHANNEL
- See Also:
-
SERIALIZED_NAME_RESULT
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
SERIALIZED_NAME_EXPORTED_OBJECT
- See Also:
-
SERIALIZED_NAME_PARAMETERS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ExportsGetResponseBody
public ExportsGetResponseBody()
-
-
Method Details
-
id
-
getId
Unique export ID.- Returns:
- id
-
setId
-
_object
-
getObject
The type of object being represented. This object stores information about the export.- Returns:
- _object
-
setObject
-
createdAt
-
getCreatedAt
Timestamp representing the date and time when the export was scheduled in ISO 8601 format.- Returns:
- createdAt
-
setCreatedAt
-
status
-
getStatus
Status of the export. Informs you whether the export has already been completed, i.e. indicates whether the file containing the exported data has been generated.- Returns:
- status
-
setStatus
-
channel
-
getChannel
The channel through which the export was triggered.- Returns:
- channel
-
setChannel
-
result
-
getResult
Get result- Returns:
- result
-
setResult
-
userId
-
getUserId
Identifies the specific user who initiated the export through the Voucherify Dashboard; returned when the channel value is WEBSITE.- Returns:
- userId
-
setUserId
-
exportedObject
public ExportsGetResponseBody exportedObject(ExportsGetResponseBody.ExportedObjectEnum exportedObject) -
getExportedObject
Get exportedObject- Returns:
- exportedObject
-
setExportedObject
-
parameters
-
getParameters
Get parameters- Returns:
- parameters
-
setParameters
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
Create an instance of ExportsGetResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ExportsGetResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to ExportsGetResponseBody
-
toJson
Convert an instance of ExportsGetResponseBody to an JSON string- Returns:
- JSON string
-