package model

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

	"strings"
)

// CreateExtensionAuthorizationRequest Request Object
type CreateExtensionAuthorizationRequest struct {

	// CodeArtsIDEOnline实例ID
	InstanceId string `json:"instance_id"`

	Body *ExtensionAuthorization `json:"body,omitempty"`
}

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

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