Module Values.PackageDetailsSource

Basic information about a package.

Sourcetype nonrec t = {
  1. packageID : PackageID.t option;
    (*

    Internal ID of the package.

    *)
  2. packageName : PackageName.t option;
    (*

    User specified name of the package.

    *)
  3. packageType : PackageType.t option;
    (*

    Currently supports only TXT-DICTIONARY.

    *)
  4. packageDescription : PackageDescription.t option;
    (*

    User-specified description of the package.

    *)
  5. packageStatus : PackageStatus.t option;
    (*

    Current state of the package. Values are COPYING/COPY_FAILED/AVAILABLE/DELETING/DELETE_FAILED

    *)
  6. createdAt : CreatedAt.t option;
    (*

    Timestamp which tells creation date of the package.

    *)
  7. lastUpdatedAt : LastUpdated.t option;
  8. availablePackageVersion : PackageVersion.t option;
  9. errorDetails : ErrorDetails.t option;
    (*

    Additional information if the package is in an error state. Null otherwise.

    *)
}
Sourceval make : ?packageID:??? -> ?packageName:??? -> ?packageType:??? -> ?packageDescription:??? -> ?packageStatus:??? -> ?createdAt:??? -> ?lastUpdatedAt:??? -> ?availablePackageVersion:??? -> ?errorDetails:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `String of PackageID.t | `Structure of (string * [> `String of ErrorType.t ]) list | `Timestamp of CreatedAt.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