package model

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

	"strings"
)

// SwitchTokenResponseTokenUser 用户信息
type SwitchTokenResponseTokenUser struct {
	Domain *SwitchTokenResponseTokenUserDomain `json:"domain,omitempty"`

	// 用户名称
	Name *string `json:"name,omitempty"`

	// 用户ID
	Id *string `json:"id,omitempty"`
}

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

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