// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class CreatePlanMaintenanceWindowShrinkRequest extends $dara.Model { /** * @remarks * Specifies whether to enable or disable the O&M window. * * - **true**: Enabled. * - **false**: Disabled. * * This parameter is required. * * @example * true */ enable?: boolean; minMaintenanceInterval?: number; /** * @remarks * The name of the O&M window. You can specify a custom name. The name can be up to 200 characters in length. * * This parameter is required. * * @example * WIndowName */ planWindowName?: string; /** * @remarks * The region ID. You can call DescribeRegions to query the most recent region list. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; /** * @remarks * The O&M operations supported by the O&M window. * * This parameter is required. * * @example * Reboot */ supportMaintenanceAction?: string; /** * @remarks * The resources on which the O&M window takes effect. * * This parameter is required. */ targetResourceShrink?: string; /** * @remarks * The recurring cycle of the O&M window. * * This parameter is required. */ timePeriodShrink?: string; static names(): { [key: string]: string } { return { enable: 'Enable', minMaintenanceInterval: 'MinMaintenanceInterval', planWindowName: 'PlanWindowName', regionId: 'RegionId', supportMaintenanceAction: 'SupportMaintenanceAction', targetResourceShrink: 'TargetResource', timePeriodShrink: 'TimePeriod', }; } static types(): { [key: string]: any } { return { enable: 'boolean', minMaintenanceInterval: 'number', planWindowName: 'string', regionId: 'string', supportMaintenanceAction: 'string', targetResourceShrink: 'string', timePeriodShrink: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }