com.kpelykh.docker.client.model.AuthConfig Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-java Show documentation
Show all versions of docker-java Show documentation
Java API Client for Docker
package com.kpelykh.docker.client.model;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonProperty;
@JsonIgnoreProperties(ignoreUnknown = true)
public class AuthConfig {
@JsonProperty
private String username;
@JsonProperty
private String password;
@JsonProperty
private String email;
@JsonProperty("serveraddress")
private String serverAddress = "https://index.docker.io/v1/";
public String getUsername() {
return username;
}
public void setUsername(String username) {
this.username = username;
}
public String getPassword() {
return password;
}
public void setPassword(String password) {
this.password = password;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getServerAddress() {
return serverAddress;
}
public void setServerAddress(String serverAddress) {
this.serverAddress = serverAddress;
}
@Override
public String toString() {
return "AuthConfig{" +
"username='" + username + '\'' +
", password='" + password + '\'' +
", email='" + email + '\'' +
", serverAddress='" + serverAddress + '\'' +
'}';
}
}