ai_interaction_1_0

package
v1.6.58 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

This file is auto-generated, don't edit it. Thanks. *

*

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	openapi.Client
}

func NewClient

func NewClient(config *openapi.Config) (*Client, error)

func (*Client) Init

func (client *Client) Init(config *openapi.Config) (_err error)

func (*Client) Reply

func (client *Client) Reply(request *ReplyRequest) (_result *ReplyResponse, _err error)

func (*Client) ReplyWithOptions

func (client *Client) ReplyWithOptions(request *ReplyRequest, headers *ReplyHeaders, runtime *util.RuntimeOptions) (_result *ReplyResponse, _err error)

type ReplyHeaders

type ReplyHeaders struct {
	CommonHeaders           map[string]*string `json:"commonHeaders,omitempty" xml:"commonHeaders,omitempty"`
	XAcsDingtalkAccessToken *string            `json:"x-acs-dingtalk-access-token,omitempty" xml:"x-acs-dingtalk-access-token,omitempty"`
}

func (ReplyHeaders) GoString

func (s ReplyHeaders) GoString() string

func (*ReplyHeaders) SetCommonHeaders

func (s *ReplyHeaders) SetCommonHeaders(v map[string]*string) *ReplyHeaders

func (*ReplyHeaders) SetXAcsDingtalkAccessToken

func (s *ReplyHeaders) SetXAcsDingtalkAccessToken(v string) *ReplyHeaders

func (ReplyHeaders) String

func (s ReplyHeaders) String() string

type ReplyRequest

type ReplyRequest struct {
	Content           *string `json:"content,omitempty" xml:"content,omitempty"`
	ContentType       *string `json:"contentType,omitempty" xml:"contentType,omitempty"`
	ConversationToken *string `json:"conversationToken,omitempty" xml:"conversationToken,omitempty"`
}

func (ReplyRequest) GoString

func (s ReplyRequest) GoString() string

func (*ReplyRequest) SetContent

func (s *ReplyRequest) SetContent(v string) *ReplyRequest

func (*ReplyRequest) SetContentType

func (s *ReplyRequest) SetContentType(v string) *ReplyRequest

func (*ReplyRequest) SetConversationToken

func (s *ReplyRequest) SetConversationToken(v string) *ReplyRequest

func (ReplyRequest) String

func (s ReplyRequest) String() string

type ReplyResponse

type ReplyResponse struct {
	Headers    map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"`
	StatusCode *int32             `json:"statusCode,omitempty" xml:"statusCode,omitempty"`
	Body       *ReplyResponseBody `json:"body,omitempty" xml:"body,omitempty"`
}

func (ReplyResponse) GoString

func (s ReplyResponse) GoString() string

func (*ReplyResponse) SetBody

func (*ReplyResponse) SetHeaders

func (s *ReplyResponse) SetHeaders(v map[string]*string) *ReplyResponse

func (*ReplyResponse) SetStatusCode

func (s *ReplyResponse) SetStatusCode(v int32) *ReplyResponse

func (ReplyResponse) String

func (s ReplyResponse) String() string

type ReplyResponseBody

type ReplyResponseBody struct {
	Result *ReplyResponseBodyResult `json:"result,omitempty" xml:"result,omitempty" type:"Struct"`
}

func (ReplyResponseBody) GoString

func (s ReplyResponseBody) GoString() string

func (*ReplyResponseBody) SetResult

func (ReplyResponseBody) String

func (s ReplyResponseBody) String() string

type ReplyResponseBodyResult

type ReplyResponseBodyResult struct {
	Success *bool `json:"success,omitempty" xml:"success,omitempty"`
}

func (ReplyResponseBodyResult) GoString

func (s ReplyResponseBodyResult) GoString() string

func (*ReplyResponseBodyResult) SetSuccess

func (ReplyResponseBodyResult) String

func (s ReplyResponseBodyResult) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL