import { type AdditionalDataHolder, type BaseRequestBuilder, type Parsable, type ParseNode, type RequestConfiguration, type RequestInformation, type RequestsMetadata, type SerializationWriter } from '@microsoft/kiota-abstractions'; /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {QueuestatisticsGetResponse_ConcurrentRequestsChart} */ export declare function createQueuestatisticsGetResponse_ConcurrentRequestsChartFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {QueuestatisticsGetResponse_QueuedRequestsChart} */ export declare function createQueuestatisticsGetResponse_QueuedRequestsChartFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * Creates a new instance of the appropriate class based on discriminator value * @param parseNode The parse node to use to read the discriminator value and create the object * @returns {QueuestatisticsGetResponse} */ export declare function createQueuestatisticsGetResponseFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoQueuestatisticsGetResponse(queuestatisticsGetResponse?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoQueuestatisticsGetResponse_ConcurrentRequestsChart(queuestatisticsGetResponse_ConcurrentRequestsChart?: Partial | undefined): Record void>; /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoQueuestatisticsGetResponse_QueuedRequestsChart(queuestatisticsGetResponse_QueuedRequestsChart?: Partial | undefined): Record void>; export interface QueuestatisticsGetResponse extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; /** * The constructed chart of origin shield concurrent requests */ concurrentRequestsChart?: QueuestatisticsGetResponse_ConcurrentRequestsChart | null; /** * The constructed chart of origin shield requests chart */ queuedRequestsChart?: QueuestatisticsGetResponse_QueuedRequestsChart | null; } /** * The constructed chart of origin shield concurrent requests */ export interface QueuestatisticsGetResponse_ConcurrentRequestsChart extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; } /** * The constructed chart of origin shield requests chart */ export interface QueuestatisticsGetResponse_QueuedRequestsChart extends AdditionalDataHolder, Parsable { /** * Stores additional data not described in the OpenAPI description found when deserializing. Can be used for serialization as well. */ additionalData?: Record; } /** * Builds and executes requests for operations under /pullzone/{-id}/originshield/queuestatistics */ export interface QueuestatisticsRequestBuilder extends BaseRequestBuilder { /** * [GetOriginShieldQueueStatistics API Docs](https://docs.bunny.net/reference/pullzonepublic_originshieldconcurrencystatistics) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {Promise} */ get(requestConfiguration?: RequestConfiguration | undefined): Promise; /** * [GetOriginShieldQueueStatistics API Docs](https://docs.bunny.net/reference/pullzonepublic_originshieldconcurrencystatistics) * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toGetRequestInformation(requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * [GetOriginShieldQueueStatistics API Docs](https://docs.bunny.net/reference/pullzonepublic_originshieldconcurrencystatistics) */ export interface QueuestatisticsRequestBuilderGetQueryParameters { /** * The start date of the statistics. If no value is passed, the last 30 days will be returned. */ dateFrom?: Date; /** * The end date of the statistics. If no value is passed, the last 30 days will be returned. */ dateTo?: Date; /** * If true, the statistics data will be returned in hourly grouping. */ hourly?: boolean; } /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeQueuestatisticsGetResponse(writer: SerializationWriter, queuestatisticsGetResponse?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeQueuestatisticsGetResponse_ConcurrentRequestsChart(writer: SerializationWriter, queuestatisticsGetResponse_ConcurrentRequestsChart?: Partial | undefined | null): void; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeQueuestatisticsGetResponse_QueuedRequestsChart(writer: SerializationWriter, queuestatisticsGetResponse_QueuedRequestsChart?: Partial | undefined | null): void; /** * Uri template for the request builder. */ export declare const QueuestatisticsRequestBuilderUriTemplate = "{+baseurl}/pullzone/{%2Did}/originshield/queuestatistics{?dateFrom,dateTo,hourly}"; /** * Metadata for all the requests in the request builder. */ export declare const QueuestatisticsRequestBuilderRequestsMetadata: RequestsMetadata;