package model

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

	"strings"
)

// UpdateReadAndWriteStrategyResponse Response Object
type UpdateReadAndWriteStrategyResponse struct {

	// 操作是否成功。
	Success *bool `json:"success,omitempty"`

	// DDM实例ID。
	InstanceId     *string `json:"instance_id,omitempty"`
	HttpStatusCode int     `json:"-"`
}

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

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