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

com.github.segmentio.models.Alias Maven / Gradle / Ivy

package com.github.segmentio.models;

import org.joda.time.DateTime;

public class Alias extends BasePayload {

	@SuppressWarnings("unused")
	private String action = "alias";
	
	private String from;
	private String to;
	
	public Alias(String from, String to, DateTime timestamp,
			Context context, Callback callback) {
		
		super(null, timestamp, context, callback);
		
		this.from = from;
		this.to = to;
	}
	
	public String getFrom() {
		return from;
	}
	
	public void setFrom(String from) {
		this.from = from;
	}
	
	public String getTo() {
		return to;
	}
	
	public void setTo(String to) {
		this.to = to;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy