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

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

/**
 * Created by kongchen on 14/10/12.
 */
public class JApiKey implements CanBeSwaggerModel{
    private String passAs;
    private String keyname;

    public String getPassAs() {
        return passAs;
    }

    public void setPassAs(String passAs) {
        this.passAs = passAs;
    }

    public String getKeyname() {
        return keyname;
    }

    public void setKeyname(String keyname) {
        this.keyname = keyname;
    }

    @Override
    public ApiKey toSwaggerModel() {
        return new ApiKey(keyname, passAs);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy