This commit is contained in:
mr
2025-01-13 12:42:56 +01:00
parent 301ef8dc05
commit 11905339bb
2 changed files with 3 additions and 2 deletions

View File

@@ -56,7 +56,8 @@ func (abs *AbsResource) SetResourceModel(model *resource_model.ResourceModel) {
type AbstractResource[T ResourceInstanceITF] struct {
AbsResource
Instances []T `json:"instances,omitempty" bson:"instances,omitempty"` // Bill is the bill of the resource // Bill is the bill of the resource
SelectedInstanceIndex int `json:"selected_instance_index,omitempty" bson:"selected_instance_index,omitempty"` // SelectedInstance is the selected instance
Instances []T `json:"instances,omitempty" bson:"instances,omitempty"` // Bill is the bill of the resource // Bill is the bill of the resource
}
func (abs *AbstractResource[T]) ConvertToPricedResource(