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

dev.fitko.fitconnect.api.domain.model.destination.Destination Maven / Gradle / Ivy

package dev.fitko.fitconnect.api.domain.model.destination;

import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonProperty;
import dev.fitko.fitconnect.api.domain.model.callback.Callback;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import java.util.UUID;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Destination {

    @JsonProperty("name")
    private String name;

    @JsonProperty("destinationId")
    private UUID destinationId;

    @JsonProperty("encryptionKid")
    private String encryptionKid;

    @JsonProperty("metadataVersions")
    private Set metadataVersions = new LinkedHashSet<>();

    @JsonProperty("replyChannels")
    private DestinationReplyChannels replyChannels;

    @JsonProperty("services")
    private Set services = new LinkedHashSet<>();

    @JsonProperty("status")
    private StatusEnum status;

    @JsonProperty("contactInformation")
    private ContactInformation contactInformation;

    @JsonProperty("callback")
    private Callback callback;

    @JsonAnyGetter
    @JsonAnySetter
    @JsonIgnore
    private Map additionalProperties;
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy