Module Values.PhoneNumberInformationSource

A list of phone numbers and their metadata.

Sourcetype nonrec t = {
  1. createdAt : Timestamp.t option;
    (*

    The date and time when the phone number was created.

    *)
  2. phoneNumber : PhoneNumber.t option;
    (*

    The phone number.

    *)
  3. status : String_.t option;
    (*

    The status of the phone number.

    *)
  4. iso2CountryCode : Iso2CountryCode.t option;
    (*

    The two-character code for the country or region, in ISO 3166-1 alpha-2 format.

    *)
  5. routeType : RouteType.t option;
    (*

    The list of supported routes.

    *)
  6. numberCapabilities : NumberCapabilityList.t option;
    (*

    The capabilities of each phone number.

    *)
}
Sourceval make : ?createdAt:Timestamp.t -> ?phoneNumber:PhoneNumber.t -> ?status:String_.t -> ?iso2CountryCode:Iso2CountryCode.t -> ?routeType:RouteType.t -> ?numberCapabilities:NumberCapabilityList.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Enum of string | `List of [> `Enum of string ] list | `String of PhoneNumber.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