@hashgraph/solo
Version:
An opinionated CLI tool to deploy and manage private Hedera Networks.
22 lines (21 loc) • 775 B
TypeScript
/**
* SPDX-License-Identifier: Apache-2.0
*/
import { type ResourceRef } from './resource_ref.js';
import { type ResourceName } from './resource_name.js';
export declare abstract class NestedResourceRef<P extends ResourceRef<any>, T extends ResourceName> {
readonly parentRef: P;
readonly name: T;
protected constructor(parentRef: P, name: T);
/**
* Compares this instance with another NestedResourceRef.
* @param other The other NestedResourceRef instance.
* @returns true if both instances have the same parent reference and name.
*/
equals(other: NestedResourceRef<P, T>): boolean;
/**
* Allows implicit conversion to a string.
* @returns The nested resource reference as a string.
*/
toString(): string;
}