Class UpdateFileParams
Input parameters describing how to update a network file.
Inherited Members
Namespace: Hashgraph
Assembly: Hashgraph.dll
Syntax
public sealed class UpdateFileParams
Properties
| Improve this Doc View SourceContents
Replace the contents of the file with these new contents. Set to
null to leave the existing content unchanged.
Declaration
public ReadOnlyMemory<byte>? Contents { get; set; }
Property Value
| Type | Description |
|---|---|
| Nullable<ReadOnlyMemory<Byte>> |
Endorsements
A descriptor of the keys required to sign transactions editing and otherwise manipulating the contents of this file. Set to
null to leave unchanged.
Declaration
public Endorsement[] Endorsements { get; set; }
Property Value
| Type | Description |
|---|---|
| Endorsement[] |
File
The address of the network file to update.
Declaration
public Address File { get; set; }
Property Value
| Type | Description |
|---|---|
| Address |
Memo
If not null, a new description of the file.
Declaration
public string Memo { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Signatory
Additional private key, keys or signing callback method required to replace the contents of this file. Typically matchs all the Endorsements in the Endorsement array associated with this file.
Declaration
public Signatory Signatory { get; set; }
Property Value
| Type | Description |
|---|---|
| Signatory |
Remarks
Keys/callbacks added here will be combined with those already identified in the client object's context when signing this transaction to change the state of this account. They will not be asked to sign transactions to retrieve the record if the "WithRecord" form of the method call is made. The client will rely on the Signatory from the context to sign the transaction requesting the record.