001package ca.cdr.api.model.json.appgallery.common;
002
003/*
004 * #%L
005 * Smile CDR - CDR
006 * %%
007 * Copyright (C) 2016 - 2024 Smile CDR, Inc.
008 * %%
009 * All rights reserved.
010 * #L%
011 */
012
013import ca.cdr.api.model.json.AbstractModelJson;
014import ca.cdr.api.model.json.JsonDateDeserializer;
015import ca.cdr.api.model.json.JsonDateSerializer;
016import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
017import com.fasterxml.jackson.databind.annotation.JsonSerialize;
018
019import java.util.Date;
020
021public class AGSecretJson extends AbstractModelJson {
022        public String secret;
023        public String description;
024
025        @JsonSerialize(using = JsonDateSerializer.class)
026        @JsonDeserialize(using = JsonDateDeserializer.class)
027        public Date expiration;
028
029        @JsonSerialize(using = JsonDateSerializer.class)
030        @JsonDeserialize(using = JsonDateDeserializer.class)
031        public Date activation;
032}