com.slack.api.methods.response.admin.conversations.AdminConversationsSearchResponse Maven / Gradle / Ivy
The newest version!
package com.slack.api.methods.response.admin.conversations;
import com.slack.api.methods.SlackApiTextResponse;
import com.slack.api.model.ChannelEmailAddress;
import com.slack.api.model.ConversationProperties;
import com.slack.api.model.ErrorResponseMetadata;
import lombok.Data;
import java.util.List;
import java.util.Map;
@Data
public class AdminConversationsSearchResponse implements SlackApiTextResponse {
private boolean ok;
private String warning;
private String error;
private String needed;
private String provided;
private transient Map> httpResponseHeaders;
private List conversations;
private String nextCursor;
private Integer totalCount;
private ErrorResponseMetadata responseMetadata;
@Data
public static class Conversation {
private String id;
private String name;
private String purpose;
private Integer memberCount;
private Integer created;
private String creatorId;
private Boolean isPrivate;
private Boolean isArchived;
private Boolean isGeneral;
private Long lastActivityTs;
private Boolean isExtShared;
private Boolean isGlobalShared;
private Boolean isOrgDefault;
private Boolean isOrgMandatory;
private Boolean isOrgShared;
private Boolean isFrozen;
private Integer externalUserCount;
private Integer channelManagerCount;
private List internalTeamIds;
private Integer internalTeamIdsCount;
private String internalTeamIdsSampleTeam;
private List pendingConnectedTeamIds;
private List connectedTeamIds;
private List connectedLimitedTeamIds;
private List channelEmailAddresses;
private String contextTeamId;
private Boolean isPendingExtShared;
private Boolean isDisconnectInProgress;
private String conversationHostId;
private Canvas canvas;
private Lists lists;
private ConversationProperties properties;
}
@Data
public static class Canvas {
private Integer totalCount;
private List ownershipDetails;
}
@Data
public static class CanvasOwnershipDetail {
private Integer count;
private String teamId;
}
@Data
public static class Lists {
private Integer totalCount;
private List ownershipDetails;
}
@Data
public static class ListsOwnershipDetail {
private Integer count;
private String teamId;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy