// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class ModifyVSwitchAttributeRequest extends $dara.Model { /** * @remarks * The new description for the vSwitch.\\ * The description must be 2 to 256 characters in length and cannot start with `http://` or `https://`.\\ */ description?: string; ownerAccount?: string; ownerId?: number; /** * @remarks * The ID of the region where the vSwitch is located. */ regionId?: string; resourceOwnerAccount?: string; resourceOwnerId?: number; /** * @remarks * The ID of the vSwitch to modify. * * This parameter is required. */ vSwitchId?: string; /** * @remarks * The new name for the vSwitch.\\ * The name must be 2 to 128 characters in length. It must start with a letter and can contain letters, digits, underscores (_), and hyphens (-).\\ */ vSwitchName?: string; static names(): { [key: string]: string } { return { description: 'Description', ownerAccount: 'OwnerAccount', ownerId: 'OwnerId', regionId: 'RegionId', resourceOwnerAccount: 'ResourceOwnerAccount', resourceOwnerId: 'ResourceOwnerId', vSwitchId: 'VSwitchId', vSwitchName: 'VSwitchName', }; } static types(): { [key: string]: any } { return { description: 'string', ownerAccount: 'string', ownerId: 'number', regionId: 'string', resourceOwnerAccount: 'string', resourceOwnerId: 'number', vSwitchId: 'string', vSwitchName: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }