io.fusionauth.domain.api.IdentityProviderSearchResponse 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) 2023, 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.IdentityProviderSearchResponseDeserializer;
import io.fusionauth.domain.provider.BaseIdentityProvider;
import io.fusionauth.domain.search.SearchResults;
/**
* Identity Provider response.
*
* @author Spencer Witt
*/
@JsonDeserialize(using = IdentityProviderSearchResponseDeserializer.class)
public class IdentityProviderSearchResponse {
public List> identityProviders;
public long total;
@JacksonConstructor
public IdentityProviderSearchResponse() {
}
public IdentityProviderSearchResponse(SearchResults> searchResults) {
this.identityProviders = searchResults.results;
this.total = searchResults.total;
}
}