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

com.yahoo.athenz.zts.SignedPolicyRequest 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 java.util.Map;
import com.yahoo.rdl.*;

//
// SignedPolicyRequest -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class SignedPolicyRequest {
    public Map policyVersions;
    public boolean signatureP1363Format;

    public SignedPolicyRequest setPolicyVersions(Map policyVersions) {
        this.policyVersions = policyVersions;
        return this;
    }
    public Map getPolicyVersions() {
        return policyVersions;
    }
    public SignedPolicyRequest setSignatureP1363Format(boolean signatureP1363Format) {
        this.signatureP1363Format = signatureP1363Format;
        return this;
    }
    public boolean getSignatureP1363Format() {
        return signatureP1363Format;
    }

    @Override
    public boolean equals(Object another) {
        if (this != another) {
            if (another == null || another.getClass() != SignedPolicyRequest.class) {
                return false;
            }
            SignedPolicyRequest a = (SignedPolicyRequest) another;
            if (policyVersions == null ? a.policyVersions != null : !policyVersions.equals(a.policyVersions)) {
                return false;
            }
            if (signatureP1363Format != a.signatureP1363Format) {
                return false;
            }
        }
        return true;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy