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

cz.active24.client.fred.data.check.keyset.KeysetCheckRequest Maven / Gradle / Ivy

There is a newer version: 2.50
Show newest version
package cz.active24.client.fred.data.check.keyset;

import cz.active24.client.fred.data.EppRequest;
import cz.active24.client.fred.data.check.CheckRequest;
import cz.active24.client.fred.eppclient.objectstrategy.ServerObjectType;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * A keyset check command is used to check the availability of one or more keyset handles.
 *
 * @see FRED documentation
 */
public class KeysetCheckRequest extends EppRequest implements Serializable, CheckRequest {

    private List keysetIds;

    public KeysetCheckRequest(List keysetIds) {
        setServerObjectType(ServerObjectType.KEYSET);
        setKeysetIds(keysetIds == null ? new ArrayList() : keysetIds);
    }

    public List getKeysetIds() {
        return keysetIds;
    }

    protected void setKeysetIds(List keysetIds) {
        this.keysetIds = keysetIds;
    }

    @Override
    public String toString() {
        final StringBuffer sb = new StringBuffer("KeysetCheckRequest{");
        sb.append("keysetIds=").append(keysetIds);
        sb.append('}');
        return sb.toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy