Class SlackAction
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.SlackAction
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SlackActionBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SlackAction extends Object implements io.fabric8.kubernetes.api.builder.Editable<SlackActionBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlackAction()No args constructor for use in serializationSlackAction(SlackConfirmationField confirm, String name, String style, String text, String type, String url, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlackActionBuilderedit()Map<String,Object>getAdditionalProperties()SlackConfirmationFieldgetConfirm()SlackAction configures a single Slack action that is sent with each notification.StringgetName()SlackAction configures a single Slack action that is sent with each notification.StringgetStyle()SlackAction configures a single Slack action that is sent with each notification.StringgetText()SlackAction configures a single Slack action that is sent with each notification.StringgetType()SlackAction configures a single Slack action that is sent with each notification.StringgetUrl()SlackAction configures a single Slack action that is sent with each notification.StringgetValue()SlackAction configures a single Slack action that is sent with each notification.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetConfirm(SlackConfirmationField confirm)SlackAction configures a single Slack action that is sent with each notification.voidsetName(String name)SlackAction configures a single Slack action that is sent with each notification.voidsetStyle(String style)SlackAction configures a single Slack action that is sent with each notification.voidsetText(String text)SlackAction configures a single Slack action that is sent with each notification.voidsetType(String type)SlackAction configures a single Slack action that is sent with each notification.voidsetUrl(String url)SlackAction configures a single Slack action that is sent with each notification.voidsetValue(String value)SlackAction configures a single Slack action that is sent with each notification.SlackActionBuildertoBuilder()
-
-
-
Method Detail
-
getConfirm
public SlackConfirmationField getConfirm()
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
setConfirm
public void setConfirm(SlackConfirmationField confirm)
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
getName
public String getName()
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
setName
public void setName(String name)
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
getStyle
public String getStyle()
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
setStyle
public void setStyle(String style)
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
getText
public String getText()
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
setText
public void setText(String text)
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
getType
public String getType()
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
setType
public void setType(String type)
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
getUrl
public String getUrl()
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
setUrl
public void setUrl(String url)
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
getValue
public String getValue()
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
setValue
public void setValue(String value)
SlackAction configures a single Slack action that is sent with each notification. See https://api.slack.com/docs/message-attachments#action_fields and https://api.slack.com/docs/message-buttons for more information.
-
edit
public SlackActionBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SlackActionBuilder>
-
toBuilder
public SlackActionBuilder toBuilder()
-
-