Class: AssetBuilder
Nautilus.AssetBuilder
Implements
Constructors
constructor
• new AssetBuilder()
Properties
asset
• Private
asset: NautilusAsset
Defined in
src/Nautilus/Asset/AssetBuilder.ts:16
Methods
addAdditionalInformation
▸ addAdditionalInformation(additionalInformation
): AssetBuilder
Parameters
Name | Type |
---|---|
additionalInformation | Object |
Returns
Implementation of
IAssetBuilder.addAdditionalInformation
Defined in
src/Nautilus/Asset/AssetBuilder.ts:98
addCategories
▸ addCategories(categories
): AssetBuilder
Parameters
Name | Type |
---|---|
categories | string [] |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:139
addCredentialAddresses
▸ addCredentialAddresses(list
, addresses
): AssetBuilder
Parameters
Name | Type |
---|---|
list | CredentialListTypes |
addresses | string [] |
Returns
Implementation of
IAssetBuilder.addCredentialAddresses
Defined in
src/Nautilus/Asset/AssetBuilder.ts:148
addLinks
▸ addLinks(links
): AssetBuilder
Parameters
Name | Type |
---|---|
links | string [] |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:122
addService
▸ addService(service
): AssetBuilder
Parameters
Name | Type |
---|---|
service | NautilusService <ServiceTypes , FileTypes > |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:64
addTags
▸ addTags(tags
): AssetBuilder
Parameters
Name | Type |
---|---|
tags | string [] |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:113
build
▸ build(): NautilusAsset
Returns
NautilusAsset
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:173
reset
▸ reset(): void
Returns
void
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:18
setAlgorithm
▸ setAlgorithm(algorithm
): AssetBuilder
Parameters
Name | Type |
---|---|
algorithm | MetadataAlgorithm & { consumerParameters? : NautilusConsumerParameter [] } |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:52
setAuthor
▸ setAuthor(author
): AssetBuilder
Parameters
Name | Type |
---|---|
author | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:46
setContentLanguage
▸ setContentLanguage(language
): AssetBuilder
Parameters
Name | Type |
---|---|
language | string |
Returns
Implementation of
IAssetBuilder.setContentLanguage
Defined in
src/Nautilus/Asset/AssetBuilder.ts:133
setCopyrightHolder
▸ setCopyrightHolder(copyrightHolder
): AssetBuilder
Parameters
Name | Type |
---|---|
copyrightHolder | string |
Returns
Implementation of
IAssetBuilder.setCopyrightHolder
Defined in
src/Nautilus/Asset/AssetBuilder.ts:107
setDatatokenData
▸ setDatatokenData(tokenData
): AssetBuilder
Parameters
Name | Type |
---|---|
tokenData | DatatokenCreateParamsWithoutOwner |
Returns
Implementation of
IAssetBuilder.setDatatokenData
Defined in
src/Nautilus/Asset/AssetBuilder.ts:76
setDatatokenNameAndSymbol
▸ setDatatokenNameAndSymbol(dtName
, dtSymbol
): AssetBuilder
Parameters
Name | Type |
---|---|
dtName | string |
dtSymbol | string |
Returns
Implementation of
IAssetBuilder.setDatatokenNameAndSymbol
Defined in
src/Nautilus/Asset/AssetBuilder.ts:82
setDescription
▸ setDescription(description
): AssetBuilder
Parameters
Name | Type |
---|---|
description | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:34
setLicense
▸ setLicense(license
): AssetBuilder
Parameters
Name | Type |
---|---|
license | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:40
setName
▸ setName(name
): AssetBuilder
Parameters
Name | Type |
---|---|
name | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:28
setNftData
▸ setNftData(tokenData
): AssetBuilder
Parameters
Name | Type |
---|---|
tokenData | NftCreateDataWithoutOwner |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:70
setOwner
▸ setOwner(owner
): AssetBuilder
Parameters
Name | Type |
---|---|
owner | string |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:92
setPricing
▸ setPricing(pricing
): AssetBuilder
Parameters
Name | Type |
---|---|
pricing | PricingConfigWithoutOwner |
Returns
Implementation of
Defined in
src/Nautilus/Asset/AssetBuilder.ts:58
setType
▸ setType(type
): AssetBuilder
Parameters
Name | Type |
---|---|
type | "dataset" | "algorithm" |