/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.5 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { LinkActionEnum } from './LinkActionEnum'; /** * Voting key link transaction body that links or unlinks a voting key for a finalization epoch range. * @export * @interface VotingKeyLinkTransactionBodyDTO */ export interface VotingKeyLinkTransactionBodyDTO { /** * 32-byte voting public key used for finalization voting. * @type {string} * @memberof VotingKeyLinkTransactionBodyDTO */ linkedPublicKey: string; /** * [Finalization epoch](https://docs.symbol.dev/concepts/block.html#finalization) is a sequential * integer. Each epoch groups a set of blocks for finalization voting; the interval is defined * by the `votingSetGrouping` network property (e.g. 1440 blocks, ~12h on mainnet). * * @type {number} * @memberof VotingKeyLinkTransactionBodyDTO */ startEpoch: number; /** * [Finalization epoch](https://docs.symbol.dev/concepts/block.html#finalization) is a sequential * integer. Each epoch groups a set of blocks for finalization voting; the interval is defined * by the `votingSetGrouping` network property (e.g. 1440 blocks, ~12h on mainnet). * * @type {number} * @memberof VotingKeyLinkTransactionBodyDTO */ endEpoch: number; /** * * @type {LinkActionEnum} * @memberof VotingKeyLinkTransactionBodyDTO */ linkAction: LinkActionEnum; } /** * Check if a given object implements the VotingKeyLinkTransactionBodyDTO interface. */ export declare function instanceOfVotingKeyLinkTransactionBodyDTO(value: Record): value is VotingKeyLinkTransactionBodyDTO; export declare function VotingKeyLinkTransactionBodyDTOFromJSON(json: any): VotingKeyLinkTransactionBodyDTO; export declare function VotingKeyLinkTransactionBodyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): VotingKeyLinkTransactionBodyDTO; export declare function VotingKeyLinkTransactionBodyDTOToJSON(json: any): VotingKeyLinkTransactionBodyDTO; export declare function VotingKeyLinkTransactionBodyDTOToJSONTyped(value?: VotingKeyLinkTransactionBodyDTO | null, ignoreDiscriminator?: boolean): any;