com.github.seratch.jslack.api.model.event.TeamProfileReorderEvent Maven / Gradle / Ivy
The newest version!
package com.github.seratch.jslack.api.model.event;
import lombok.Data;
import java.util.List;
/**
* The team_profile_reorder event is sent to all connections for a workspace
* when Workspace Admin reorders the field definitions in the profile.
* The payload includes only the id and the ordering for each field definition that is reordered.
* Where appropriate, clients should update to reflect new changes immediately.
*
* https://api.slack.com/events/team_profile_reorder
*/
@Data
public class TeamProfileReorderEvent implements Event {
public static final String TYPE_NAME = "team_profile_reorder";
private final String type = TYPE_NAME;
private Profile profile;
@Data
public static class Profile {
private List fields;
}
@Data
public static class Field {
private String id;
private Integer ordering;
// TODO: other attributes
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy