package model

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

	"strings"
)

// AttachInternalIpRequest Request Object
type AttachInternalIpRequest struct {

	// 实例ID，可以调用“查询实例列表和详情”接口获取。如果未申请实例，可以调用“创建实例”接口创建。
	InstanceId string `json:"instance_id"`

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

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

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