Search
Preparing search index...
The search index is not available
@threefold/grid_client
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
@threefold/grid_client
ZOSModel
Class ZOSModel
Hierarchy
Deployment
ZOSModel
Index
Constructors
constructor
Properties
contract_
id
description
expiration
metadata
node_
id
signature_
requirement
twin_
id
version
workloads
Methods
challenge
challenge_
hash
from_
hex
sign
to_
hex
Constructors
constructor
new ZOSModel
(
)
:
ZOSModel
Returns
ZOSModel
Properties
contract_
id
contract_
id
:
number
description
description
:
any
expiration
expiration
:
number
metadata
metadata
:
any
node_
id
node_
id
:
number
signature_
requirement
signature_
requirement
:
SignatureRequirement
twin_
id
twin_
id
:
number
version
version
:
number
workloads
workloads
:
Workload
[]
Methods
challenge
challenge
(
)
:
string
Returns
string
challenge_
hash
challenge_
hash
(
)
:
string
Returns
string
from_
hex
from_
hex
(
s
:
string
)
:
Uint8Array
Parameters
s:
string
Returns
Uint8Array
sign
sign
(
twin_id
:
number
, mnemonic
:
string
, keypairType
:
KeypairType
, hash
?:
string
)
:
Promise
<
void
>
Parameters
twin_id:
number
mnemonic:
string
keypairType:
KeypairType
hash:
string
= ""
Returns
Promise
<
void
>
to_
hex
to_
hex
(
bs
:
any
)
:
string
Parameters
bs:
any
Returns
string
Exports
ZOSModel
constructor
contract_
id
description
expiration
metadata
node_
id
signature_
requirement
twin_
id
version
workloads
challenge
challenge_
hash
from_
hex
sign
to_
hex
Generated using
TypeDoc