Class SlackConfirmationField
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.SlackConfirmationField
-
- All Implemented Interfaces:
Editable<SlackConfirmationFieldBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SlackConfirmationField extends Object implements Editable<SlackConfirmationFieldBuilder>, KubernetesResource
SlackConfirmationField protect users from destructive actions or particularly distinguished decisions by asking them to confirm their button click one more time. See https://api.slack.com/docs/interactive-message-field-guide#confirmation_fields for more information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlackConfirmationField()No args constructor for use in serializationSlackConfirmationField(String dismissText, String okText, String text, String title)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlackConfirmationFieldBuilderedit()Map<String,Object>getAdditionalProperties()StringgetDismissText()dismissText defines the label for the cancel button in the dialog.StringgetOkText()okText defines the label for the confirmation button in the dialog.StringgetText()text defines the main message displayed in the confirmation dialog.StringgetTitle()title defines the title text displayed at the top of the confirmation dialog.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetDismissText(String dismissText)dismissText defines the label for the cancel button in the dialog.voidsetOkText(String okText)okText defines the label for the confirmation button in the dialog.voidsetText(String text)text defines the main message displayed in the confirmation dialog.voidsetTitle(String title)title defines the title text displayed at the top of the confirmation dialog.SlackConfirmationFieldBuildertoBuilder()
-
-
-
Method Detail
-
getDismissText
public String getDismissText()
dismissText defines the label for the cancel button in the dialog. When not specified, defaults to "Cancel". This button cancels the action.
-
setDismissText
public void setDismissText(String dismissText)
dismissText defines the label for the cancel button in the dialog. When not specified, defaults to "Cancel". This button cancels the action.
-
getOkText
public String getOkText()
okText defines the label for the confirmation button in the dialog. When not specified, defaults to "Okay". This button proceeds with the action.
-
setOkText
public void setOkText(String okText)
okText defines the label for the confirmation button in the dialog. When not specified, defaults to "Okay". This button proceeds with the action.
-
getText
public String getText()
text defines the main message displayed in the confirmation dialog. This should be a clear question or statement asking the user to confirm their action.
-
setText
public void setText(String text)
text defines the main message displayed in the confirmation dialog. This should be a clear question or statement asking the user to confirm their action.
-
getTitle
public String getTitle()
title defines the title text displayed at the top of the confirmation dialog. When not specified, a default title will be used.
-
setTitle
public void setTitle(String title)
title defines the title text displayed at the top of the confirmation dialog. When not specified, a default title will be used.
-
edit
public SlackConfirmationFieldBuilder edit()
- Specified by:
editin interfaceEditable<SlackConfirmationFieldBuilder>
-
toBuilder
public SlackConfirmationFieldBuilder toBuilder()
-
-