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

com.github.kongchen.swagger.docgen.remote.model.JTokenEndpoint 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.TokenEndpoint;

/**
 * Created by chekong on 10/11/14.
 */
public class JTokenEndpoint implements CanBeSwaggerModel {
    private String url;
    private String tokenName;

    public String getUrl() {
        return url;
    }

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

    public String getTokenName() {
        return tokenName;
    }

    public void setTokenName(String tokenName) {
        this.tokenName = tokenName;
    }

    public TokenEndpoint toSwaggerModel() {
        return new TokenEndpoint(url, tokenName);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy