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

com.yahoo.athenz.zts.SSHCertRequest Maven / Gradle / Ivy

The newest version!
//
// This file generated by rdl 1.5.2. Do not modify!
//

package com.yahoo.athenz.zts;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.yahoo.rdl.*;

//
// SSHCertRequest -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class SSHCertRequest {
    public SSHCertRequestData certRequestData;
    public SSHCertRequestMeta certRequestMeta;
    @RdlOptional
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    public String csr;
    @RdlOptional
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    public String attestationData;

    public SSHCertRequest setCertRequestData(SSHCertRequestData certRequestData) {
        this.certRequestData = certRequestData;
        return this;
    }
    public SSHCertRequestData getCertRequestData() {
        return certRequestData;
    }
    public SSHCertRequest setCertRequestMeta(SSHCertRequestMeta certRequestMeta) {
        this.certRequestMeta = certRequestMeta;
        return this;
    }
    public SSHCertRequestMeta getCertRequestMeta() {
        return certRequestMeta;
    }
    public SSHCertRequest setCsr(String csr) {
        this.csr = csr;
        return this;
    }
    public String getCsr() {
        return csr;
    }
    public SSHCertRequest setAttestationData(String attestationData) {
        this.attestationData = attestationData;
        return this;
    }
    public String getAttestationData() {
        return attestationData;
    }

    @Override
    public boolean equals(Object another) {
        if (this != another) {
            if (another == null || another.getClass() != SSHCertRequest.class) {
                return false;
            }
            SSHCertRequest a = (SSHCertRequest) another;
            if (certRequestData == null ? a.certRequestData != null : !certRequestData.equals(a.certRequestData)) {
                return false;
            }
            if (certRequestMeta == null ? a.certRequestMeta != null : !certRequestMeta.equals(a.certRequestMeta)) {
                return false;
            }
            if (csr == null ? a.csr != null : !csr.equals(a.csr)) {
                return false;
            }
            if (attestationData == null ? a.attestationData != null : !attestationData.equals(a.attestationData)) {
                return false;
            }
        }
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy