Class: AssetBuilder
Nautilus.AssetBuilder
Implements
Constructors
constructor
• new AssetBuilder(aquariusAsset?
)
Parameters
Name | Type |
---|---|
aquariusAsset? | Asset |
Defined in
src/Nautilus/Asset/AssetBuilder.ts:20
Properties
asset
• Private
asset: NautilusAsset
Defined in
src/Nautilus/Asset/AssetBuilder.ts:18
Methods
addAdditionalInformation
▸ addAdditionalInformation(additionalInformation
): AssetBuilder
Parameters
Name | Type |
---|---|
additionalInformation | Object |
Returns
Implementation of
IAssetBuilder.addAdditionalInformation
Defined in
src/Nautilus/Asset/AssetBuilder.ts:101
addCategories
▸ addCategories(categories
): AssetBuilder
Parameters
Name | Type |
---|---|
categories | string [] |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:142
addCredentialAddresses
▸ addCredentialAddresses(list
, addresses
): AssetBuilder
Parameters
Name | Type |
---|---|
list | CredentialListTypes |
addresses | string [] |
Returns
Implementation of
IAssetBuilder.addCredentialAddresses
Defined in
src/Nautilus/Asset/AssetBuilder.ts:151
addLinks
▸ addLinks(links
): AssetBuilder
Parameters
Name | Type |
---|---|
links | string [] |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:125
addService
▸ addService(service
): AssetBuilder
Parameters
Name | Type |
---|---|
service | NautilusService <ServiceTypes , FileTypes > |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:71
addTags
▸ addTags(tags
): AssetBuilder
Parameters
Name | Type |
---|---|
tags | string [] |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:116
build
▸ build(): NautilusAsset
Returns
NautilusAsset
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:203
removeCredentialAddresses
▸ removeCredentialAddresses(list
, addresses
): AssetBuilder
Parameters
Name | Type |
---|---|
list | CredentialListTypes |
addresses | string [] |
Returns
Defined in
src/Nautilus/Asset/AssetBuilder.ts:177
removeService
▸ removeService(serviceId
): AssetBuilder
Parameters
Name | Type |
---|---|
serviceId | string |
Returns
Defined in
src/Nautilus/Asset/AssetBuilder.ts:77
reset
▸ reset(): void
Returns
void
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:31
setAlgorithm
▸ setAlgorithm(algorithm
): AssetBuilder
Parameters
Name | Type |
---|---|
algorithm | MetadataAlgorithm & { consumerParameters? : ConsumerParameter [] } |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:65
setAuthor
▸ setAuthor(author
): AssetBuilder
Parameters
Name | Type |
---|---|
author | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:59
setContentLanguage
▸ setContentLanguage(language
): AssetBuilder
Parameters
Name | Type |
---|---|
language | string |
Returns
Implementation of
IAssetBuilder.setContentLanguage
Defined in
src/Nautilus/Asset/AssetBuilder.ts:136
setCopyrightHolder
▸ setCopyrightHolder(copyrightHolder
): AssetBuilder
Parameters
Name | Type |
---|---|
copyrightHolder | string |
Returns
Implementation of
IAssetBuilder.setCopyrightHolder
Defined in
src/Nautilus/Asset/AssetBuilder.ts:110
setDescription
▸ setDescription(description
): AssetBuilder
Parameters
Name | Type |
---|---|
description | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:47
setLicense
▸ setLicense(license
): AssetBuilder
Parameters
Name | Type |
---|---|
license | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:53
setLifecycleState
▸ setLifecycleState(state
): AssetBuilder
Parameters
Name | Type |
---|---|
state | LifecycleStates |
Returns
Defined in
src/Nautilus/Asset/AssetBuilder.ts:89
setName
▸ setName(name
): AssetBuilder
Parameters
Name | Type |
---|---|
name | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:41
setNftData
▸ setNftData(tokenData
): AssetBuilder
Parameters
Name | Type |
---|---|
tokenData | NftCreateDataWithoutOwner |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:83
setOwner
▸ setOwner(owner
): AssetBuilder
Parameters
Name | Type |
---|---|
owner | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:95
setType
▸ setType(type
): AssetBuilder
Parameters
Name | Type |
---|---|
type | "algorithm" | "dataset" |