package model

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

	"strings"
)

// ListOfficialTemplateResponse Response Object
type ListOfficialTemplateResponse struct {
	Result *ListOfficialTemplateResult `json:"result,omitempty"`

	// 返回错误信息
	Error *string `json:"error,omitempty"`

	// 返回状态信息
	Status         *string `json:"status,omitempty"`
	HttpStatusCode int     `json:"-"`
}

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

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