|
1 |
| -import { Metadata } from "../../../internal/utils/utils"; |
| 1 | +import {Metadata} from "../../../internal/utils/utils"; |
2 | 2 | import * as shared from "../shared";
|
3 | 3 |
|
4 | 4 | export class DeleteVersionMetadataPathParams {
|
5 |
| - @Metadata("pathParam, style=simple;explode=false;name=apiID") |
6 |
| - ApiId: string; |
7 |
| - @Metadata("pathParam, style=simple;explode=false;name=metaKey") |
8 |
| - MetaKey: string; |
9 |
| - @Metadata("pathParam, style=simple;explode=false;name=metaValue") |
10 |
| - MetaValue: string; |
11 |
| - @Metadata("pathParam, style=simple;explode=false;name=versionID") |
12 |
| - VersionId: string; |
13 |
| - |
14 |
| - constructor( |
15 |
| - ApiId: string, |
16 |
| - MetaKey: string, |
17 |
| - MetaValue: string, |
18 |
| - VersionId: string |
19 |
| - ) { |
20 |
| - this.ApiId = ApiId; |
21 |
| - this.MetaKey = MetaKey; |
22 |
| - this.MetaValue = MetaValue; |
23 |
| - this.VersionId = VersionId; |
24 |
| - } |
| 5 | + @Metadata("pathParam, style=simple;explode=false;name=apiID") |
| 6 | + ApiId: string; |
| 7 | + @Metadata("pathParam, style=simple;explode=false;name=metaKey") |
| 8 | + MetaKey: string; |
| 9 | + @Metadata("pathParam, style=simple;explode=false;name=metaValue") |
| 10 | + MetaValue: string; |
| 11 | + @Metadata("pathParam, style=simple;explode=false;name=versionID") |
| 12 | + VersionId: string; |
| 13 | + |
| 14 | + constructor(ApiId: string, MetaKey: string, MetaValue: string, VersionId: string) { |
| 15 | + this.ApiId = ApiId; |
| 16 | + this.MetaKey = MetaKey; |
| 17 | + this.MetaValue = MetaValue; |
| 18 | + this.VersionId = VersionId; |
| 19 | + } |
25 | 20 | }
|
26 | 21 |
|
27 | 22 | export class DeleteVersionMetadataRequest {
|
28 |
| - PathParams: DeleteVersionMetadataPathParams; |
29 |
| - |
30 |
| - constructor(PathParams: DeleteVersionMetadataPathParams) { |
31 |
| - this.PathParams = PathParams; |
32 |
| - } |
| 23 | + |
| 24 | + PathParams: DeleteVersionMetadataPathParams; |
| 25 | + |
| 26 | + constructor(PathParams: DeleteVersionMetadataPathParams) { |
| 27 | + this.PathParams = PathParams; |
| 28 | + } |
33 | 29 | }
|
34 | 30 |
|
35 | 31 | export class DeleteVersionMetadataResponse {
|
36 |
| - ContentType: string; |
| 32 | + |
| 33 | + ContentType: string; |
| 34 | + |
| 35 | + Error?: shared.Error; |
| 36 | + |
| 37 | + StatusCode: number; |
| 38 | + |
| 39 | + constructor(ContentType: string, StatusCode: number, Error?: shared.Error) { |
| 40 | + this.ContentType = ContentType; |
| 41 | + this.Error = Error; |
| 42 | + this.StatusCode = StatusCode; |
| 43 | + } |
| 44 | +} |
37 | 45 |
|
38 |
| - Error?: shared.Error; |
39 | 46 |
|
40 |
| - StatusCode: number; |
41 | 47 |
|
42 |
| - constructor(ContentType: string, StatusCode: number, Error?: shared.Error) { |
43 |
| - this.ContentType = ContentType; |
44 |
| - this.Error = Error; |
45 |
| - this.StatusCode = StatusCode; |
46 |
| - } |
47 |
| -} |
0 commit comments