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

com.github.kongchen.swagger.docgen.remote.model.JTokenRequestEndpoint Maven / Gradle / Ivy

There is a newer version: 3.1.8
Show newest version
package com.github.kongchen.swagger.docgen.remote.model;

import com.wordnik.swagger.model.TokenRequestEndpoint;

/**
 * Created by chekong on 10/11/14.
 */
public  class JTokenRequestEndpoint implements CanBeSwaggerModel {
    private String url;
    private String clientIdName;
    private String clientSecretName;

    public void setUrl(String url) {
        this.url = url;
    }

    public void setClientIdName(String clientIdName) {
        this.clientIdName = clientIdName;
    }

    public void setClientSecretName(String clientSecretName) {
        this.clientSecretName = clientSecretName;
    }

    public String getUrl() {
        return url;
    }

    public String getClientIdName() {
        return clientIdName;
    }

    public String getClientSecretName() {
        return clientSecretName;
    }

    public TokenRequestEndpoint toSwaggerModel() {
        return new TokenRequestEndpoint(url, clientIdName, clientSecretName);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy