/*
Package openconfigimportpath is a generated package which contains definitions
of structs which generate gNMI paths for a YANG schema. The generated paths are
based on a compressed form of the schema.

This package was generated by pathgen-tests
using the following YANG input files:
	- ../testdata/modules/openconfig-import.yang
Imported modules were sourced from:
*/
package openconfigimportpath

import (
	"github.com/openconfig/ygot/ygot"
)

// ChildPath represents the /openconfig-import/child YANG schema element.
type ChildPath struct {
	*ygot.NodePath
}

// ChildPathAny represents the wildcard version of the /openconfig-import/child YANG schema element.
type ChildPathAny struct {
	*ygot.NodePath
}

// Child_TestPath represents the /openconfig-import/child/test YANG schema element.
type Child_TestPath struct {
	*ygot.NodePath
}

// Child_TestPathAny represents the wildcard version of the /openconfig-import/child/test YANG schema element.
type Child_TestPathAny struct {
	*ygot.NodePath
}

// Test (leaf): 
// ----------------------------------------
// Defining module: "openconfig-import"
// Instantiating module: "openconfig-import"
// Path from parent: "test"
// Path from root: "/child/test"
func (n *ChildPath) Test() *Child_TestPath {
	return &Child_TestPath{
		NodePath: ygot.NewNodePath(
			[]string{"test"},
			map[string]interface{}{},
			n,
		),
	}
}

// Test (leaf): 
// ----------------------------------------
// Defining module: "openconfig-import"
// Instantiating module: "openconfig-import"
// Path from parent: "test"
// Path from root: "/child/test"
func (n *ChildPathAny) Test() *Child_TestPathAny {
	return &Child_TestPathAny{
		NodePath: ygot.NewNodePath(
			[]string{"test"},
			map[string]interface{}{},
			n,
		),
	}
}
