Documentation
¶
Overview ¶
This file is auto-generated, don't edit it. Thanks.
Index ¶
- type Client
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) PredictModel(request *PredictModelRequest) (_result *PredictModelResponse, _err error)
- func (client *Client) PredictModelWithOptions(request *PredictModelRequest, headers map[string]*string, ...) (_result *PredictModelResponse, _err error)
- type PredictModelRequest
- type PredictModelResponse
- func (s PredictModelResponse) GoString() string
- func (s *PredictModelResponse) SetBody(v *PredictModelResponseBody) *PredictModelResponse
- func (s *PredictModelResponse) SetHeaders(v map[string]*string) *PredictModelResponse
- func (s *PredictModelResponse) SetStatusCode(v int32) *PredictModelResponse
- func (s PredictModelResponse) String() string
- type PredictModelResponseBody
- func (s PredictModelResponseBody) GoString() string
- func (s *PredictModelResponseBody) SetCode(v string) *PredictModelResponseBody
- func (s *PredictModelResponseBody) SetData(v string) *PredictModelResponseBody
- func (s *PredictModelResponseBody) SetMessage(v string) *PredictModelResponseBody
- func (s *PredictModelResponseBody) SetRequestId(v string) *PredictModelResponseBody
- func (s *PredictModelResponseBody) SetSuccess(v string) *PredictModelResponseBody
- func (s PredictModelResponseBody) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) GetEndpoint ¶
func (*Client) PredictModel ¶
func (client *Client) PredictModel(request *PredictModelRequest) (_result *PredictModelResponse, _err error)
@param request - PredictModelRequest
@return PredictModelResponse
func (*Client) PredictModelWithOptions ¶
func (client *Client) PredictModelWithOptions(request *PredictModelRequest, headers map[string]*string, runtime *util.RuntimeOptions) (_result *PredictModelResponse, _err error)
@param request - PredictModelRequest
@param headers - map
@param runtime - runtime options for this request RuntimeOptions
@return PredictModelResponse
type PredictModelRequest ¶
type PredictModelRequest struct { // This parameter is required. Content *string `json:"Content,omitempty" xml:"Content,omitempty"` // This parameter is required. ModelId *int64 `json:"ModelId,omitempty" xml:"ModelId,omitempty"` }
func (PredictModelRequest) GoString ¶
func (s PredictModelRequest) GoString() string
func (*PredictModelRequest) SetContent ¶
func (s *PredictModelRequest) SetContent(v string) *PredictModelRequest
func (*PredictModelRequest) SetModelId ¶
func (s *PredictModelRequest) SetModelId(v int64) *PredictModelRequest
func (PredictModelRequest) String ¶
func (s PredictModelRequest) String() string
type PredictModelResponse ¶
type PredictModelResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty"` Body *PredictModelResponseBody `json:"body,omitempty" xml:"body,omitempty"` }
func (PredictModelResponse) GoString ¶
func (s PredictModelResponse) GoString() string
func (*PredictModelResponse) SetBody ¶
func (s *PredictModelResponse) SetBody(v *PredictModelResponseBody) *PredictModelResponse
func (*PredictModelResponse) SetHeaders ¶
func (s *PredictModelResponse) SetHeaders(v map[string]*string) *PredictModelResponse
func (*PredictModelResponse) SetStatusCode ¶
func (s *PredictModelResponse) SetStatusCode(v int32) *PredictModelResponse
func (PredictModelResponse) String ¶
func (s PredictModelResponse) String() string
type PredictModelResponseBody ¶
type PredictModelResponseBody 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"` Success *string `json:"Success,omitempty" xml:"Success,omitempty"` }
func (PredictModelResponseBody) GoString ¶
func (s PredictModelResponseBody) GoString() string
func (*PredictModelResponseBody) SetCode ¶
func (s *PredictModelResponseBody) SetCode(v string) *PredictModelResponseBody
func (*PredictModelResponseBody) SetData ¶
func (s *PredictModelResponseBody) SetData(v string) *PredictModelResponseBody
func (*PredictModelResponseBody) SetMessage ¶
func (s *PredictModelResponseBody) SetMessage(v string) *PredictModelResponseBody
func (*PredictModelResponseBody) SetRequestId ¶
func (s *PredictModelResponseBody) SetRequestId(v string) *PredictModelResponseBody
func (*PredictModelResponseBody) SetSuccess ¶
func (s *PredictModelResponseBody) SetSuccess(v string) *PredictModelResponseBody
func (PredictModelResponseBody) String ¶
func (s PredictModelResponseBody) String() string
Click to show internal directories.
Click to hide internal directories.