io.dangernoodle.slack.objects.SlackSelf Maven / Gradle / Ivy
The newest version!
package io.dangernoodle.slack.objects;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
public class SlackSelf
{
private long created;
private SlackUser.Id id;
private SlackPresence manualPresence;
private String name;
private Map prefs;
public long getCreated()
{
return created;
}
public SlackUser.Id getId()
{
return id;
}
public SlackPresence getManualPresence()
{
return manualPresence;
}
public String getName()
{
return name;
}
public Map getPrefs()
{
return (prefs == null) ? Collections.emptyMap() : new HashMap<>(prefs);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy