|
| 1 | +// This file is auto-generated, don't edit it |
| 2 | +import * as $dara from '@darabonba/typescript'; |
| 3 | + |
| 4 | + |
| 5 | +export class ListTemplateShrinkRequest extends $dara.Model { |
| 6 | + /** |
| 7 | + * @remarks |
| 8 | + * The keyword that is used to search for templates. |
| 9 | + * |
| 10 | + * @example |
| 11 | + * cadt |
| 12 | + */ |
| 13 | + keyword?: string; |
| 14 | + /** |
| 15 | + * @remarks |
| 16 | + * The number of entries to return on each page. |
| 17 | + * |
| 18 | + * This parameter is required. |
| 19 | + * |
| 20 | + * @example |
| 21 | + * 10 |
| 22 | + */ |
| 23 | + maxResults?: number; |
| 24 | + /** |
| 25 | + * @remarks |
| 26 | + * The number of the page to return. |
| 27 | + * |
| 28 | + * This parameter is required. |
| 29 | + * |
| 30 | + * @example |
| 31 | + * 1 |
| 32 | + */ |
| 33 | + nextToken?: number; |
| 34 | + /** |
| 35 | + * @remarks |
| 36 | + * The criterion by which the returned templates are sorted. Valid values: |
| 37 | + * |
| 38 | + * * 1: The templates are sorted by the time when they are updated. |
| 39 | + * * 2: The templates are sorted by the time when they are created. |
| 40 | + * * 3: The templates are sorted by the system. |
| 41 | + * * 4: The templates are sorted by the number of times that they are used. |
| 42 | + * * If you specify an integer other than 1, 2, 3, and 4 or do not specify any value, the templates are sorted by the system. |
| 43 | + * |
| 44 | + * @example |
| 45 | + * 1 |
| 46 | + */ |
| 47 | + orderType?: number; |
| 48 | + /** |
| 49 | + * @remarks |
| 50 | + * The ID of the resource group. |
| 51 | + * |
| 52 | + * @example |
| 53 | + * rg-acfmyjt3c5om3hi |
| 54 | + */ |
| 55 | + resourceGroupId?: string; |
| 56 | + tagShrink?: string; |
| 57 | + /** |
| 58 | + * @remarks |
| 59 | + * The tag that you want to use to query templates. |
| 60 | + * |
| 61 | + * @example |
| 62 | + * 1 |
| 63 | + */ |
| 64 | + tagList?: number; |
| 65 | + /** |
| 66 | + * @remarks |
| 67 | + * The type of the templates to be returned. Valid values: public and private |
| 68 | + * |
| 69 | + * This parameter is required. |
| 70 | + * |
| 71 | + * @example |
| 72 | + * public |
| 73 | + */ |
| 74 | + type?: string; |
| 75 | + static names(): { [key: string]: string } { |
| 76 | + return { |
| 77 | + keyword: 'Keyword', |
| 78 | + maxResults: 'MaxResults', |
| 79 | + nextToken: 'NextToken', |
| 80 | + orderType: 'OrderType', |
| 81 | + resourceGroupId: 'ResourceGroupId', |
| 82 | + tagShrink: 'Tag', |
| 83 | + tagList: 'TagList', |
| 84 | + type: 'Type', |
| 85 | + }; |
| 86 | + } |
| 87 | + |
| 88 | + static types(): { [key: string]: any } { |
| 89 | + return { |
| 90 | + keyword: 'string', |
| 91 | + maxResults: 'number', |
| 92 | + nextToken: 'number', |
| 93 | + orderType: 'number', |
| 94 | + resourceGroupId: 'string', |
| 95 | + tagShrink: 'string', |
| 96 | + tagList: 'number', |
| 97 | + type: 'string', |
| 98 | + }; |
| 99 | + } |
| 100 | + |
| 101 | + validate() { |
| 102 | + super.validate(); |
| 103 | + } |
| 104 | + |
| 105 | + constructor(map?: { [key: string]: any }) { |
| 106 | + super(map); |
| 107 | + } |
| 108 | +} |
| 109 | + |
0 commit comments