/** * 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. */ /** * Mosaic address restriction transaction body that sets a restriction value for a target address and key. * @export * @interface MosaicAddressRestrictionTransactionBodyDTO */ export interface MosaicAddressRestrictionTransactionBodyDTO { /** * Unresolved mosaic identifier. * If the most significant bit of byte 0 is set, the value contains a namespace ID alias * instead of a concrete mosaic ID. * * @type {string} * @memberof MosaicAddressRestrictionTransactionBodyDTO */ mosaicId: string; /** * Restriction key represented as a 64-bit hexadecimal value. * @type {string} * @memberof MosaicAddressRestrictionTransactionBodyDTO */ restrictionKey: string; /** * Unsigned 64-bit value associated with a mosaic restriction key, represented as a decimal string. * For address restrictions, it is the value assigned to the target address; * for global restrictions, it is the threshold evaluated with the restriction type. * * @type {string} * @memberof MosaicAddressRestrictionTransactionBodyDTO */ previousRestrictionValue: string; /** * Unsigned 64-bit value associated with a mosaic restriction key, represented as a decimal string. * For address restrictions, it is the value assigned to the target address; * for global restrictions, it is the threshold evaluated with the restriction type. * * @type {string} * @memberof MosaicAddressRestrictionTransactionBodyDTO */ newRestrictionValue: string; /** * Unresolved address encoded as a 48-character hexadecimal string (24 bytes). * If bit 0 of byte 0 is not set, the value represents a regular address. * Otherwise, it represents a namespace ID alias encoded as an unresolved address. * * @type {string} * @memberof MosaicAddressRestrictionTransactionBodyDTO */ targetAddress: string; } /** * Check if a given object implements the MosaicAddressRestrictionTransactionBodyDTO interface. */ export declare function instanceOfMosaicAddressRestrictionTransactionBodyDTO(value: Record): value is MosaicAddressRestrictionTransactionBodyDTO; export declare function MosaicAddressRestrictionTransactionBodyDTOFromJSON(json: any): MosaicAddressRestrictionTransactionBodyDTO; export declare function MosaicAddressRestrictionTransactionBodyDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): MosaicAddressRestrictionTransactionBodyDTO; export declare function MosaicAddressRestrictionTransactionBodyDTOToJSON(json: any): MosaicAddressRestrictionTransactionBodyDTO; export declare function MosaicAddressRestrictionTransactionBodyDTOToJSONTyped(value?: MosaicAddressRestrictionTransactionBodyDTO | null, ignoreDiscriminator?: boolean): any;