client

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 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) GetEndpoint

func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, suffix *string, endpointMap map[string]*string, endpoint *string) (_result *string, _err error)

func (*Client) GetResource

func (client *Client) GetResource() (_result *GetResourceResponse, _err error)

@return GetResourceResponse

func (*Client) GetResourceWithOptions

func (client *Client) GetResourceWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *GetResourceResponse, _err error)

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return GetResourceResponse

func (*Client) Init

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

func (*Client) ListMtConnector

func (client *Client) ListMtConnector(request *ListMtConnectorRequest) (_result *ListMtConnectorResponse, _err error)

Summary:

获取系统模型和AI模型

@param request - ListMtConnectorRequest

@return ListMtConnectorResponse

func (*Client) ListMtConnectorWithOptions

func (client *Client) ListMtConnectorWithOptions(request *ListMtConnectorRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *ListMtConnectorResponse, _err error)

Summary:

获取系统模型和AI模型

@param request - ListMtConnectorRequest

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return ListMtConnectorResponse

func (*Client) TranslateECommerce

func (client *Client) TranslateECommerce() (_result *TranslateECommerceResponse, _err error)

@return TranslateECommerceResponse

func (*Client) TranslateECommerceWithOptions

func (client *Client) TranslateECommerceWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *TranslateECommerceResponse, _err error)

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return TranslateECommerceResponse

func (*Client) TranslateGeneral

func (client *Client) TranslateGeneral() (_result *TranslateGeneralResponse, _err error)

@return TranslateGeneralResponse

func (*Client) TranslateGeneralWithOptions

func (client *Client) TranslateGeneralWithOptions(headers map[string]*string, runtime *util.RuntimeOptions) (_result *TranslateGeneralResponse, _err error)

@param headers - map

@param runtime - runtime options for this request RuntimeOptions

@return TranslateGeneralResponse

type GetResourceResponse

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

func (GetResourceResponse) GoString

func (s GetResourceResponse) GoString() string

func (*GetResourceResponse) SetBody

func (*GetResourceResponse) SetHeaders

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

func (*GetResourceResponse) SetStatusCode

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

func (GetResourceResponse) String

func (s GetResourceResponse) String() string

type GetResourceResponseBody

type GetResourceResponseBody struct {
	Code      *string `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *string `json:"Data,omitempty" xml:"Data,omitempty"`
	Message   *string `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (GetResourceResponseBody) GoString

func (s GetResourceResponseBody) GoString() string

func (*GetResourceResponseBody) SetCode

func (*GetResourceResponseBody) SetData

func (*GetResourceResponseBody) SetMessage

func (*GetResourceResponseBody) SetRequestId

func (GetResourceResponseBody) String

func (s GetResourceResponseBody) String() string

type ListMtConnectorRequest

type ListMtConnectorRequest struct {
	UserId *int64 `json:"UserId,omitempty" xml:"UserId,omitempty"`
}

func (ListMtConnectorRequest) GoString

func (s ListMtConnectorRequest) GoString() string

func (*ListMtConnectorRequest) SetUserId

func (ListMtConnectorRequest) String

func (s ListMtConnectorRequest) String() string

type ListMtConnectorResponse

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

func (ListMtConnectorResponse) GoString

func (s ListMtConnectorResponse) GoString() string

func (*ListMtConnectorResponse) SetBody

func (*ListMtConnectorResponse) SetHeaders

func (*ListMtConnectorResponse) SetStatusCode

func (ListMtConnectorResponse) String

func (s ListMtConnectorResponse) String() string

type ListMtConnectorResponseBody

type ListMtConnectorResponseBody struct {
	RequestId    *string                            `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
	BizErrorCode *int64                             `json:"bizErrorCode,omitempty" xml:"bizErrorCode,omitempty"`
	Data         []*ListMtConnectorResponseBodyData `json:"data,omitempty" xml:"data,omitempty" type:"Repeated"`
	ErrorMessage *string                            `json:"errorMessage,omitempty" xml:"errorMessage,omitempty"`
	Success      *string                            `json:"success,omitempty" xml:"success,omitempty"`
}

func (ListMtConnectorResponseBody) GoString

func (s ListMtConnectorResponseBody) GoString() string

func (*ListMtConnectorResponseBody) SetBizErrorCode

func (*ListMtConnectorResponseBody) SetData

func (*ListMtConnectorResponseBody) SetErrorMessage

func (*ListMtConnectorResponseBody) SetRequestId

func (*ListMtConnectorResponseBody) SetSuccess

func (ListMtConnectorResponseBody) String

type ListMtConnectorResponseBodyData

type ListMtConnectorResponseBodyData struct {
	Key   *string `json:"key,omitempty" xml:"key,omitempty"`
	Value *string `json:"value,omitempty" xml:"value,omitempty"`
}

func (ListMtConnectorResponseBodyData) GoString

func (*ListMtConnectorResponseBodyData) SetKey

func (*ListMtConnectorResponseBodyData) SetValue

func (ListMtConnectorResponseBodyData) String

type TranslateECommerceResponse

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

func (TranslateECommerceResponse) GoString

func (s TranslateECommerceResponse) GoString() string

func (*TranslateECommerceResponse) SetBody

func (*TranslateECommerceResponse) SetHeaders

func (*TranslateECommerceResponse) SetStatusCode

func (TranslateECommerceResponse) String

type TranslateECommerceResponseBody

type TranslateECommerceResponseBody struct {
	Code      *string                             `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *TranslateECommerceResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                             `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                             `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TranslateECommerceResponseBody) GoString

func (*TranslateECommerceResponseBody) SetCode

func (*TranslateECommerceResponseBody) SetMessage

func (*TranslateECommerceResponseBody) SetRequestId

func (TranslateECommerceResponseBody) String

type TranslateECommerceResponseBodyData

type TranslateECommerceResponseBodyData struct {
	Translated *string `json:"Translated,omitempty" xml:"Translated,omitempty"`
	WordCount  *string `json:"WordCount,omitempty" xml:"WordCount,omitempty"`
}

func (TranslateECommerceResponseBodyData) GoString

func (*TranslateECommerceResponseBodyData) SetTranslated

func (*TranslateECommerceResponseBodyData) SetWordCount

func (TranslateECommerceResponseBodyData) String

type TranslateGeneralResponse

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

func (TranslateGeneralResponse) GoString

func (s TranslateGeneralResponse) GoString() string

func (*TranslateGeneralResponse) SetBody

func (*TranslateGeneralResponse) SetHeaders

func (*TranslateGeneralResponse) SetStatusCode

func (TranslateGeneralResponse) String

func (s TranslateGeneralResponse) String() string

type TranslateGeneralResponseBody

type TranslateGeneralResponseBody struct {
	Code      *string                           `json:"Code,omitempty" xml:"Code,omitempty"`
	Data      *TranslateGeneralResponseBodyData `json:"Data,omitempty" xml:"Data,omitempty" type:"Struct"`
	Message   *string                           `json:"Message,omitempty" xml:"Message,omitempty"`
	RequestId *string                           `json:"RequestId,omitempty" xml:"RequestId,omitempty"`
}

func (TranslateGeneralResponseBody) GoString

func (s TranslateGeneralResponseBody) GoString() string

func (*TranslateGeneralResponseBody) SetCode

func (*TranslateGeneralResponseBody) SetData

func (*TranslateGeneralResponseBody) SetMessage

func (*TranslateGeneralResponseBody) SetRequestId

func (TranslateGeneralResponseBody) String

type TranslateGeneralResponseBodyData

type TranslateGeneralResponseBodyData struct {
	Translated *string `json:"Translated,omitempty" xml:"Translated,omitempty"`
	WordCount  *string `json:"WordCount,omitempty" xml:"WordCount,omitempty"`
}

func (TranslateGeneralResponseBodyData) GoString

func (*TranslateGeneralResponseBodyData) SetTranslated

func (*TranslateGeneralResponseBodyData) SetWordCount

func (TranslateGeneralResponseBodyData) String

Jump to

Keyboard shortcuts

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