All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.dft.amazon.model.notifications.NotificationMetadata Maven / Gradle / Ivy

The newest version!
package io.github.dft.amazon.model.notifications;

import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.github.dft.amazon.common.LocalDateTimeDeserializer;
import io.github.dft.amazon.common.LocalDateTimeSerializer;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@JsonNaming(PropertyNamingStrategies.UpperCamelCaseStrategy.class)
public class NotificationMetadata {

    private String notificationId;
    private String subscriptionId;
    private String applicationId;

    @JsonSerialize(using = LocalDateTimeSerializer.class)
    @JsonDeserialize(using = LocalDateTimeDeserializer.class)
    private LocalDateTime publishTime;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy