Module Values_2.SelfUpgradeRequestDetailSource

Details of a self-upgrade request.

Sourcetype nonrec t = {
  1. upgradeRequestId : Values_0.String_.t option;
    (*

    The ID of the self-upgrade request.

    *)
  2. userName : UserName.t option;
    (*

    The username of the user who initiated the self-upgrade request.

    *)
  3. originalRole : UserRole.t option;
    (*

    The original role of the user before the upgrade.

    *)
  4. requestedRole : UserRole.t option;
    (*

    The role that the user is requesting to upgrade to.

    *)
  5. requestNote : Values_0.String_.t option;
    (*

    An optional note explaining the reason for the self-upgrade request.

    *)
  6. creationTime : Values_0.Long.t option;
    (*

    The time when the self-upgrade request was created.

    *)
  7. requestStatus : SelfUpgradeRequestStatus.t option;
    (*

    The status of the self-upgrade request.

    *)
  8. lastUpdateAttemptTime : Values_0.Long.t option;
    (*

    The time of the last update attempt for the self-upgrade request.

    *)
  9. lastUpdateFailureReason : Values_0.String_.t option;
    (*

    The reason for the last update failure, if applicable.

    *)
}
Sourceval make : ?upgradeRequestId:??? -> ?userName:??? -> ?originalRole:??? -> ?requestedRole:??? -> ?requestNote:??? -> ?creationTime:??? -> ?requestStatus:??? -> ?lastUpdateAttemptTime:??? -> ?lastUpdateFailureReason:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `Long of Values_0.Long.t | `String of Values_0.String_.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