package model

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

	"strings"
)

// ShrinkInstanceNodesRequest Request Object
type ShrinkInstanceNodesRequest struct {

	// DDM实例ID
	InstanceId string `json:"instance_id"`

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

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

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