
com.mangofactory.swagger.models.dto.builder.TokenRequestEndpointBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of swagger-models Show documentation
Show all versions of swagger-models Show documentation
This project integrates swagger with the Spring Web MVC framework
The newest version!
package com.mangofactory.swagger.models.dto.builder;
import com.mangofactory.swagger.models.dto.TokenRequestEndpoint;
public class TokenRequestEndpointBuilder {
private String url;
private String clientIdName;
private String clientSecretName;
public TokenRequestEndpointBuilder url(String url) {
this.url = url;
return this;
}
public TokenRequestEndpointBuilder clientIdName(String clientIdName) {
this.clientIdName = clientIdName;
return this;
}
public TokenRequestEndpointBuilder clientSecretName(String clientSecretName) {
this.clientSecretName = clientSecretName;
return this;
}
public TokenRequestEndpoint build() {
return new TokenRequestEndpoint(url, clientIdName, clientSecretName);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy