// This file is auto-generated, don't edit it import * as $dara from '@darabonba/typescript'; export class GetApplicationProvisionInfoResponseBodyApplicationProvisionInfoDelegatedScopePredefinedScopesPredefinedScope extends $dara.Model { description?: string; name?: string; static names(): { [key: string]: string } { return { description: 'Description', name: 'Name', }; } static types(): { [key: string]: any } { return { description: 'string', name: 'string', }; } validate() { super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class GetApplicationProvisionInfoResponseBodyApplicationProvisionInfoDelegatedScopePredefinedScopes extends $dara.Model { predefinedScope?: GetApplicationProvisionInfoResponseBodyApplicationProvisionInfoDelegatedScopePredefinedScopesPredefinedScope[]; static names(): { [key: string]: string } { return { predefinedScope: 'PredefinedScope', }; } static types(): { [key: string]: any } { return { predefinedScope: { 'type': 'array', 'itemType': GetApplicationProvisionInfoResponseBodyApplicationProvisionInfoDelegatedScopePredefinedScopesPredefinedScope }, }; } validate() { if(Array.isArray(this.predefinedScope)) { $dara.Model.validateArray(this.predefinedScope); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class GetApplicationProvisionInfoResponseBodyApplicationProvisionInfoDelegatedScope extends $dara.Model { predefinedScopes?: GetApplicationProvisionInfoResponseBodyApplicationProvisionInfoDelegatedScopePredefinedScopes; static names(): { [key: string]: string } { return { predefinedScopes: 'PredefinedScopes', }; } static types(): { [key: string]: any } { return { predefinedScopes: GetApplicationProvisionInfoResponseBodyApplicationProvisionInfoDelegatedScopePredefinedScopes, }; } validate() { if(this.predefinedScopes && typeof (this.predefinedScopes as any).validate === 'function') { (this.predefinedScopes as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class GetApplicationProvisionInfoResponseBodyApplicationProvisionInfo extends $dara.Model { /** * @remarks * The ID of the Alibaba Cloud account. * * @example * 177242285274**** */ accountId?: string; /** * @remarks * The ID of the application. * * @example * 452392483381546**** */ appId?: string; /** * @remarks * The name of the application. * * @example * GiteePrd */ appName?: string; /** * @remarks * The time when the application was installed. The value is a timestamp. * * @example * 1603693518000 */ createDate?: string; /** * @remarks * The information about the scopes of permissions that are granted to the application. */ delegatedScope?: GetApplicationProvisionInfoResponseBodyApplicationProvisionInfoDelegatedScope; /** * @remarks * The display name of the application. * * @example * GiteeAliyun */ displayName?: string; /** * @remarks * The update time. The value is a timestamp. * * @example * 1603693518000 */ updateDate?: string; static names(): { [key: string]: string } { return { accountId: 'AccountId', appId: 'AppId', appName: 'AppName', createDate: 'CreateDate', delegatedScope: 'DelegatedScope', displayName: 'DisplayName', updateDate: 'UpdateDate', }; } static types(): { [key: string]: any } { return { accountId: 'string', appId: 'string', appName: 'string', createDate: 'string', delegatedScope: GetApplicationProvisionInfoResponseBodyApplicationProvisionInfoDelegatedScope, displayName: 'string', updateDate: 'string', }; } validate() { if(this.delegatedScope && typeof (this.delegatedScope as any).validate === 'function') { (this.delegatedScope as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } } export class GetApplicationProvisionInfoResponseBody extends $dara.Model { /** * @remarks * The installation information about the application. */ applicationProvisionInfo?: GetApplicationProvisionInfoResponseBodyApplicationProvisionInfo; /** * @remarks * The request ID. * * @example * 936E1D9C-157D-45BD-8A3B-81C0716EB078 */ requestId?: string; static names(): { [key: string]: string } { return { applicationProvisionInfo: 'ApplicationProvisionInfo', requestId: 'RequestId', }; } static types(): { [key: string]: any } { return { applicationProvisionInfo: GetApplicationProvisionInfoResponseBodyApplicationProvisionInfo, requestId: 'string', }; } validate() { if(this.applicationProvisionInfo && typeof (this.applicationProvisionInfo as any).validate === 'function') { (this.applicationProvisionInfo as any).validate(); } super.validate(); } constructor(map?: { [key: string]: any }) { super(map); } }