-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release 3.0.17-beta source code for nodejs
- Loading branch information
1 parent
cd5ce8f
commit 0d1b5c2
Showing
135 changed files
with
10,020 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
export * from './v2/public-api'; |
Large diffs are not rendered by default.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
services/functiongraph/v2/model/AsyncInvokeFunctionRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
export class AsyncInvokeFunctionRequest { | ||
private 'function_urn': string | undefined; | ||
public body?: { [key: string]: object; }; | ||
public constructor(functionUrn?: any) { | ||
this['function_urn'] = functionUrn; | ||
} | ||
public withFunctionUrn(functionUrn: string): AsyncInvokeFunctionRequest { | ||
this['function_urn'] = functionUrn; | ||
return this; | ||
} | ||
public set functionUrn(functionUrn: string | undefined) { | ||
this['function_urn'] = functionUrn; | ||
} | ||
public get functionUrn() { | ||
return this['function_urn']; | ||
} | ||
public withBody(body: { [key: string]: object; }): AsyncInvokeFunctionRequest { | ||
this['body'] = body; | ||
return this; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
services/functiongraph/v2/model/AsyncInvokeFunctionResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse"; | ||
|
||
export class AsyncInvokeFunctionResponse extends SdkResponse { | ||
private 'request_id'?: string | undefined; | ||
public constructor() { | ||
super(); | ||
} | ||
public withRequestId(requestId: string): AsyncInvokeFunctionResponse { | ||
this['request_id'] = requestId; | ||
return this; | ||
} | ||
public set requestId(requestId: string | undefined) { | ||
this['request_id'] = requestId; | ||
} | ||
public get requestId() { | ||
return this['request_id']; | ||
} | ||
} |
23 changes: 23 additions & 0 deletions
23
services/functiongraph/v2/model/AsyncInvokeReservedFunctionRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
export class AsyncInvokeReservedFunctionRequest { | ||
private 'function_urn': string | undefined; | ||
public body?: { [key: string]: object; }; | ||
public constructor(functionUrn?: any) { | ||
this['function_urn'] = functionUrn; | ||
} | ||
public withFunctionUrn(functionUrn: string): AsyncInvokeReservedFunctionRequest { | ||
this['function_urn'] = functionUrn; | ||
return this; | ||
} | ||
public set functionUrn(functionUrn: string | undefined) { | ||
this['function_urn'] = functionUrn; | ||
} | ||
public get functionUrn() { | ||
return this['function_urn']; | ||
} | ||
public withBody(body: { [key: string]: object; }): AsyncInvokeReservedFunctionRequest { | ||
this['body'] = body; | ||
return this; | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
services/functiongraph/v2/model/AsyncInvokeReservedFunctionResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
|
||
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse"; | ||
|
||
export class AsyncInvokeReservedFunctionResponse extends SdkResponse { | ||
private 'instance_id'?: string | undefined; | ||
public constructor() { | ||
super(); | ||
} | ||
public withInstanceId(instanceId: string): AsyncInvokeReservedFunctionResponse { | ||
this['instance_id'] = instanceId; | ||
return this; | ||
} | ||
public set instanceId(instanceId: string | undefined) { | ||
this['instance_id'] = instanceId; | ||
} | ||
public get instanceId() { | ||
return this['instance_id']; | ||
} | ||
} |
18 changes: 18 additions & 0 deletions
18
services/functiongraph/v2/model/BatchDeleteFunctionTriggersRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
|
||
export class BatchDeleteFunctionTriggersRequest { | ||
private 'function_urn': string | undefined; | ||
public constructor(functionUrn?: any) { | ||
this['function_urn'] = functionUrn; | ||
} | ||
public withFunctionUrn(functionUrn: string): BatchDeleteFunctionTriggersRequest { | ||
this['function_urn'] = functionUrn; | ||
return this; | ||
} | ||
public set functionUrn(functionUrn: string | undefined) { | ||
this['function_urn'] = functionUrn; | ||
} | ||
public get functionUrn() { | ||
return this['function_urn']; | ||
} | ||
} |
8 changes: 8 additions & 0 deletions
8
services/functiongraph/v2/model/BatchDeleteFunctionTriggersResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse"; | ||
|
||
export class BatchDeleteFunctionTriggersResponse extends SdkResponse { | ||
public constructor() { | ||
super(); | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
services/functiongraph/v2/model/CreateDependencyRequest.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { CreateDependencyRequestBody } from './CreateDependencyRequestBody'; | ||
|
||
|
||
export class CreateDependencyRequest { | ||
public body?: CreateDependencyRequestBody; | ||
public constructor() { | ||
} | ||
public withBody(body: CreateDependencyRequestBody): CreateDependencyRequest { | ||
this['body'] = body; | ||
return this; | ||
} | ||
} |
75 changes: 75 additions & 0 deletions
75
services/functiongraph/v2/model/CreateDependencyRequestBody.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
|
||
|
||
export class CreateDependencyRequestBody { | ||
private 'depend_file'?: string | undefined; | ||
private 'depend_link'?: string | undefined; | ||
private 'depend_type': string | undefined; | ||
public runtime: CreateDependencyRequestBodyRuntimeEnum; | ||
public name?: string; | ||
public description?: string; | ||
public constructor(dependType?: any, runtime?: any) { | ||
this['depend_type'] = dependType; | ||
this['runtime'] = runtime; | ||
} | ||
public withDependFile(dependFile: string): CreateDependencyRequestBody { | ||
this['depend_file'] = dependFile; | ||
return this; | ||
} | ||
public set dependFile(dependFile: string | undefined) { | ||
this['depend_file'] = dependFile; | ||
} | ||
public get dependFile() { | ||
return this['depend_file']; | ||
} | ||
public withDependLink(dependLink: string): CreateDependencyRequestBody { | ||
this['depend_link'] = dependLink; | ||
return this; | ||
} | ||
public set dependLink(dependLink: string | undefined) { | ||
this['depend_link'] = dependLink; | ||
} | ||
public get dependLink() { | ||
return this['depend_link']; | ||
} | ||
public withDependType(dependType: string): CreateDependencyRequestBody { | ||
this['depend_type'] = dependType; | ||
return this; | ||
} | ||
public set dependType(dependType: string | undefined) { | ||
this['depend_type'] = dependType; | ||
} | ||
public get dependType() { | ||
return this['depend_type']; | ||
} | ||
public withRuntime(runtime: CreateDependencyRequestBodyRuntimeEnum): CreateDependencyRequestBody { | ||
this['runtime'] = runtime; | ||
return this; | ||
} | ||
public withName(name: string): CreateDependencyRequestBody { | ||
this['name'] = name; | ||
return this; | ||
} | ||
public withDescription(description: string): CreateDependencyRequestBody { | ||
this['description'] = description; | ||
return this; | ||
} | ||
} | ||
|
||
/** | ||
* @export | ||
* @enum {string} | ||
*/ | ||
export enum CreateDependencyRequestBodyRuntimeEnum { | ||
JAVA8 = 'Java8', | ||
NODE_JS6_10 = 'Node.js6.10', | ||
NODE_JS8_10 = 'Node.js8.10', | ||
NODE_JS10_16 = 'Node.js10.16', | ||
NODE_JS12_13 = 'Node.js12.13', | ||
PYTHON2_7 = 'Python2.7', | ||
PYTHON3_6 = 'Python3.6', | ||
GO1_8 = 'Go1.8', | ||
C__NET_CORE_2_0 = 'C#(.NET Core 2.0)', | ||
C__NET_CORE_2_1 = 'C#(.NET Core 2.1)', | ||
C__NET_CORE_3_1 = 'C#(.NET Core 3.1)', | ||
PHP7_3 = 'PHP7.3' | ||
} |
59 changes: 59 additions & 0 deletions
59
services/functiongraph/v2/model/CreateDependencyResponse.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
|
||
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse"; | ||
|
||
export class CreateDependencyResponse extends SdkResponse { | ||
public id?: string; | ||
public owner?: string; | ||
public link?: string; | ||
public runtime?: string; | ||
public etag?: string; | ||
public size?: number; | ||
public name?: string; | ||
public description?: string; | ||
private 'file_name'?: string | undefined; | ||
public constructor() { | ||
super(); | ||
} | ||
public withId(id: string): CreateDependencyResponse { | ||
this['id'] = id; | ||
return this; | ||
} | ||
public withOwner(owner: string): CreateDependencyResponse { | ||
this['owner'] = owner; | ||
return this; | ||
} | ||
public withLink(link: string): CreateDependencyResponse { | ||
this['link'] = link; | ||
return this; | ||
} | ||
public withRuntime(runtime: string): CreateDependencyResponse { | ||
this['runtime'] = runtime; | ||
return this; | ||
} | ||
public withEtag(etag: string): CreateDependencyResponse { | ||
this['etag'] = etag; | ||
return this; | ||
} | ||
public withSize(size: number): CreateDependencyResponse { | ||
this['size'] = size; | ||
return this; | ||
} | ||
public withName(name: string): CreateDependencyResponse { | ||
this['name'] = name; | ||
return this; | ||
} | ||
public withDescription(description: string): CreateDependencyResponse { | ||
this['description'] = description; | ||
return this; | ||
} | ||
public withFileName(fileName: string): CreateDependencyResponse { | ||
this['file_name'] = fileName; | ||
return this; | ||
} | ||
public set fileName(fileName: string | undefined) { | ||
this['file_name'] = fileName; | ||
} | ||
public get fileName() { | ||
return this['file_name']; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
import { CreateEventRequestBody } from './CreateEventRequestBody'; | ||
|
||
|
||
export class CreateEventRequest { | ||
private 'function_urn': string | undefined; | ||
public body?: CreateEventRequestBody; | ||
public constructor(functionUrn?: any) { | ||
this['function_urn'] = functionUrn; | ||
} | ||
public withFunctionUrn(functionUrn: string): CreateEventRequest { | ||
this['function_urn'] = functionUrn; | ||
return this; | ||
} | ||
public set functionUrn(functionUrn: string | undefined) { | ||
this['function_urn'] = functionUrn; | ||
} | ||
public get functionUrn() { | ||
return this['function_urn']; | ||
} | ||
public withBody(body: CreateEventRequestBody): CreateEventRequest { | ||
this['body'] = body; | ||
return this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
|
||
|
||
export class CreateEventRequestBody { | ||
public name?: string; | ||
public content?: string; | ||
public constructor() { | ||
} | ||
public withName(name: string): CreateEventRequestBody { | ||
this['name'] = name; | ||
return this; | ||
} | ||
public withContent(content: string): CreateEventRequestBody { | ||
this['content'] = content; | ||
return this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
|
||
import { SdkResponse } from "@huaweicloud/huaweicloud-sdk-core/SdkResponse"; | ||
|
||
export class CreateEventResponse extends SdkResponse { | ||
public id?: string; | ||
public name?: string; | ||
public content?: string; | ||
private 'last_modified'?: number | undefined; | ||
public constructor() { | ||
super(); | ||
} | ||
public withId(id: string): CreateEventResponse { | ||
this['id'] = id; | ||
return this; | ||
} | ||
public withName(name: string): CreateEventResponse { | ||
this['name'] = name; | ||
return this; | ||
} | ||
public withContent(content: string): CreateEventResponse { | ||
this['content'] = content; | ||
return this; | ||
} | ||
public withLastModified(lastModified: number): CreateEventResponse { | ||
this['last_modified'] = lastModified; | ||
return this; | ||
} | ||
public set lastModified(lastModified: number | undefined) { | ||
this['last_modified'] = lastModified; | ||
} | ||
public get lastModified() { | ||
return this['last_modified']; | ||
} | ||
} |
Oops, something went wrong.