io.fabric8.kubernetes.api.model.AuthInfo Maven / Gradle / Ivy
package io.fabric8.kubernetes.api.model;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.annotation.Generated;
import javax.validation.Valid;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import io.fabric8.kubernetes.api.model.Doneable;
import io.sundr.builder.annotations.Buildable;
import io.sundr.builder.annotations.Inline;
import lombok.EqualsAndHashCode;
import lombok.ToString;
/**
*
*
*/
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"client-certificate",
"client-certificate-data",
"client-key",
"client-key-data",
"extensions",
"password",
"token",
"username"
})
@JsonDeserialize(using = com.fasterxml.jackson.databind.JsonDeserializer.None.class)
@ToString
@EqualsAndHashCode
@Buildable(editableEnabled = true, validationEnabled = true, generateBuilderPackage = true, builderPackage = "io.fabric8.kubernetes.api.builder", inline = @Inline(type = Doneable.class, prefix = "Doneable", value = "done"))
public class AuthInfo {
/**
*
*
*/
@JsonProperty("client-certificate")
private String clientCertificate;
/**
*
*
*/
@JsonProperty("client-certificate-data")
private String clientCertificateData;
/**
*
*
*/
@JsonProperty("client-key")
private String clientKey;
/**
*
*
*/
@JsonProperty("client-key-data")
private String clientKeyData;
/**
*
*
*/
@JsonProperty("extensions")
@Valid
private List extensions = new ArrayList();
/**
*
*
*/
@JsonProperty("password")
private String password;
/**
*
*
*/
@JsonProperty("token")
private String token;
/**
*
*
*/
@JsonProperty("username")
private String username;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* No args constructor for use in serialization
*
*/
public AuthInfo() {
}
/**
*
* @param clientCertificate
* @param extensions
* @param password
* @param clientKeyData
* @param clientKey
* @param clientCertificateData
* @param token
* @param username
*/
public AuthInfo(String clientCertificate, String clientCertificateData, String clientKey, String clientKeyData, List extensions, String password, String token, String username) {
this.clientCertificate = clientCertificate;
this.clientCertificateData = clientCertificateData;
this.clientKey = clientKey;
this.clientKeyData = clientKeyData;
this.extensions = extensions;
this.password = password;
this.token = token;
this.username = username;
}
/**
*
*
* @return
* The clientCertificate
*/
@JsonProperty("client-certificate")
public String getClientCertificate() {
return clientCertificate;
}
/**
*
*
* @param clientCertificate
* The client-certificate
*/
@JsonProperty("client-certificate")
public void setClientCertificate(String clientCertificate) {
this.clientCertificate = clientCertificate;
}
/**
*
*
* @return
* The clientCertificateData
*/
@JsonProperty("client-certificate-data")
public String getClientCertificateData() {
return clientCertificateData;
}
/**
*
*
* @param clientCertificateData
* The client-certificate-data
*/
@JsonProperty("client-certificate-data")
public void setClientCertificateData(String clientCertificateData) {
this.clientCertificateData = clientCertificateData;
}
/**
*
*
* @return
* The clientKey
*/
@JsonProperty("client-key")
public String getClientKey() {
return clientKey;
}
/**
*
*
* @param clientKey
* The client-key
*/
@JsonProperty("client-key")
public void setClientKey(String clientKey) {
this.clientKey = clientKey;
}
/**
*
*
* @return
* The clientKeyData
*/
@JsonProperty("client-key-data")
public String getClientKeyData() {
return clientKeyData;
}
/**
*
*
* @param clientKeyData
* The client-key-data
*/
@JsonProperty("client-key-data")
public void setClientKeyData(String clientKeyData) {
this.clientKeyData = clientKeyData;
}
/**
*
*
* @return
* The extensions
*/
@JsonProperty("extensions")
public List getExtensions() {
return extensions;
}
/**
*
*
* @param extensions
* The extensions
*/
@JsonProperty("extensions")
public void setExtensions(List extensions) {
this.extensions = extensions;
}
/**
*
*
* @return
* The password
*/
@JsonProperty("password")
public String getPassword() {
return password;
}
/**
*
*
* @param password
* The password
*/
@JsonProperty("password")
public void setPassword(String password) {
this.password = password;
}
/**
*
*
* @return
* The token
*/
@JsonProperty("token")
public String getToken() {
return token;
}
/**
*
*
* @param token
* The token
*/
@JsonProperty("token")
public void setToken(String token) {
this.token = token;
}
/**
*
*
* @return
* The username
*/
@JsonProperty("username")
public String getUsername() {
return username;
}
/**
*
*
* @param username
* The username
*/
@JsonProperty("username")
public void setUsername(String username) {
this.username = username;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy