UNPKG

tencentcloud-sdk-nodejs-intl-en

Version:
1,935 lines (1,633 loc) • 221 kB
/* * Copyright (c) 2018 THL A29 Limited, a Tencent company. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, * software distributed under the License is distributed on an * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY * KIND, either express or implied. See the License for the * specific language governing permissions and limitations * under the License. */ const AbstractModel = require("../../common/abstract_model"); /** * CreatePresetKey response structure. * @class */ class CreatePresetKeyResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {PresetResp || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new PresetResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeTeamMemberList request structure. * @class */ class DescribeTeamMemberListRequest extends AbstractModel { constructor(){ super(); /** * Page offset * @type {number || null} */ this.Offset = null; /** * Number of results per page * @type {number || null} */ this.Limit = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Team ID * @type {string || null} */ this.TeamId = null; /** * Keywords for search (user name) * @type {string || null} */ this.Keyword = null; /** * Role ID * @type {Array.<number> || null} */ this.RoleIds = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Offset = 'Offset' in params ? params.Offset : null; this.Limit = 'Limit' in params ? params.Limit : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.TeamId = 'TeamId' in params ? params.TeamId : null; this.Keyword = 'Keyword' in params ? params.Keyword : null; this.RoleIds = 'RoleIds' in params ? params.RoleIds : null; } } /** * DescribeMNPAllStageVersions request structure. * @class */ class DescribeMNPAllStageVersionsRequest extends AbstractModel { constructor(){ super(); /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * ModifyApplication request structure. * @class */ class ModifyApplicationRequest extends AbstractModel { constructor(){ super(); /** * Application ID * @type {string || null} */ this.ApplicationId = null; /** * Application name * @type {string || null} */ this.ApplicationName = null; /** * Application introduction * @type {string || null} */ this.Intro = null; /** * Icon * @type {string || null} */ this.Logo = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Android app package name * @type {string || null} */ this.AndroidAppKey = null; /** * iOS App bundleId * @type {string || null} */ this.IosAppKey = null; /** * Remarks * @type {string || null} */ this.Remark = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null; this.Intro = 'Intro' in params ? params.Intro : null; this.Logo = 'Logo' in params ? params.Logo : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.AndroidAppKey = 'AndroidAppKey' in params ? params.AndroidAppKey : null; this.IosAppKey = 'IosAppKey' in params ? params.IosAppKey : null; this.Remark = 'Remark' in params ? params.Remark : null; } } /** * DeleteUser request structure. * @class */ class DeleteUserRequest extends AbstractModel { constructor(){ super(); /** * User ID * @type {string || null} */ this.UserId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.UserId = 'UserId' in params ? params.UserId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * DescribeMNPCategory response structure. * @class */ class DescribeMNPCategoryResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<MNPTypeDefine> || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { this.Data = new Array(); for (let z in params.Data) { let obj = new MNPTypeDefine(); obj.deserialize(params.Data[z]); this.Data.push(obj); } } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * The request to add a sensitive API * @class */ class CreateApplicationSensitiveAPIReq extends AbstractModel { constructor(){ super(); /** * API name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.APIName = null; /** * API description Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.APIDesc = null; /** * API type. 1: System; 2: Custom Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.APIType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.APIName = 'APIName' in params ? params.APIName : null; this.APIDesc = 'APIDesc' in params ? params.APIDesc : null; this.APIType = 'APIType' in params ? params.APIType : null; } } /** * CreateMNPApproval request structure. * @class */ class CreateMNPApprovalRequest extends AbstractModel { constructor(){ super(); /** * Mini program version ID * @type {number || null} */ this.MNPVersionId = null; /** * submit: Submit an approval request; cancel: Cancel the approval request * @type {string || null} */ this.ApplyAction = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPVersionId = 'MNPVersionId' in params ? params.MNPVersionId : null; this.ApplyAction = 'ApplyAction' in params ? params.ApplyAction : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * RemoveMNP request structure. * @class */ class RemoveMNPRequest extends AbstractModel { constructor(){ super(); /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * DescribeMNPPreview response structure. * @class */ class DescribeMNPPreviewResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {DescribeMNPPreviewResp || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new DescribeMNPPreviewResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * Mini program list * @class */ class DescribeMNPListResp extends AbstractModel { constructor(){ super(); /** * Total number of entries Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.TotalCount = null; /** * List information Note: This field may return null, indicating that no valid values can be obtained. * @type {Array.<DescribeMNPListData> || null} */ this.DataList = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TotalCount = 'TotalCount' in params ? params.TotalCount : null; if (params.DataList) { this.DataList = new Array(); for (let z in params.DataList) { let obj = new DescribeMNPListData(); obj.deserialize(params.DataList[z]); this.DataList.push(obj); } } } } /** * Response of querying the preview * @class */ class DescribeMNPPreviewResp extends AbstractModel { constructor(){ super(); /** * Mini program ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPId = null; /** * Mini program name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPName = null; /** * Mini program description Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPDesc = null; /** * Mini program version Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPVersion = null; /** * Mini program introduction Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPVersionIntro = null; /** * Mini program QR code Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.QRCodeUrl = null; /** * Path to the preview Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.PreviewEntrancePath = null; /** * QR code content Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.QRCodeContent = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.MNPName = 'MNPName' in params ? params.MNPName : null; this.MNPDesc = 'MNPDesc' in params ? params.MNPDesc : null; this.MNPVersion = 'MNPVersion' in params ? params.MNPVersion : null; this.MNPVersionIntro = 'MNPVersionIntro' in params ? params.MNPVersionIntro : null; this.QRCodeUrl = 'QRCodeUrl' in params ? params.QRCodeUrl : null; this.PreviewEntrancePath = 'PreviewEntrancePath' in params ? params.PreviewEntrancePath : null; this.QRCodeContent = 'QRCodeContent' in params ? params.QRCodeContent : null; } } /** * DescribeMNPVersion response structure. * @class */ class DescribeMNPVersionResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {DescribeMNPVersionResp || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new DescribeMNPVersionResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ModifyApplication response structure. * @class */ class ModifyApplicationResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * EnableApplicationSensitiveAPI response structure. * @class */ class EnableApplicationSensitiveAPIResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeMNPList response structure. * @class */ class DescribeMNPListResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {DescribeMNPListResp || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new DescribeMNPListResp(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ProcessMNPApproval response structure. * @class */ class ProcessMNPApprovalResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DeleteTeam response structure. * @class */ class DeleteTeamResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * RemoveMNP response structure. * @class */ class RemoveMNPResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DescribeMNPSensitiveAPIPermissionApproval request structure. * @class */ class DescribeMNPSensitiveAPIPermissionApprovalRequest extends AbstractModel { constructor(){ super(); /** * Approval request number * @type {string || null} */ this.ApprovalNo = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApprovalNo = 'ApprovalNo' in params ? params.ApprovalNo : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * ModifyUser response structure. * @class */ class ModifyUserResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * Team member information * @class */ class DescribeTeamMemberInfoResp extends AbstractModel { constructor(){ super(); /** * User ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.UserId = null; /** * User account Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.UserAccount = null; /** * User name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.UserName = null; /** * Team ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TeamId = null; /** * Team name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TeamName = null; /** * Team role name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TeamRoleName = null; /** * Team role ID Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.TeamRoleId = null; /** * Editable or not Note: This field may return null, indicating that no valid values can be obtained. * @type {boolean || null} */ this.CanEdit = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.UserId = 'UserId' in params ? params.UserId : null; this.UserAccount = 'UserAccount' in params ? params.UserAccount : null; this.UserName = 'UserName' in params ? params.UserName : null; this.TeamId = 'TeamId' in params ? params.TeamId : null; this.TeamName = 'TeamName' in params ? params.TeamName : null; this.TeamRoleName = 'TeamRoleName' in params ? params.TeamRoleName : null; this.TeamRoleId = 'TeamRoleId' in params ? params.TeamRoleId : null; this.CanEdit = 'CanEdit' in params ? params.CanEdit : null; } } /** * ConfigureMNPPreview response structure. * @class */ class ConfigureMNPPreviewResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * List of permission requests to allow a mini program to call sensitive APIs * @class */ class DescribeMNPSensitiveAPIPermissionApprovalListData extends AbstractModel { constructor(){ super(); /** * Approval ID * @type {string || null} */ this.ApprovalNo = null; /** * Sensitive API ID * @type {string || null} */ this.APIId = null; /** * API name * @type {string || null} */ this.APIName = null; /** * API request method * @type {string || null} */ this.APIMethod = null; /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Mini program name * @type {string || null} */ this.MNPName = null; /** * Applicant * @type {string || null} */ this.ApplyUser = null; /** * Application time * @type {string || null} */ this.ApplyTime = null; /** * Application notes * @type {string || null} */ this.ApplyNote = null; /** * Approval status. 1: Processing; 20: Rejected; 30: Approved * @type {number || null} */ this.ApprovalStatus = null; /** * Approver Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApprovalUser = null; /** * Approval time Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApprovalTime = null; /** * Approval notes Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApprovalNote = null; /** * Application ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApplicationId = null; /** * Application name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApplicationName = null; /** * Application icon Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApplicationLogo = null; /** * API type. 1: System; 2: Custom Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.APIType = null; /** * API feature description Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.APIDesc = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApprovalNo = 'ApprovalNo' in params ? params.ApprovalNo : null; this.APIId = 'APIId' in params ? params.APIId : null; this.APIName = 'APIName' in params ? params.APIName : null; this.APIMethod = 'APIMethod' in params ? params.APIMethod : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.MNPName = 'MNPName' in params ? params.MNPName : null; this.ApplyUser = 'ApplyUser' in params ? params.ApplyUser : null; this.ApplyTime = 'ApplyTime' in params ? params.ApplyTime : null; this.ApplyNote = 'ApplyNote' in params ? params.ApplyNote : null; this.ApprovalStatus = 'ApprovalStatus' in params ? params.ApprovalStatus : null; this.ApprovalUser = 'ApprovalUser' in params ? params.ApprovalUser : null; this.ApprovalTime = 'ApprovalTime' in params ? params.ApprovalTime : null; this.ApprovalNote = 'ApprovalNote' in params ? params.ApprovalNote : null; this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null; this.ApplicationLogo = 'ApplicationLogo' in params ? params.ApplicationLogo : null; this.APIType = 'APIType' in params ? params.APIType : null; this.APIDesc = 'APIDesc' in params ? params.APIDesc : null; } } /** * DeleteMNP response structure. * @class */ class DeleteMNPResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * List of all developer versions of a mini program * @class */ class DescribeMPAllStageVersionsResp extends AbstractModel { constructor(){ super(); /** * Mini program ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPId = null; /** * Mini program version ID Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.MNPVersionId = null; /** * Mini program name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPName = null; /** * Mini program icon Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPIcon = null; /** * Mini program type Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPType = null; /** * Mini program introduction Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPIntro = null; /** * Mini program description Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPDesc = null; /** * Developer Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.CreateUser = null; /** * The time when the developer created it Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.CreateTime = null; /** * Mini program version Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPVersion = null; /** * Version features Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.MNPVersionIntro = null; /** * Phase. Values: [Develop,Platform,Online] Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.Phase = null; /** * 0: Pending; 1: Processing; 2: Rejected; 3: Approved; 4: Cancelled Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.ApprovalStatus = null; /** * Approval request number Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApprovalNo = null; /** * Whether it is a preview 0: Not a preview; 1: Preview Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.ShowCase = null; /** * Version number to roll back to Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.RollbackVersion = null; /** * Release status Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.Status = null; /** * Version approval status. 0: Pending; 1: Processing; 2: Rejected; 3: Approved; 4: Cancelled Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.VersionCurrentStatus = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.MNPId = 'MNPId' in params ? params.MNPId : null; this.MNPVersionId = 'MNPVersionId' in params ? params.MNPVersionId : null; this.MNPName = 'MNPName' in params ? params.MNPName : null; this.MNPIcon = 'MNPIcon' in params ? params.MNPIcon : null; this.MNPType = 'MNPType' in params ? params.MNPType : null; this.MNPIntro = 'MNPIntro' in params ? params.MNPIntro : null; this.MNPDesc = 'MNPDesc' in params ? params.MNPDesc : null; this.CreateUser = 'CreateUser' in params ? params.CreateUser : null; this.CreateTime = 'CreateTime' in params ? params.CreateTime : null; this.MNPVersion = 'MNPVersion' in params ? params.MNPVersion : null; this.MNPVersionIntro = 'MNPVersionIntro' in params ? params.MNPVersionIntro : null; this.Phase = 'Phase' in params ? params.Phase : null; this.ApprovalStatus = 'ApprovalStatus' in params ? params.ApprovalStatus : null; this.ApprovalNo = 'ApprovalNo' in params ? params.ApprovalNo : null; this.ShowCase = 'ShowCase' in params ? params.ShowCase : null; this.RollbackVersion = 'RollbackVersion' in params ? params.RollbackVersion : null; this.Status = 'Status' in params ? params.Status : null; this.VersionCurrentStatus = 'VersionCurrentStatus' in params ? params.VersionCurrentStatus : null; } } /** * DescribeMNPSensitiveAPIPermissionList request structure. * @class */ class DescribeMNPSensitiveAPIPermissionListRequest extends AbstractModel { constructor(){ super(); /** * Page offset * @type {number || null} */ this.Offset = null; /** * Number of results per page * @type {number || null} */ this.Limit = null; /** * Mini program ID * @type {string || null} */ this.MNPId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Application ID * @type {string || null} */ this.ApplicationId = null; /** * Keywords for search (API name) * @type {string || null} */ this.Keyword = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Offset = 'Offset' in params ? params.Offset : null; this.Limit = 'Limit' in params ? params.Limit : null; this.MNPId = 'MNPId' in params ? params.MNPId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.Keyword = 'Keyword' in params ? params.Keyword : null; } } /** * DescribeApplicationList request structure. * @class */ class DescribeApplicationListRequest extends AbstractModel { constructor(){ super(); /** * Page offset * @type {number || null} */ this.Offset = null; /** * Number of results per page * @type {number || null} */ this.Limit = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Keywords for search (app name) * @type {string || null} */ this.Keyword = null; /** * Team ID * @type {string || null} */ this.TeamId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Offset = 'Offset' in params ? params.Offset : null; this.Limit = 'Limit' in params ? params.Limit : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.Keyword = 'Keyword' in params ? params.Keyword : null; this.TeamId = 'TeamId' in params ? params.TeamId : null; } } /** * DeleteTeam request structure. * @class */ class DeleteTeamRequest extends AbstractModel { constructor(){ super(); /** * Team ID * @type {string || null} */ this.TeamId = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.TeamId = 'TeamId' in params ? params.TeamId : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; } } /** * DescribeRoleList request structure. * @class */ class DescribeRoleListRequest extends AbstractModel { constructor(){ super(); /** * Page offset * @type {number || null} */ this.Offset = null; /** * Number of results per page * @type {number || null} */ this.Limit = null; /** * Platform ID * @type {string || null} */ this.PlatformId = null; /** * Keywords for search (role name) * @type {string || null} */ this.Keyword = null; /** * Team ID * @type {string || null} */ this.TeamId = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.Offset = 'Offset' in params ? params.Offset : null; this.Limit = 'Limit' in params ? params.Limit : null; this.PlatformId = 'PlatformId' in params ? params.PlatformId : null; this.Keyword = 'Keyword' in params ? params.Keyword : null; this.TeamId = 'TeamId' in params ? params.TeamId : null; } } /** * ModifyTeamMember response structure. * @class */ class ModifyTeamMemberResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * DeleteApplication response structure. * @class */ class DeleteApplicationResponse extends AbstractModel { constructor(){ super(); /** * Response data Note: This field may return null, indicating that no valid values can be obtained. * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * ProcessMNPSensitiveAPIPermissionApproval response structure. * @class */ class ProcessMNPSensitiveAPIPermissionApprovalResponse extends AbstractModel { constructor(){ super(); /** * Response data * @type {BooleanInfo || null} */ this.Data = null; /** * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. * @type {string || null} */ this.RequestId = null; } /** * @private */ deserialize(params) { if (!params) { return; } if (params.Data) { let obj = new BooleanInfo(); obj.deserialize(params.Data) this.Data = obj; } this.RequestId = 'RequestId' in params ? params.RequestId : null; } } /** * Application details * @class */ class DescribeApplicationResp extends AbstractModel { constructor(){ super(); /** * Application ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApplicationId = null; /** * Product ID Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.AppIdentityId = null; /** * Application name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.ApplicationName = null; /** * Application icon Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.Logo = null; /** * Remarks Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.Remark = null; /** * Android package name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.AndroidAppKey = null; /** * iOS bundleId Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.IosAppKey = null; /** * Creator Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.CreateUser = null; /** * Creation time Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.CreateTime = null; /** * Updater Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.UpdateUser = null; /** * Update time Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.UpdateTime = null; /** * Application description Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.Intro = null; /** * Team ID Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TeamId = null; /** * Team name Note: This field may return null, indicating that no valid values can be obtained. * @type {string || null} */ this.TeamName = null; /** * Number of sensitive APIs Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.SensitiveApiCount = null; /** * Application type. 1: Test; 2: Formal Note: This field may return null, indicating that no valid values can be obtained. * @type {number || null} */ this.ApplicationType = null; } /** * @private */ deserialize(params) { if (!params) { return; } this.ApplicationId = 'ApplicationId' in params ? params.ApplicationId : null; this.AppIdentityId = 'AppIdentityId' in params ? params.AppIdentityId : null; this.ApplicationName = 'ApplicationName' in params ? params.ApplicationName : null; this.Logo = 'Logo' in params ? params.Logo : null; this.Remark = 'Remark' in params ? params.Remark : null; this.AndroidAppKey = 'AndroidAppKey' in params ? params.AndroidAppKey : null; this.IosAppKey = 'IosAppKey' in params ? params.IosAppKey : null; this.CreateUser = 'CreateUser' in params ? params.CreateUser : null; this.CreateTime = 'CreateTime' in params ? params.CreateTime : null; this.UpdateUser = 'UpdateUser' in params ? params.UpdateUser : null; this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null; this.Intro = 'Intro' in params ? params.Intro : null; this.TeamId = 'TeamId' in params ? params.TeamId : null; this.TeamName = 'TeamName' in params ? params.TeamName : null; this.SensitiveApiCount = 'SensitiveApiCount' in params ? params.SensitiveApiCount : null; this.ApplicationType = 'ApplicationType' in params ? params.ApplicationType : null; } } /** * ModifyGlobalDomain response structure. * @class */ class ModifyGlobalDom