Module Values.CustomActionAttachmentSource

Defines when a custom action button should be attached to a notification.

Sourcetype nonrec t = {
  1. notificationType : CustomActionAttachmentNotificationType.t option;
    (*

    The type of notification that the custom action should be attached to.

    *)
  2. buttonText : CustomActionButtonText.t option;
    (*

    The text of the button that appears on the notification.

    *)
  3. criteria : CustomActionAttachmentCriteriaList.t option;
    (*

    The criteria for when a button should be shown based on values in the notification.

    *)
  4. variables : CustomActionAttachmentVariables.t option;
    (*

    The variables to extract from the notification.

    *)
}
Sourceval make : ?notificationType:??? -> ?buttonText:??? -> ?criteria:??? -> ?variables:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `Structure of (string * [> `Enum of string | `String of CustomActionAttachmentCriteriaVariableNameString.t ]) list ] list | `Map of ([> `String of CustomActionAttachmentVariablesKeyString.t ] * [> `String of CustomActionAttachmentVariablesValueString.t ]) list | `String of CustomActionAttachmentNotificationType.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t