Module Values.GetUsageRequestSource

The GET request to get the usage data of a usage plan in a specified time interval.

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

    The Id of the usage plan associated with the usage data.

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

    The Id of the API key associated with the resultant usage data.

    *)
  3. startDate : String_.t;
    (*

    The starting date (e.g., 2016-01-01) of the usage data.

    *)
  4. endDate : String_.t;
    (*

    The ending date (e.g., 2016-12-31) of the usage data.

    *)
  5. position : String_.t option;
    (*

    The current pagination position in the paged result set.

    *)
  6. limit : NullableInteger.t option;
    (*

    The maximum number of returned results per page. The default value is 25 and the maximum value is 500.

    *)
}
Sourceval context_ : string
Sourceval make : ?keyId:??? -> ?position:??? -> ?limit:??? -> usagePlanId:String_.t -> startDate:String_.t -> endDate:String_.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Integer of NullableInteger.t | `String of 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