package model

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

	"strings"
)

// SwitchedPacketResponse Response Object
type SwitchedPacketResponse struct {

	// 状态
	Status *string `json:"status,omitempty"`

	// 错误
	Error *interface{} `json:"error,omitempty"`

	// 结果
	Result         *string `json:"result,omitempty"`
	HttpStatusCode int     `json:"-"`
}

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

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