Module Values.OfferSource

An offer dictates usage terms for the model.

Sourcetype nonrec t = {
  1. offerId : OfferId.t option;
    (*

    Offer Id for a model offer.

    *)
  2. offerToken : OfferToken.t option;
    (*

    Offer token.

    *)
  3. termDetails : TermDetails.t option;
    (*

    Details about the terms of the offer.

    *)
}
Sourceval make : ?offerId:??? -> ?offerToken:??? -> ?termDetails:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of OfferId.t | `Structure of (string * [> `Structure of (string * [> `List of [> `Structure of (string * [> `String of String_.t ]) list ] list | `String of String_.t ]) list ]) list ]) 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