Module Values.ServiceAccountTokenSummarySource

A structure that contains the information about a service account token.

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

    The unique ID of the service account token.

    *)
  2. name : String_.t option;
    (*

    The name of the service account token.

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

    When the service account token was created.

    *)
  4. expiresAt : Timestamp.t option;
    (*

    When the service account token will expire.

    *)
  5. lastUsedAt : Timestamp.t option;
    (*

    The last time the token was used to authorize a Grafana HTTP API.

    *)
}
Sourceval make : ?id:??? -> ?name:??? -> ?createdAt:??? -> ?expiresAt:??? -> ?lastUsedAt:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of String_.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