Interface: IAssetBuilder
@types.IAssetBuilder
Hierarchy
IBuilder
<NautilusAsset
>↳
IAssetBuilder
Implemented by
Properties
addAdditionalInformation
• addAdditionalInformation: (additionalInformation
: { [key: string]
: any
; }) => IAssetBuilder
Type declaration
▸ (additionalInformation
): IAssetBuilder
Parameters
Name | Type |
---|---|
additionalInformation | Object |
Returns
Defined in
addCategories
• addCategories: (categories
: string
[]) => IAssetBuilder
Type declaration
▸ (categories
): IAssetBuilder
Parameters
Name | Type |
---|---|
categories | string [] |
Returns
Defined in
addCredentialAddresses
• addCredentialAddresses: (list
: CredentialListTypes
, addresses
: string
[]) => IAssetBuilder
Type declaration
▸ (list
, addresses
): IAssetBuilder
Parameters
Name | Type |
---|---|
list | CredentialListTypes |
addresses | string [] |
Returns
Defined in
addLinks
• addLinks: (links
: string
[]) => IAssetBuilder
Type declaration
▸ (links
): IAssetBuilder
Parameters
Name | Type |
---|---|
links | string [] |
Returns
Defined in
addService
• addService: (service
: NautilusService
<ServiceTypes
, FileTypes
>) => IAssetBuilder
Type declaration
▸ (service
): IAssetBuilder
Parameters
Name | Type |
---|---|
service | NautilusService <ServiceTypes , FileTypes > |
Returns
Defined in
addTags
• addTags: (tags
: string
[]) => IAssetBuilder
Type declaration
▸ (tags
): IAssetBuilder
Parameters
Name | Type |
---|---|
tags | string [] |
Returns
Defined in
build
• build: () => NautilusAsset
Type declaration
▸ (): NautilusAsset
Returns
NautilusAsset
Inherited from
Defined in
reset
• reset: () => void
Type declaration
▸ (): void
Returns
void
Inherited from
Defined in
setAlgorithm
• setAlgorithm: (algorithm
: MetadataAlgorithm
) => IAssetBuilder
Type declaration
▸ (algorithm
): IAssetBuilder
Parameters
Name | Type |
---|---|
algorithm | MetadataAlgorithm |
Returns
Defined in
setAuthor
• setAuthor: (author
: string
) => IAssetBuilder
Type declaration
▸ (author
): IAssetBuilder
Parameters
Name | Type |
---|---|
author | string |
Returns
Defined in
setContentLanguage
• setContentLanguage: (language
: string
) => IAssetBuilder
Type declaration
▸ (language
): IAssetBuilder
Parameters
Name | Type |
---|---|
language | string |
Returns
Defined in
setCopyrightHolder
• setCopyrightHolder: (copyrightHolder
: string
) => IAssetBuilder
Type declaration
▸ (copyrightHolder
): IAssetBuilder
Parameters
Name | Type |
---|---|
copyrightHolder | string |
Returns
Defined in
setDescription
• setDescription: (description
: string
) => IAssetBuilder
Type declaration
▸ (description
): IAssetBuilder
Parameters
Name | Type |
---|---|
description | string |
Returns
Defined in
setLicense
• setLicense: (license
: string
) => IAssetBuilder
Type declaration
▸ (license
): IAssetBuilder
Parameters
Name | Type |
---|---|
license | string |
Returns
Defined in
setName
• setName: (name
: string
) => IAssetBuilder
Type declaration
▸ (name
): IAssetBuilder
Parameters
Name | Type |
---|---|
name | string |
Returns
Defined in
setNftData
• setNftData: (nftCreateData
: NftCreateDataWithoutOwner
) => IAssetBuilder
Type declaration
▸ (nftCreateData
): IAssetBuilder
Parameters
Name | Type |
---|---|
nftCreateData | NftCreateDataWithoutOwner |
Returns
Defined in
setOwner
• setOwner: (owner
: string
) => IAssetBuilder
Type declaration
▸ (owner
): IAssetBuilder
Parameters
Name | Type |
---|---|
owner | string |
Returns
Defined in
setType
• setType: (type
: "algorithm"
| "dataset"
) => IAssetBuilder
Type declaration
▸ (type
): IAssetBuilder
Parameters
Name | Type |
---|---|
type | "algorithm" | "dataset" |