Module GapiUrlshortenerV1Model.Url
type t
=
{
analytics : AnalyticsSummary.t;
A summary of the click analytics for the short and long URL. Might not be present if not requested or currently unavailable.
created : string;
Time the short URL was created; ISO 8601 representation using the yyyy-MM-dd'T'HH:mm:ss.SSSZZ format, e.g. "2010-10-14T19:01:24.944+00:00".
id : string;
Short URL, e.g. "http://goo.gl/l6MS".
kind : string;
The fixed string "urlshortener#url".
longUrl : string;
Long URL, e.g. "http://www.google.com/". Might not be present if the status is "REMOVED".
status : string;
Status of the target URL. Possible values: "OK", "MALWARE", "PHISHING", or "REMOVED". A URL might be marked "REMOVED" if it was flagged as spam, for example.
}
val analytics : (t, AnalyticsSummary.t) GapiLens.t
val created : (t, string) GapiLens.t
val id : (t, string) GapiLens.t
val kind : (t, string) GapiLens.t
val longUrl : (t, string) GapiLens.t
val status : (t, string) GapiLens.t
val empty : t
val render : t -> GapiJson.json_data_model list
val parse : t -> GapiJson.json_data_model -> t
val to_data_model : t -> GapiJson.json_data_model
val of_data_model : GapiJson.json_data_model -> t