com.wordnik.swagger.models.auth.ApiKeyAuthDefinition Maven / Gradle / Ivy
The newest version!
package com.wordnik.swagger.models.auth;
public class ApiKeyAuthDefinition implements SecuritySchemeDefinition {
private String type = "apiKey";
private String name;
private In in;
public ApiKeyAuthDefinition () { }
public ApiKeyAuthDefinition(String name, In in) {
super();
this.setName(name);
this.setIn(in);
}
public ApiKeyAuthDefinition name(String name) {
this.setName(name);
return this;
}
public ApiKeyAuthDefinition in(In in) {
this.setIn(in);
return this;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public In getIn() {
return in;
}
public void setIn(In in) {
this.in = in;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy