Class SlackField
- java.lang.Object
-
- io.fabric8.openshift.api.model.monitoring.v1alpha1.SlackField
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<SlackFieldBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class SlackField extends Object implements io.fabric8.kubernetes.api.builder.Editable<SlackFieldBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SlackField()No args constructor for use in serializationSlackField(Boolean _short, String title, String value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SlackFieldBuilderedit()Map<String,Object>getAdditionalProperties()BooleangetShort()SlackField configures a single Slack field that is sent with each notification.StringgetTitle()SlackField configures a single Slack field that is sent with each notification.StringgetValue()SlackField configures a single Slack field that is sent with each notification.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetShort(Boolean _short)SlackField configures a single Slack field that is sent with each notification.voidsetTitle(String title)SlackField configures a single Slack field that is sent with each notification.voidsetValue(String value)SlackField configures a single Slack field that is sent with each notification.SlackFieldBuildertoBuilder()
-
-
-
Method Detail
-
getShort
public Boolean getShort()
SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.
-
setShort
public void setShort(Boolean _short)
SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.
-
getTitle
public String getTitle()
SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.
-
setTitle
public void setTitle(String title)
SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.
-
getValue
public String getValue()
SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.
-
setValue
public void setValue(String value)
SlackField configures a single Slack field that is sent with each notification. Each field must contain a title, value, and optionally, a boolean value to indicate if the field is short enough to be displayed next to other fields designated as short. See https://api.slack.com/docs/message-attachments#fields for more information.
-
edit
public SlackFieldBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<SlackFieldBuilder>
-
toBuilder
public SlackFieldBuilder toBuilder()
-
-