Skip to content

@sourceloop/ctrl-plane-tenant-management-service / Exports / Resource

Class: Resource<T>

Type parameters

Name Type
T extends ResourceData["metadata"] = ResourceData["metadata"]

Hierarchy

  • UserModifiableEntity

    Resource

Implements

Table of contents

Constructors

Properties

Constructors

constructor

new Resource<T>(data?)

Type parameters

Name Type
T extends Object = { bucket: string ; path: string }

Parameters

Name Type
data? Partial<Resource<T>>

Overrides

UserModifiableEntity.constructor

Defined in

services/tenant-management-service/src/models/resource.model.ts:58

Properties

externalIdentifier

externalIdentifier: string

Implementation of

ResourceData.externalIdentifier

Defined in

services/tenant-management-service/src/models/resource.model.ts:30


id

id: string

Defined in

services/tenant-management-service/src/models/resource.model.ts:21


metadata

metadata: T

Implementation of

ResourceData.metadata

Defined in

services/tenant-management-service/src/models/resource.model.ts:46


tenantId

tenantId: string

Defined in

services/tenant-management-service/src/models/resource.model.ts:56


type

type: BUCKET

Implementation of

ResourceData.type

Defined in

services/tenant-management-service/src/models/resource.model.ts:38