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

com.bazaarvoice.emodb.databus.core.MoveSubscriptionRequest Maven / Gradle / Ivy

There is a newer version: 6.5.190
Show newest version
package com.bazaarvoice.emodb.databus.core;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

import static com.google.common.base.Preconditions.checkNotNull;

public class MoveSubscriptionRequest {

    private final String _from;
    private final String _to;

    @JsonCreator
    public MoveSubscriptionRequest(@JsonProperty ("from") String from, @JsonProperty ("to") String to) {
        _from = checkNotNull(from, "from");
        _to = checkNotNull(to, "to");
    }

    public String getFrom() {
        return _from;
    }

    public String getTo() {
        return _to;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy