// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class DissociateAdditionalCertificatesFromListenerRequestCertificates extends $dara.Model { /** * @remarks * The certificate ID. * * This parameter is required. * * @example * 103705****** */ certificateId?: string; static names(): { [key: string]: string } { return { certificateId: 'CertificateId', }; } static types(): { [key: string]: any } { return { certificateId: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class DissociateAdditionalCertificatesFromListenerRequest extends $dara.Model { /** * @remarks * A list of additional certificates. Only server certificates are supported. Specify a maximum of 20 certificates. * * This parameter is required. */ certificates?: DissociateAdditionalCertificatesFromListenerRequestCertificates[]; /** * @remarks * The client token that is used to ensure the idempotence of the request. The client token must be a unique value that is generated by the client. The token can contain only ASCII characters. * * Generate a unique value on your client. The token can contain only ASCII characters. * * > If you do not specify this parameter, the system uses the **RequestId** of the request as the **ClientToken**. The **RequestId** of each request is unique. * * @example * 5A2CFF0E-5718-45B5-9D4D-70B3****** */ clientToken?: string; /** * @remarks * Specifies whether to perform a dry run. Valid values: * * - **true**: performs a dry run to check the request. The system checks for missing parameters, invalid formats, and service limits. If the request fails the check, an error is returned. If the request passes the check, the `DryRunOperation` error code is returned. No certificates are dissociated from the listener. * * - **false** (default): sends a normal request. After the request passes the check, an HTTP 2xx status code is returned and the operation is performed. * * @example * true */ dryRun?: boolean; /** * @remarks * The listener ID. This parameter applies to HTTPS and QUIC listeners. * * This parameter is required. * * @example * lsn-5qnirjhpt7****** */ listenerId?: string; static names(): { [key: string]: string } { return { certificates: 'Certificates', clientToken: 'ClientToken', dryRun: 'DryRun', listenerId: 'ListenerId', }; } static types(): { [key: string]: any } { return { certificates: { 'type': 'array', 'itemType': DissociateAdditionalCertificatesFromListenerRequestCertificates }, clientToken: 'string', dryRun: 'boolean', listenerId: 'string', }; } validate() { if(Array.isArray(this.certificates)) { $dara.Model.validateArray(this.certificates); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }