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

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

There is a newer version: 1.12.5
Show 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 java.util.Map;
import com.yahoo.rdl.*;

//
// ExternalCredentialsResponse -
//
@JsonIgnoreProperties(ignoreUnknown = true)
public class ExternalCredentialsResponse {
    public Map attributes;
    @RdlOptional
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    public Timestamp expiration;

    public ExternalCredentialsResponse setAttributes(Map attributes) {
        this.attributes = attributes;
        return this;
    }
    public Map getAttributes() {
        return attributes;
    }
    public ExternalCredentialsResponse setExpiration(Timestamp expiration) {
        this.expiration = expiration;
        return this;
    }
    public Timestamp getExpiration() {
        return expiration;
    }

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




© 2015 - 2024 Weber Informatics LLC | Privacy Policy