Package io.voucherify.client.model
Class LoyaltiesPointsExpirationExportCreateResponseBody
java.lang.Object
io.voucherify.client.model.LoyaltiesPointsExpirationExportCreateResponseBody
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class LoyaltiesPointsExpirationExportCreateResponseBody
extends Object
Object representing an export of points expirations.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThe channel through which the export was triggered.static classstatic enumThe type of exported object.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) booleanCreate an instance of LoyaltiesPointsExpirationExportCreateResponseBody 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 exported object.getId()Unique export ID.The type of object being represented.Get parametersAlways null.Status of the export.`user_id` identifies the specific user who initiated the export through the Voucherify Dashboard.inthashCode()voidvoidsetCreatedAt(OffsetDateTime createdAt) voidsetExportedObject(LoyaltiesPointsExpirationExportCreateResponseBody.ExportedObjectEnum exportedObject) voidvoidvoidvoidvoidvoidtoJson()Convert an instance of LoyaltiesPointsExpirationExportCreateResponseBody 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_EXPORTED_OBJECT
- See Also:
-
SERIALIZED_NAME_PARAMETERS
- See Also:
-
SERIALIZED_NAME_RESULT
- See Also:
-
SERIALIZED_NAME_USER_ID
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
LoyaltiesPointsExpirationExportCreateResponseBody
public LoyaltiesPointsExpirationExportCreateResponseBody()
-
-
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.- Returns:
- status
-
setStatus
-
channel
-
getChannel
The channel through which the export was triggered.- Returns:
- channel
-
setChannel
-
exportedObject
public LoyaltiesPointsExpirationExportCreateResponseBody exportedObject(LoyaltiesPointsExpirationExportCreateResponseBody.ExportedObjectEnum exportedObject) -
getExportedObject
@Nullable public LoyaltiesPointsExpirationExportCreateResponseBody.ExportedObjectEnum getExportedObject()The type of exported object.- Returns:
- exportedObject
-
setExportedObject
public void setExportedObject(LoyaltiesPointsExpirationExportCreateResponseBody.ExportedObjectEnum exportedObject) -
parameters
public LoyaltiesPointsExpirationExportCreateResponseBody parameters(LoyaltiesPointsExpirationExportCreateResponseBodyParameters parameters) -
getParameters
Get parameters- Returns:
- parameters
-
setParameters
-
result
-
getResult
Always null.- Returns:
- result
-
setResult
-
userId
-
getUserId
`user_id` identifies the specific user who initiated the export through the Voucherify Dashboard. `user_id` is returned when the channel value is `WEBSITE`.- Returns:
- userId
-
setUserId
-
equals
-
hashCode
public int hashCode() -
toString
-
fromJson
public static LoyaltiesPointsExpirationExportCreateResponseBody fromJson(String jsonString) throws IOException Create an instance of LoyaltiesPointsExpirationExportCreateResponseBody given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of LoyaltiesPointsExpirationExportCreateResponseBody
- Throws:
IOException- if the JSON string is invalid with respect to LoyaltiesPointsExpirationExportCreateResponseBody
-
toJson
Convert an instance of LoyaltiesPointsExpirationExportCreateResponseBody to an JSON string- Returns:
- JSON string
-