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

com.coveo.pushapiclient.SecurityIdentityDeleteOptions Maven / Gradle / Ivy

The newest version!
package com.coveo.pushapiclient;

import java.util.Objects;

/**
 * See [Disabling Old Security Identities](https://docs.coveo.com/en/33)
 */
public class SecurityIdentityDeleteOptions {

    private final Integer queueDelay;
    private final Long orderingId;

    public SecurityIdentityDeleteOptions(Integer queueDelay, Long orderingId) {
        this.queueDelay = queueDelay;
        this.orderingId = orderingId;
    }

    public Integer getQueueDelay() {
        return queueDelay;
    }

    public Long getOrderingId() {
        return orderingId;
    }

    @Override
    public String toString() {
        return "SecurityIdentityDeleteOptions" + "[" +
                "queueDelay=" + queueDelay +
                ", orderingId=" + orderingId +
                ']';
    }

    @Override
    public boolean equals(Object obj) {
        if (this == obj) return true;
        if (obj == null || getClass() != obj.getClass()) return false;
        SecurityIdentityDeleteOptions that = (SecurityIdentityDeleteOptions) obj;
        return Objects.equals(queueDelay, that.queueDelay) && Objects.equals(orderingId, that.orderingId);
    }

    @Override
    public int hashCode() {
        return Objects.hash(queueDelay, orderingId);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy