/** * Catapult REST Endpoints * OpenAPI Specification of catapult-rest * * The version of the OpenAPI document: 1.0.4 * * * 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 { AliasDTO } from './AliasDTO'; import type { NamespaceRegistrationTypeEnum } from './NamespaceRegistrationTypeEnum'; /** * * @export * @interface NamespaceDTO */ export interface NamespaceDTO { /** * The version of the state * @type {number} * @memberof NamespaceDTO */ version: number; /** * * @type {NamespaceRegistrationTypeEnum} * @memberof NamespaceDTO */ registrationType: NamespaceRegistrationTypeEnum; /** * Level of the namespace. * @type {number} * @memberof NamespaceDTO */ depth: number; /** * Namespace identifier. * @type {string} * @memberof NamespaceDTO */ level0: string; /** * Namespace identifier. * @type {string} * @memberof NamespaceDTO */ level1?: string; /** * Namespace identifier. * @type {string} * @memberof NamespaceDTO */ level2?: string; /** * * @type {AliasDTO} * @memberof NamespaceDTO */ alias: AliasDTO; /** * Namespace identifier. * @type {string} * @memberof NamespaceDTO */ parentId: string; /** * Address encoded using a 32-character set. * @type {string} * @memberof NamespaceDTO */ ownerAddress: string; /** * Height of the blockchain. * @type {string} * @memberof NamespaceDTO */ startHeight: string; /** * Height of the blockchain. * @type {string} * @memberof NamespaceDTO */ endHeight: string; } /** * Check if a given object implements the NamespaceDTO interface. */ export declare function instanceOfNamespaceDTO(value: Record): value is NamespaceDTO; export declare function NamespaceDTOFromJSON(json: any): NamespaceDTO; export declare function NamespaceDTOFromJSONTyped(json: any, ignoreDiscriminator: boolean): NamespaceDTO; export declare function NamespaceDTOToJSON(json: any): NamespaceDTO; export declare function NamespaceDTOToJSONTyped(value?: NamespaceDTO | null, ignoreDiscriminator?: boolean): any;