io.fusionauth.domain.api.IdentityProviderResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of fusionauth-java-client Show documentation
Show all versions of fusionauth-java-client Show documentation
The Java Client library provides a native Java binding to the FusionAuth REST API.
/*
* Copyright (c) 2018-2022, FusionAuth, All Rights Reserved
*/
package io.fusionauth.domain.api;
import java.util.List;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.inversoft.json.JacksonConstructor;
import io.fusionauth.client.json.IdentityProviderResponseDeserializer;
import io.fusionauth.domain.provider.BaseIdentityProvider;
/**
* @author Daniel DeGroff
*/
@JsonDeserialize(using = IdentityProviderResponseDeserializer.class)
public class IdentityProviderResponse {
public BaseIdentityProvider> identityProvider;
public List> identityProviders;
@JacksonConstructor
public IdentityProviderResponse() {
}
public IdentityProviderResponse(List> identityProviders) {
this.identityProviders = identityProviders;
}
public IdentityProviderResponse(BaseIdentityProvider> identityProvider) {
this.identityProvider = identityProvider;
}
}