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

io.rtr.alchemy.client.AlchemyClientConfiguration Maven / Gradle / Ivy

There is a newer version: 2.2.16
Show newest version
package io.rtr.alchemy.client;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.rtr.alchemy.dto.identities.IdentityDto;
import io.dropwizard.client.JerseyClientConfiguration;

import javax.validation.constraints.NotNull;
import java.net.URI;
import java.util.Set;

/** The client configuration */
public class AlchemyClientConfiguration extends JerseyClientConfiguration {
    @NotNull private final URI service;

    @NotNull private final Set> identityTypes;

    @JsonCreator
    public AlchemyClientConfiguration(
            @JsonProperty("service") URI service,
            @JsonProperty("identityTypes") Set> identityTypes) {
        this.service = service;
        this.identityTypes = identityTypes;
    }

    public URI getService() {
        return service;
    }

    public Set> getIdentityTypes() {
        return identityTypes;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy