withParent

open fun withParent(parent: DataPath): DataPath

Return a copy of this data path with the specified parent as the {@link com.sap.cloud.mobile.kotlin.odata.DataPath#parentPath DataPath.parentPath} of the prior {@link com.sap.cloud.mobile.kotlin.odata.DataPath#rootPath DataPath.rootPath}.

Return

A copy of this data path with the specified parent as the {@link com.sap.cloud.mobile.kotlin.odata.DataPath#parentPath DataPath.parentPath} of the prior {@link com.sap.cloud.mobile.kotlin.odata.DataPath#rootPath DataPath.rootPath}.

Parameters

parent

Parent for the copied path.