package model

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

	"strings"
)

// ShowResourceRelationsResponse Response Object
type ShowResourceRelationsResponse struct {

	// 资源关系列表
	Relations *[]ResourceRelation `json:"relations,omitempty"`

	PageInfo       *PageInfo `json:"page_info,omitempty"`
	HttpStatusCode int       `json:"-"`
}

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

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