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

io.swagger.models.resourcelisting.AuthorizationCodeGrant Maven / Gradle / Ivy

There is a newer version: 1.0.71
Show newest version
package io.swagger.models.resourcelisting;

import io.swagger.models.SwaggerBaseModel;

public class AuthorizationCodeGrant extends SwaggerBaseModel {
    private TokenRequestEndpoint tokenRequestEndpoint = null;
    private TokenEndpoint tokenEndpoint = null;

    public TokenRequestEndpoint getTokenRequestEndpoint() {
        return tokenRequestEndpoint;
    }

    public void setTokenRequestEndpoint(TokenRequestEndpoint tokenRequestEndpoint) {
        this.tokenRequestEndpoint = tokenRequestEndpoint;
    }

    public TokenEndpoint getTokenEndpoint() {
        return tokenEndpoint;
    }

    public void setTokenEndpoint(TokenEndpoint tokenEndpoint) {
        this.tokenEndpoint = tokenEndpoint;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("class AuthorizationCodeGrant {\n");
        sb.append("  tokenRequestEndpoint: ").append(tokenRequestEndpoint).append("\n");
        sb.append("  tokenEndpoint: ").append(tokenEndpoint).append("\n");
        sb.append("  extraFields: ").append(getExtraFields()).append("\n");
        sb.append("}\n");
        return sb.toString();
    }
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy