func (o *PCSearchResult) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}

	so := sparse.(*SparsePCSearchResult)
	if so.InternalEdges != nil {
		o.InternalEdges = *so.InternalEdges
	}
	if so.Items != nil {
		o.Items = so.Items
	}
	if so.NextPageToken != nil {
		o.NextPageToken = *so.NextPageToken
	}
	if so.Nodes != nil {
		o.Nodes = *so.Nodes
	}
	if so.PublicEdges != nil {
		o.PublicEdges = *so.PublicEdges
	}
	if so.SourceDestinationMap != nil {
		o.SourceDestinationMap = *so.SourceDestinationMap
	}
	if so.TotalRows != nil {
		o.TotalRows = *so.TotalRows
	}
}
// Patch apply the non nil value of a *SparsePCSearchResult to the object.
Patch apply the non nil value of a *SparsePCSearchResult to the object.
// Patch apply the non nil value of a * SparsePCSearchResult to the object .
func (o *PCSearchResult) Patch(sparse elemental.SparseIdentifiable) {
	if !sparse.Identity().IsEqual(o.Identity()) {
		panic("cannot patch from a parse with different identity")
	}
	so := sparse.(*SparsePCSearchResult)
	if so.InternalEdges != nil {
		o.InternalEdges = *so.InternalEdges
	}
	if so.Items != nil {
		o.Items = so.Items
	}
	if so.NextPageToken != nil {
		o.NextPageToken = *so.NextPageToken
	}
	if so.Nodes != nil {
		o.Nodes = *so.Nodes
	}
	if so.PublicEdges != nil {
		o.PublicEdges = *so.PublicEdges
	}
	if so.SourceDestinationMap != nil {
		o.SourceDestinationMap = *so.SourceDestinationMap
	}
	if so.TotalRows != nil {
		o.TotalRows = *so.TotalRows
	}
}
func ( o * PCSearchResult ) Patch ( sparse elemental . SparseIdentifiable ) { if ! sparse . Identity ( ) . IsEqual ( o . Identity ( ) ) { panic ( " " ) } so := sparse . ( * SparsePCSearchResult ) if so . InternalEdges != nil { o . InternalEdges = * so . InternalEdges } if so . Items != nil { o . Items = so . Items } if so . NextPageToken != nil { o . NextPageToken = * so . NextPageToken } if so . Nodes != nil { o . Nodes = * so . Nodes } if so . PublicEdges != nil { o . PublicEdges = * so . PublicEdges } if so . SourceDestinationMap != nil { o . SourceDestinationMap = * so . SourceDestinationMap } if so . TotalRows != nil { o . TotalRows = * so . TotalRows } }
Patch apply the non nil value of a *SparsePCSearchResult to the object.
Patch apply the non nil value of a * SparsePCSearchResult to the object .