com.yahoo.athenz.zts.OAuthConfig Maven / Gradle / Ivy
//
// This file generated by rdl 1.5.2. Do not modify!
//
package com.yahoo.athenz.zts;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.util.List;
import com.yahoo.rdl.*;
//
// OAuthConfig -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class OAuthConfig {
public String issuer;
public String authorization_endpoint;
public String token_endpoint;
public String jwks_uri;
public List response_types_supported;
public List grant_types_supported;
public List token_endpoint_auth_signing_alg_values_supported;
public OAuthConfig setIssuer(String issuer) {
this.issuer = issuer;
return this;
}
public String getIssuer() {
return issuer;
}
public OAuthConfig setAuthorization_endpoint(String authorization_endpoint) {
this.authorization_endpoint = authorization_endpoint;
return this;
}
public String getAuthorization_endpoint() {
return authorization_endpoint;
}
public OAuthConfig setToken_endpoint(String token_endpoint) {
this.token_endpoint = token_endpoint;
return this;
}
public String getToken_endpoint() {
return token_endpoint;
}
public OAuthConfig setJwks_uri(String jwks_uri) {
this.jwks_uri = jwks_uri;
return this;
}
public String getJwks_uri() {
return jwks_uri;
}
public OAuthConfig setResponse_types_supported(List response_types_supported) {
this.response_types_supported = response_types_supported;
return this;
}
public List getResponse_types_supported() {
return response_types_supported;
}
public OAuthConfig setGrant_types_supported(List grant_types_supported) {
this.grant_types_supported = grant_types_supported;
return this;
}
public List getGrant_types_supported() {
return grant_types_supported;
}
public OAuthConfig setToken_endpoint_auth_signing_alg_values_supported(List token_endpoint_auth_signing_alg_values_supported) {
this.token_endpoint_auth_signing_alg_values_supported = token_endpoint_auth_signing_alg_values_supported;
return this;
}
public List getToken_endpoint_auth_signing_alg_values_supported() {
return token_endpoint_auth_signing_alg_values_supported;
}
@Override
public boolean equals(Object another) {
if (this != another) {
if (another == null || another.getClass() != OAuthConfig.class) {
return false;
}
OAuthConfig a = (OAuthConfig) another;
if (issuer == null ? a.issuer != null : !issuer.equals(a.issuer)) {
return false;
}
if (authorization_endpoint == null ? a.authorization_endpoint != null : !authorization_endpoint.equals(a.authorization_endpoint)) {
return false;
}
if (token_endpoint == null ? a.token_endpoint != null : !token_endpoint.equals(a.token_endpoint)) {
return false;
}
if (jwks_uri == null ? a.jwks_uri != null : !jwks_uri.equals(a.jwks_uri)) {
return false;
}
if (response_types_supported == null ? a.response_types_supported != null : !response_types_supported.equals(a.response_types_supported)) {
return false;
}
if (grant_types_supported == null ? a.grant_types_supported != null : !grant_types_supported.equals(a.grant_types_supported)) {
return false;
}
if (token_endpoint_auth_signing_alg_values_supported == null ? a.token_endpoint_auth_signing_alg_values_supported != null : !token_endpoint_auth_signing_alg_values_supported.equals(a.token_endpoint_auth_signing_alg_values_supported)) {
return false;
}
}
return true;
}
}