PHP WebShell
Текущая директория: /usr/lib/node_modules/bitgo/node_modules/@bitgo/sdk-coin-hbar/node_modules/@hashgraph/sdk/lib/file
Просмотр файла: FileInfo.d.ts
/**
* Response when the client sends the node CryptoGetInfoQuery.
*/
export default class FileInfo {
/**
* @internal
* @param {HashgraphProto.proto.FileGetInfoResponse.IFileInfo} info
* @returns {FileInfo}
*/
static _fromProtobuf(info: HashgraphProto.proto.FileGetInfoResponse.IFileInfo): FileInfo;
/**
* @param {Uint8Array} bytes
* @returns {FileInfo}
*/
static fromBytes(bytes: Uint8Array): FileInfo;
/**
* @private
* @param {object} props
* @param {FileId} props.fileId
* @param {Long} props.size
* @param {Timestamp} props.expirationTime
* @param {boolean} props.isDeleted
* @param {KeyList} props.keys
* @param {string} props.fileMemo
* @param {LedgerId|null} props.ledgerId
*/
private constructor();
/**
* The ID of the file for which information is requested.
*
* @readonly
*/
readonly fileId: FileId;
/**
* Number of bytes in contents.
*
* @readonly
*/
readonly size: Long.Long;
/**
* The current time at which this account is set to expire.
*
* @readonly
*/
readonly expirationTime: Timestamp;
/**
* True if deleted but not yet expired.
*
* @readonly
*/
readonly isDeleted: boolean;
/**
* One of these keys must sign in order to delete the file.
* All of these keys must sign in order to update the file.
*
* @readonly
*/
readonly keys: KeyList;
fileMemo: string;
ledgerId: LedgerId | null;
/**
* @internal
* @returns {HashgraphProto.proto.FileGetInfoResponse.IFileInfo}
*/
_toProtobuf(): HashgraphProto.proto.FileGetInfoResponse.IFileInfo;
/**
* @returns {Uint8Array}
*/
toBytes(): Uint8Array;
}
import FileId from "./FileId.js";
import Long from "long";
import Timestamp from "../Timestamp.js";
import KeyList from "../KeyList.js";
import LedgerId from "../LedgerId.js";
import * as HashgraphProto from "@hashgraph/proto";
declare const proto: typeof HashgraphProto.proto;
export {};
Выполнить команду
Для локальной разработки. Не используйте в интернете!