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 {SetZoneSecurityEnabledPostRequestBody} */ export declare function createSetZoneSecurityEnabledPostRequestBodyFromDiscriminatorValue(parseNode: ParseNode | undefined): ((instance?: Parsable) => Record void>); /** * The deserialization information for the current model * @returns {Record void>} */ export declare function deserializeIntoSetZoneSecurityEnabledPostRequestBody(setZoneSecurityEnabledPostRequestBody?: Partial | undefined): Record void>; /** * Serializes information the current object * @param writer Serialization writer to use to serialize this model */ export declare function serializeSetZoneSecurityEnabledPostRequestBody(writer: SerializationWriter, setZoneSecurityEnabledPostRequestBody?: Partial | undefined | null): void; export interface SetZoneSecurityEnabledPostRequestBody 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 ID of the requested Pull Zone */ id?: number | null; /** * Set to true to enable Token Authentication */ value?: boolean | null; } /** * Builds and executes requests for operations under /pullzone/setZoneSecurityEnabled */ export interface SetZoneSecurityEnabledRequestBuilder extends BaseRequestBuilder { /** * [SetZoneSecurityEnabled API Docs](https://toshy.github.io/BunnyNet-PHP/base-api/#set-zone-security-enabled) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. */ post(body: SetZoneSecurityEnabledPostRequestBody, requestConfiguration?: RequestConfiguration | undefined): Promise; /** * [SetZoneSecurityEnabled API Docs](https://toshy.github.io/BunnyNet-PHP/base-api/#set-zone-security-enabled) * @param body The request body * @param requestConfiguration Configuration for the request such as headers, query parameters, and middleware options. * @returns {RequestInformation} */ toPostRequestInformation(body: SetZoneSecurityEnabledPostRequestBody, requestConfiguration?: RequestConfiguration | undefined): RequestInformation; } /** * Uri template for the request builder. */ export declare const SetZoneSecurityEnabledRequestBuilderUriTemplate = "{+baseurl}/pullzone/setZoneSecurityEnabled"; /** * Metadata for all the requests in the request builder. */ export declare const SetZoneSecurityEnabledRequestBuilderRequestsMetadata: RequestsMetadata;