Module Values.ControlCommentSource

A comment that's posted by a user on a control. This includes the author's name, the comment text, and a timestamp.

Sourcetype nonrec t = {
  1. authorName : Username.t option;
    (*

    The name of the user who authored the comment.

    *)
  2. commentBody : ControlCommentBody.t option;
    (*

    The body text of a control comment.

    *)
  3. postedDate : Timestamp.t option;
    (*

    The time when the comment was posted.

    *)
}
Sourceval make : ?authorName:??? -> ?commentBody:??? -> ?postedDate:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of Username.t | `Timestamp of Timestamp.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