com.github.seratch.jslack.api.model.view.ViewState Maven / Gradle / Ivy
The newest version!
package com.github.seratch.jslack.api.model.view;
import com.github.seratch.jslack.api.model.block.composition.PlainTextObject;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.List;
import java.util.Map;
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class ViewState {
// block_id, action_id
private Map> values;
/**
* This class may miss some attributes.
* If you find missing ones, let us know at https://github.com/seratch/jslack/issues
*/
@Data
public static class Value {
private String type;
private String value;
private String selectedDate;
private String selectedConversation;
private String selectedChannel;
private String selectedUser;
private SelectedOption selectedOption;
private List selectedUsers;
}
@Data
public static class SelectedOption {
private PlainTextObject text;
private String value;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy