discord4j.discordjson.json.GroupDMCreateRequest Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of discord-json Show documentation
Show all versions of discord-json Show documentation
Discord entity domain as immutable Jackson objects
package discord4j.discordjson.json;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import org.immutables.value.Value;
import java.util.List;
import java.util.Map;
@Value.Immutable
@JsonSerialize(as = ImmutableGroupDMCreateRequest.class)
@JsonDeserialize(as = ImmutableGroupDMCreateRequest.class)
public interface GroupDMCreateRequest {
static ImmutableGroupDMCreateRequest.Builder builder() {
return ImmutableGroupDMCreateRequest.builder();
}
@JsonProperty("access_tokens")
List accessTokens();
Map nicks();
}