Back to project page android-player-samples.
The source code is released under:
Apache License
If you think the Android project android-player-samples listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.brightcove.player.samples.ais.webview.basic; //w w w . ja v a2 s .com import com.google.gson.annotations.SerializedName; import java.util.Map; /** * JSON response class for the /chooser/ REST API call. * Note: this is not a completed class. It has been implemented * enough for the purposes of this sample app. * * @author bhnath (Billy Hnath) */ public class ChooserResponse { @SerializedName("grouped_idps") private Map<String, String> groupedIdps; @SerializedName("_type") private String type; @SerializedName("authenticated") private boolean authenticated; @SerializedName("possible_idps") private Map<String, IdentityProvider> possibleIdps; @SerializedName("footprints") private Map<String, String> footprints; @SerializedName("platform_id") private String platformId; @SerializedName("preferred_idps") private Map<String, String> preferredIdps; public String getType() { return type; } public boolean getAuthenticated() { return authenticated; } public Map<String, IdentityProvider> getPossibleIdps() { return possibleIdps; } public class IdentityProvider { @SerializedName("url") private String url; @SerializedName("logos") private Map<String, String> logos; @SerializedName("display_name") private String displayName; @SerializedName("name") private String name; public String getUrl() { return url; } public Map<String, String> getLogos() { return logos; } public String getDisplayName() { return displayName; } public String getName() { return name; } } }