package model

import (
	"github.com/huaweicloud/huaweicloud-sdk-go-v3/core/utils"

	"strings"
)

// ListStatisticsOfRunningInstancesResponse Response Object
type ListStatisticsOfRunningInstancesResponse struct {

	// 该租户下处于“运行中”状态的实例的统计信息。
	Statistics     *[]InstanceStatistic `json:"statistics,omitempty"`
	HttpStatusCode int                  `json:"-"`
}

func (o ListStatisticsOfRunningInstancesResponse) String() string {
	data, err := utils.Marshal(o)
	if err != nil {
		return "ListStatisticsOfRunningInstancesResponse struct{}"
	}

	return strings.Join([]string{"ListStatisticsOfRunningInstancesResponse", string(data)}, " ")
}
