Module Values.CommentContentSource

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

Sourcetype nonrec t = {
  1. body : CommentBody.t;
    (*

    Text in the body of a Comment on a case.

    *)
  2. contentType : CommentBodyTextType.t;
    (*

    Type of the text in the box of a Comment on a case.

    *)
}
Sourceval context_ : string
Sourceval make : body:CommentBody.t -> contentType:CommentBodyTextType.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of CommentBody.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