Last updated

Class: SDKProject

Represents a project instance within the SDK.

Implements

IProject

Implements

Table of contents

Constructors

Properties

Accessors

Constructors

constructor

new SDKProject(project)

Creates an instance of SDKProject.

Parameters

NameTypeDescription
projectanyThe project properties.

Properties

creator

creator: string

The project creator.

Implementation of

IProject.creator


id

id: string

The project ID.

Implementation of

IProject.id


name

name: string

The project name.

Implementation of

IProject.name


createdAt

createdAt: IDate

The creation date.

Implementation of

IProject.createdAt


updatedAt

updatedAt: IDate

The last update date.

Implementation of

IProject.updatedAt


contributors

Optional contributors: IUser[]

The project contributors.

Implementation of

IProject.contributors


groups

Optional groups: IGroup[]

The project groups.

Implementation of

IProject.groups


datasetsCount

Optional datasetsCount: number

The amount of datasets associated with the project.

Implementation of

IProject.datasetsCount


role

Optional role: string

The role of the project.

Implementation of

IProject.role


org

Optional org: IOrg

The organization associated with the project.

Implementation of

IProject.org


account

Optional account: IAccount

The account associated with the project.

Implementation of

IProject.account


isBlocked

isBlocked: boolean

Indicates if the project is blocked.

Implementation of

IProject.isBlocked

Accessors

accountId

get accountId(): string

Gets the account ID associated with the project.

Returns

string

Implementation of

IProject.accountId


orgId

get orgId(): string

Gets the organization ID associated with the project.

Returns

string

Implementation of

IProject.orgId