gitlab.com/evatix-go/core@v1.3.55/coredata/corestr/CollectionPtrDataModel.go (about)

     1  package corestr
     2  
     3  type CollectionPtrDataModel struct {
     4  	Items []*string `json:"PointerStringsCollection"`
     5  }
     6  
     7  func NewCollectionPtrDataModelUsingDataModel(dataModel *CollectionPtrDataModel) *CollectionPtr {
     8  	return &CollectionPtr{
     9  		items: dataModel.Items,
    10  	}
    11  }
    12  
    13  func NewCollectionPtrDataModelUsing(collection *CollectionPtr) *CollectionPtrDataModel {
    14  	return &CollectionPtrDataModel{
    15  		Items: collection.items,
    16  	}
    17  }