Class RocketChatActionConfig
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1beta1.RocketChatActionConfig
-
- All Implemented Interfaces:
Editable<RocketChatActionConfigBuilder>,KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RocketChatActionConfig extends Object implements Editable<RocketChatActionConfigBuilder>, KubernetesResource
RocketChatActionConfig defines actions for RocketChat messages.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RocketChatActionConfig()No args constructor for use in serializationRocketChatActionConfig(String msg, String text, String url)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RocketChatActionConfigBuilderedit()Map<String,Object>getAdditionalProperties()StringgetMsg()msg defines the message to send when the button is clicked.StringgetText()text defines the button text displayed to users.StringgetUrl()url defines the URL the button links to when clicked.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetMsg(String msg)msg defines the message to send when the button is clicked.voidsetText(String text)text defines the button text displayed to users.voidsetUrl(String url)url defines the URL the button links to when clicked.RocketChatActionConfigBuildertoBuilder()
-
-
-
Method Detail
-
getMsg
public String getMsg()
msg defines the message to send when the button is clicked. This allows the button to post a predefined message to the channel.
-
setMsg
public void setMsg(String msg)
msg defines the message to send when the button is clicked. This allows the button to post a predefined message to the channel.
-
getText
public String getText()
text defines the button text displayed to users. This is the label that appears on the interactive button.
-
setText
public void setText(String text)
text defines the button text displayed to users. This is the label that appears on the interactive button.
-
getUrl
public String getUrl()
url defines the URL the button links to when clicked. This creates a clickable button that opens the specified URL.
-
setUrl
public void setUrl(String url)
url defines the URL the button links to when clicked. This creates a clickable button that opens the specified URL.
-
edit
public RocketChatActionConfigBuilder edit()
- Specified by:
editin interfaceEditable<RocketChatActionConfigBuilder>
-
toBuilder
public RocketChatActionConfigBuilder toBuilder()
-
-