// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ModifySecurityGroupAttributeRequest extends $dara.Model { /** * @remarks * The description of the security group. The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`. * * Default value: null. The description is not modified. * * @example * TestDescription */ description?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The region ID. You can call [DescribeRegions](https://help.aliyun.com/document_detail/25609.html) to query the most recent region list. * * This parameter is required. * * @example * cn-hangzhou */ regionId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The security group ID. * * This parameter is required. * * @example * sg-bp67acfmxazb4p**** */ securityGroupId?: string; /** * @remarks * The name of the security group. The name must be 2 to 128 characters in length and must start with a letter or a Chinese character. It cannot start with `http://` or `https://`. The name can contain characters that are categorized as letters in Unicode, including Chinese characters, and digits. The name can also contain colons (:), underscores (_), periods (.), or hyphens (-). * * Default value: null. The name is not modified. * * @example * SecurityGroupTestName */ securityGroupName?: string; static names(): { [key: string]: string } { return { description: 'Description', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', securityGroupId: 'SecurityGroupId', securityGroupName: 'SecurityGroupName', }; } static types(): { [key: string]: any } { return { description: 'string', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', securityGroupId: 'string', securityGroupName: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }