Module Values_0.LayerCustomActionSource

A layer custom action.

Sourcetype nonrec t = {
  1. customActionId : ShortRestrictiveResourceId.t;
    (*

    The ID of the custom action.

    *)
  2. name : LayerCustomActionName.t;
    (*

    The name of the custom action.

    *)
  3. status : WidgetStatus.t option;
    (*

    The status of the LayerCustomAction.

    *)
  4. trigger : LayerCustomActionTrigger.t;
    (*

    The trigger of the LayerCustomAction. Valid values are defined as follows: DATA_POINT_CLICK: Initiates a custom action by a left pointer click on a data point. DATA_POINT_MENU: Initiates a custom action by right pointer click from the menu.

    *)
  5. actionOperations : LayerCustomActionOperationList.t;
    (*

    A list of LayerCustomActionOperations. This is a union type structure. For this structure to be valid, only one of the attributes can be defined.

    *)
}
Sourceval context_ : string
Sourceval make : ?status:??? -> customActionId:ShortRestrictiveResourceId.t -> name:LayerCustomActionName.t -> trigger:LayerCustomActionTrigger.t -> actionOperations:LayerCustomActionOperationList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of ParameterName.t | `Structure of (string * [> `Enum of string | `String of String_.t | `Structure of (string * [> `Boolean of BooleanObject.t | `String of DataSetIdentifier.t | `Structure of (string * [> `List of [> `Double of SensitiveDoubleObject.t | `Long of SensitiveLongObject.t | `String of SensitiveStringObject.t | `Timestamp of SensitiveTimestamp.t ] list ]) list ]) list ]) list ]) list ] list | `String of URLOperationTemplate.t | `Structure of (string * [> `Enum of string | `List of [> `String of FieldId.t | `Structure of (string * [> `String of DataSetIdentifier.t ]) list ] list | `String of ShortRestrictiveResourceId.t | `Structure of (string * [> `Enum of string | `List of [> `String of ShortRestrictiveResourceId.t ] list ]) list ]) list ]) list ]) list ] list | `String of ShortRestrictiveResourceId.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