package model

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

	"strings"
)

// ChangeBaremetalNameBody 修改裸金属服务器名称接口请求结构体
type ChangeBaremetalNameBody struct {
	Server *ChangeBaremetalNameServer `json:"server"`
}

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

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