// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from 'cloudflaredev/resource';
import * as ASNsAPI from 'cloudflaredev/resources/radar/entities/asns';
import * as LocationsAPI from 'cloudflaredev/resources/radar/entities/locations';
export class Entities extends APIResource {
    constructor() {
        super(...arguments);
        this.asns = new ASNsAPI.ASNs(this._client);
        this.locations = new LocationsAPI.Locations(this._client);
    }
    /**
     * Get IP address information.
     */
    get(query, options) {
        return this._client.get('/radar/entities/ip', { query, ...options })._thenUnwrap((obj) => obj.result);
    }
}
(function (Entities) {
    Entities.ASNs = ASNsAPI.ASNs;
    Entities.Locations = LocationsAPI.Locations;
})(Entities || (Entities = {}));
//# sourceMappingURL=entities.mjs.map