package model

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

	"strings"
)

// RestartClusterRequest Request Object
type RestartClusterRequest struct {

	// 集群ID
	ClusterId string `json:"cluster_id"`

	Body *CdmRestartClusterReq `json:"body,omitempty"`
}

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

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