Package io.voucherify.client.model
Class LoyaltiesMembersTransactionsExportCreateResponseBody
java.lang.Object
io.voucherify.client.model.LoyaltiesMembersTransactionsExportCreateResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesMembersTransactionsExportCreateResponseBody
extends Object
Response body schema for **POST** `v1/loyalties/members/{memberId}/transactions/export` and for **POST** `v1/loyalties/{campaignId}/members/{memberId}/transactions/export`.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumThe type of object to be exported.static enumThe type of object being represented.static enumStatus of the export. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreatedAt(OffsetDateTime createdAt) booleanexportedObject(LoyaltiesMembersTransactionsExportCreateResponseBody.ExportedObjectEnum exportedObject) Create an instance of LoyaltiesMembersTransactionsExportCreateResponseBody 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.The type of object to be exported.getId()Unique export ID.The type of object being represented.Get parametersContains the URL of the CSV file.Status of the export.Identifies the specific user who initiated the export through the Voucherify Dashboard; returned when the channel value is WEBSITE.inthashCode()voidsetChannel(String channel) voidsetCreatedAt(OffsetDateTime createdAt) voidsetExportedObject(LoyaltiesMembersTransactionsExportCreateResponseBody.ExportedObjectEnum exportedObject) voidvoidvoidvoidvoidvoidtoJson()Convert an instance of LoyaltiesMembersTransactionsExportCreateResponseBody 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
-
LoyaltiesMembersTransactionsExportCreateResponseBody
public LoyaltiesMembersTransactionsExportCreateResponseBody()
-
-
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
Contains the URL of the CSV file.- 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 LoyaltiesMembersTransactionsExportCreateResponseBody exportedObject(LoyaltiesMembersTransactionsExportCreateResponseBody.ExportedObjectEnum exportedObject) -
getExportedObject
@Nullable public LoyaltiesMembersTransactionsExportCreateResponseBody.ExportedObjectEnum getExportedObject()The type of object to be exported.- Returns:
- exportedObject
-
setExportedObject
public void setExportedObject(LoyaltiesMembersTransactionsExportCreateResponseBody.ExportedObjectEnum exportedObject) -
parameters
public LoyaltiesMembersTransactionsExportCreateResponseBody parameters(LoyaltiesMembersTransactionsExportCreateResponseBodyParameters parameters) -
getParameters
Get parameters- Returns:
- parameters
-
setParameters
public void setParameters(LoyaltiesMembersTransactionsExportCreateResponseBodyParameters parameters) -
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static LoyaltiesMembersTransactionsExportCreateResponseBody fromJson(String jsonString) throws IOException Create an instance of LoyaltiesMembersTransactionsExportCreateResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesMembersTransactionsExportCreateResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesMembersTransactionsExportCreateResponseBody
-
toJson
Convert an instance of LoyaltiesMembersTransactionsExportCreateResponseBody to an JSON string- Returns:
- JSON string
-