Skip to content

Commit

Permalink
release 3.0.17-beta source code for nodejs
Browse files Browse the repository at this point in the history
  • Loading branch information
Huaweicloud-SDK committed Sep 26, 2021
1 parent cd5ce8f commit 0d1b5c2
Show file tree
Hide file tree
Showing 135 changed files with 10,020 additions and 1 deletion.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 3.0.17-beta 2021-09-26

### HuaweiCloud SDK FunctionGraph

- _Features_
- Support the service `FunctionGraph`.
- _Bug Fix_
- None
- _Change_
- None

# 3.0.16-beta 2021-09-24

### HuaweiCloud SDK CCE
Expand Down
11 changes: 11 additions & 0 deletions CHANGELOG_CN.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
# 3.0.17-beta 2021-09-26

### HuaweiCloud SDK FunctionGraph

- _新增特性_
- 支持函数工作流服务
- _解决问题_
-
- _特性变更_
-

# 3.0.16-beta 2021-09-24

### HuaweiCloud SDK CCE
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "huaweicloud-sdk-nodejs-v3",
"version": "3.0.16-beta",
"version": "3.0.17-beta",
"description": "Core code for Huaweicloud SDK for Node.js",
"main": "index.js",
"scripts": {
Expand Down
1 change: 1 addition & 0 deletions services/functiongraph/huaweicloud-sdk-functiongraph.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from './v2/public-api';
2,658 changes: 2,658 additions & 0 deletions services/functiongraph/v2/FunctionGraphClient.ts

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions services/functiongraph/v2/model/AsyncInvokeFunctionRequest.ts
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 services/functiongraph/v2/model/AsyncInvokeFunctionResponse.ts
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'];
}
}
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;
}
}
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'];
}
}
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'];
}
}
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 services/functiongraph/v2/model/CreateDependencyRequest.ts
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 services/functiongraph/v2/model/CreateDependencyRequestBody.ts
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 services/functiongraph/v2/model/CreateDependencyResponse.ts
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'];
}
}
24 changes: 24 additions & 0 deletions services/functiongraph/v2/model/CreateEventRequest.ts
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;
}
}
16 changes: 16 additions & 0 deletions services/functiongraph/v2/model/CreateEventRequestBody.ts
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;
}
}
34 changes: 34 additions & 0 deletions services/functiongraph/v2/model/CreateEventResponse.ts
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'];
}
}
Loading

0 comments on commit 0d1b5c2

Please sign in to comment.