func (p GetFlattenedDocumentParams) WithDepth(depth int64) *GetFlattenedDocumentParams {
	p.Depth = depth
	return &p
}
func (p GetFlattenedDocumentParams) WithDepth(depth int64) *GetFlattenedDocumentParams {
	p.Depth = depth
	return &p
}
func ( p GetFlattenedDocumentParams ) WithDepth ( depth int64 ) * GetFlattenedDocumentParams { p . Depth = depth return & p }
// WithDepth the maximum depth at which children should be retrieved,
// defaults to 1. Use -1 for the entire subtree or provide an integer larger
// than 0.
WithDepth the maximum depth at which children should be retrieved defaults to 1 . Use - 1 for the entire subtree or provide an integer larger than 0 .