Module Values.RelatedItemContentSource

Represents the content of a particular type of related item.

Sourcetype nonrec t = {
  1. contact : ContactContent.t option;
    (*

    Represents the content of a contact to be returned to agents.

    *)
  2. comment : CommentContent.t option;
    (*

    Represents the content of a comment to be returned to agents.

    *)
  3. file : FileContent.t option;
    (*

    Represents the content of a File to be returned to agents.

    *)
  4. sla : SlaContent.t option;
    (*

    Represents the content of an SLA to be returned to agents.

    *)
  5. connectCase : ConnectCaseContent.t option;
    (*

    Represents the Amazon Connect case to be created as a related item.

    *)
  6. custom : CustomContent.t option;
    (*

    Represents the content of a Custom type related item.

    *)
}
Sourceval make : ?contact:??? -> ?comment:??? -> ?file:??? -> ?sla:??? -> ?connectCase:??? -> ?custom:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `String of FieldId.t | `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `String of FieldValueUnionStringValueString.t | `Structure of 'a list ]) list ]) list ] list | `String of ContactArn.t | `Structure of (string * [> `Enum of string | `List of [> `Structure of (string * [> `Boolean of Boolean.t | `Double of Double.t | `String of FieldValueUnionStringValueString.t | `Structure of 'b list ]) list ] list | `String of SlaName.t | `Timestamp of SlaTargetTime.t ]) list | `Timestamp of ConnectedToSystemTime.t ]) list ]) 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