Documentation ¶
Overview ¶
This file is auto-generated, don't edit it. Thanks. *
*
Index ¶
- type Client
- func (client *Client) CreateModelAsyncPredict(request *CreateModelAsyncPredictRequest) (_result *CreateModelAsyncPredictResponse, _err error)
- func (client *Client) CreateModelAsyncPredictWithOptions(request *CreateModelAsyncPredictRequest, runtime *util.RuntimeOptions) (_result *CreateModelAsyncPredictResponse, _err error)
- func (client *Client) GetEndpoint(productId *string, regionId *string, endpointRule *string, network *string, ...) (_result *string, _err error)
- func (client *Client) GetModelAsyncPredict(request *GetModelAsyncPredictRequest) (_result *GetModelAsyncPredictResponse, _err error)
- func (client *Client) GetModelAsyncPredictWithOptions(request *GetModelAsyncPredictRequest, runtime *util.RuntimeOptions) (_result *GetModelAsyncPredictResponse, _err error)
- func (client *Client) Init(config *openapi.Config) (_err error)
- func (client *Client) PredictClassifierModel(request *PredictClassifierModelRequest) (_result *PredictClassifierModelResponse, _err error)
- func (client *Client) PredictClassifierModelWithOptions(request *PredictClassifierModelRequest, runtime *util.RuntimeOptions) (_result *PredictClassifierModelResponse, _err error)
- func (client *Client) PredictModel(request *PredictModelRequest) (_result *PredictModelResponse, _err error)
- func (client *Client) PredictModelWithOptions(request *PredictModelRequest, runtime *util.RuntimeOptions) (_result *PredictModelResponse, _err error)
- func (client *Client) PredictPreTrainModel(request *PredictPreTrainModelRequest) (_result *PredictPreTrainModelResponse, _err error)
- func (client *Client) PredictPreTrainModelWithOptions(request *PredictPreTrainModelRequest, runtime *util.RuntimeOptions) (_result *PredictPreTrainModelResponse, _err error)
- func (client *Client) PredictTemplateModel(request *PredictTemplateModelRequest) (_result *PredictTemplateModelResponse, _err error)
- func (client *Client) PredictTemplateModelWithOptions(request *PredictTemplateModelRequest, runtime *util.RuntimeOptions) (_result *PredictTemplateModelResponse, _err error)
- type CreateModelAsyncPredictRequest
- func (s CreateModelAsyncPredictRequest) GoString() string
- func (s *CreateModelAsyncPredictRequest) SetBinaryToText(v bool) *CreateModelAsyncPredictRequest
- func (s *CreateModelAsyncPredictRequest) SetBody(v string) *CreateModelAsyncPredictRequest
- func (s *CreateModelAsyncPredictRequest) SetContent(v string) *CreateModelAsyncPredictRequest
- func (s *CreateModelAsyncPredictRequest) SetModelId(v int64) *CreateModelAsyncPredictRequest
- func (s *CreateModelAsyncPredictRequest) SetModelVersion(v string) *CreateModelAsyncPredictRequest
- func (s *CreateModelAsyncPredictRequest) SetServiceName(v string) *CreateModelAsyncPredictRequest
- func (s *CreateModelAsyncPredictRequest) SetServiceVersion(v string) *CreateModelAsyncPredictRequest
- func (s CreateModelAsyncPredictRequest) String() string
- type CreateModelAsyncPredictResponse
- func (s CreateModelAsyncPredictResponse) GoString() string
- func (s *CreateModelAsyncPredictResponse) SetBody(v *CreateModelAsyncPredictResponseBody) *CreateModelAsyncPredictResponse
- func (s *CreateModelAsyncPredictResponse) SetHeaders(v map[string]*string) *CreateModelAsyncPredictResponse
- func (s *CreateModelAsyncPredictResponse) SetStatusCode(v int32) *CreateModelAsyncPredictResponse
- func (s CreateModelAsyncPredictResponse) String() string
- type CreateModelAsyncPredictResponseBody
- func (s CreateModelAsyncPredictResponseBody) GoString() string
- func (s *CreateModelAsyncPredictResponseBody) SetCode(v int32) *CreateModelAsyncPredictResponseBody
- func (s *CreateModelAsyncPredictResponseBody) SetData(v string) *CreateModelAsyncPredictResponseBody
- func (s *CreateModelAsyncPredictResponseBody) SetMessage(v string) *CreateModelAsyncPredictResponseBody
- func (s *CreateModelAsyncPredictResponseBody) SetRequestId(v string) *CreateModelAsyncPredictResponseBody
- func (s CreateModelAsyncPredictResponseBody) String() string
- type GetModelAsyncPredictRequest
- type GetModelAsyncPredictResponse
- func (s GetModelAsyncPredictResponse) GoString() string
- func (s *GetModelAsyncPredictResponse) SetBody(v *GetModelAsyncPredictResponseBody) *GetModelAsyncPredictResponse
- func (s *GetModelAsyncPredictResponse) SetHeaders(v map[string]*string) *GetModelAsyncPredictResponse
- func (s *GetModelAsyncPredictResponse) SetStatusCode(v int32) *GetModelAsyncPredictResponse
- func (s GetModelAsyncPredictResponse) String() string
- type GetModelAsyncPredictResponseBody
- func (s GetModelAsyncPredictResponseBody) GoString() string
- func (s *GetModelAsyncPredictResponseBody) SetCode(v int32) *GetModelAsyncPredictResponseBody
- func (s *GetModelAsyncPredictResponseBody) SetData(v string) *GetModelAsyncPredictResponseBody
- func (s *GetModelAsyncPredictResponseBody) SetMessage(v string) *GetModelAsyncPredictResponseBody
- func (s *GetModelAsyncPredictResponseBody) SetRequestId(v string) *GetModelAsyncPredictResponseBody
- func (s GetModelAsyncPredictResponseBody) String() string
- type PredictClassifierModelRequest
- func (s PredictClassifierModelRequest) GoString() string
- func (s *PredictClassifierModelRequest) SetAutoPrediction(v bool) *PredictClassifierModelRequest
- func (s *PredictClassifierModelRequest) SetBinaryToText(v bool) *PredictClassifierModelRequest
- func (s *PredictClassifierModelRequest) SetBody(v string) *PredictClassifierModelRequest
- func (s *PredictClassifierModelRequest) SetClassifierId(v int64) *PredictClassifierModelRequest
- func (s *PredictClassifierModelRequest) SetContent(v string) *PredictClassifierModelRequest
- func (s PredictClassifierModelRequest) String() string
- type PredictClassifierModelResponse
- func (s PredictClassifierModelResponse) GoString() string
- func (s *PredictClassifierModelResponse) SetBody(v *PredictClassifierModelResponseBody) *PredictClassifierModelResponse
- func (s *PredictClassifierModelResponse) SetHeaders(v map[string]*string) *PredictClassifierModelResponse
- func (s *PredictClassifierModelResponse) SetStatusCode(v int32) *PredictClassifierModelResponse
- func (s PredictClassifierModelResponse) String() string
- type PredictClassifierModelResponseBody
- func (s PredictClassifierModelResponseBody) GoString() string
- func (s *PredictClassifierModelResponseBody) SetCode(v int32) *PredictClassifierModelResponseBody
- func (s *PredictClassifierModelResponseBody) SetData(v map[string]interface{}) *PredictClassifierModelResponseBody
- func (s *PredictClassifierModelResponseBody) SetMessage(v string) *PredictClassifierModelResponseBody
- func (s *PredictClassifierModelResponseBody) SetRequestId(v string) *PredictClassifierModelResponseBody
- func (s PredictClassifierModelResponseBody) String() string
- type PredictModelRequest
- func (s PredictModelRequest) GoString() string
- func (s *PredictModelRequest) SetBinaryToText(v bool) *PredictModelRequest
- func (s *PredictModelRequest) SetBody(v string) *PredictModelRequest
- func (s *PredictModelRequest) SetContent(v string) *PredictModelRequest
- func (s *PredictModelRequest) SetModelId(v int64) *PredictModelRequest
- func (s *PredictModelRequest) SetModelVersion(v string) *PredictModelRequest
- func (s PredictModelRequest) String() string
- 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 int32) *PredictModelResponseBody
- func (s *PredictModelResponseBody) SetData(v map[string]interface{}) *PredictModelResponseBody
- func (s *PredictModelResponseBody) SetMessage(v string) *PredictModelResponseBody
- func (s *PredictModelResponseBody) SetRequestId(v string) *PredictModelResponseBody
- func (s PredictModelResponseBody) String() string
- type PredictPreTrainModelRequest
- func (s PredictPreTrainModelRequest) GoString() string
- func (s *PredictPreTrainModelRequest) SetBinaryToText(v bool) *PredictPreTrainModelRequest
- func (s *PredictPreTrainModelRequest) SetBody(v string) *PredictPreTrainModelRequest
- func (s *PredictPreTrainModelRequest) SetContent(v string) *PredictPreTrainModelRequest
- func (s *PredictPreTrainModelRequest) SetServiceName(v string) *PredictPreTrainModelRequest
- func (s *PredictPreTrainModelRequest) SetServiceVersion(v string) *PredictPreTrainModelRequest
- func (s PredictPreTrainModelRequest) String() string
- type PredictPreTrainModelResponse
- func (s PredictPreTrainModelResponse) GoString() string
- func (s *PredictPreTrainModelResponse) SetBody(v *PredictPreTrainModelResponseBody) *PredictPreTrainModelResponse
- func (s *PredictPreTrainModelResponse) SetHeaders(v map[string]*string) *PredictPreTrainModelResponse
- func (s *PredictPreTrainModelResponse) SetStatusCode(v int32) *PredictPreTrainModelResponse
- func (s PredictPreTrainModelResponse) String() string
- type PredictPreTrainModelResponseBody
- func (s PredictPreTrainModelResponseBody) GoString() string
- func (s *PredictPreTrainModelResponseBody) SetCode(v int32) *PredictPreTrainModelResponseBody
- func (s *PredictPreTrainModelResponseBody) SetData(v map[string]interface{}) *PredictPreTrainModelResponseBody
- func (s *PredictPreTrainModelResponseBody) SetMessage(v string) *PredictPreTrainModelResponseBody
- func (s *PredictPreTrainModelResponseBody) SetRequestId(v string) *PredictPreTrainModelResponseBody
- func (s PredictPreTrainModelResponseBody) String() string
- type PredictTemplateModelRequest
- func (s PredictTemplateModelRequest) GoString() string
- func (s *PredictTemplateModelRequest) SetBinaryToText(v bool) *PredictTemplateModelRequest
- func (s *PredictTemplateModelRequest) SetBody(v string) *PredictTemplateModelRequest
- func (s *PredictTemplateModelRequest) SetContent(v string) *PredictTemplateModelRequest
- func (s *PredictTemplateModelRequest) SetTaskId(v int64) *PredictTemplateModelRequest
- func (s PredictTemplateModelRequest) String() string
- type PredictTemplateModelResponse
- func (s PredictTemplateModelResponse) GoString() string
- func (s *PredictTemplateModelResponse) SetBody(v *PredictTemplateModelResponseBody) *PredictTemplateModelResponse
- func (s *PredictTemplateModelResponse) SetHeaders(v map[string]*string) *PredictTemplateModelResponse
- func (s *PredictTemplateModelResponse) SetStatusCode(v int32) *PredictTemplateModelResponse
- func (s PredictTemplateModelResponse) String() string
- type PredictTemplateModelResponseBody
- func (s PredictTemplateModelResponseBody) GoString() string
- func (s *PredictTemplateModelResponseBody) SetCode(v string) *PredictTemplateModelResponseBody
- func (s *PredictTemplateModelResponseBody) SetData(v map[string]interface{}) *PredictTemplateModelResponseBody
- func (s *PredictTemplateModelResponseBody) SetMessage(v string) *PredictTemplateModelResponseBody
- func (s *PredictTemplateModelResponseBody) SetRequestId(v string) *PredictTemplateModelResponseBody
- func (s PredictTemplateModelResponseBody) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) CreateModelAsyncPredict ¶ added in v1.0.5
func (client *Client) CreateModelAsyncPredict(request *CreateModelAsyncPredictRequest) (_result *CreateModelAsyncPredictResponse, _err error)
func (*Client) CreateModelAsyncPredictWithOptions ¶ added in v1.0.5
func (client *Client) CreateModelAsyncPredictWithOptions(request *CreateModelAsyncPredictRequest, runtime *util.RuntimeOptions) (_result *CreateModelAsyncPredictResponse, _err error)
func (*Client) GetEndpoint ¶
func (*Client) GetModelAsyncPredict ¶ added in v1.0.5
func (client *Client) GetModelAsyncPredict(request *GetModelAsyncPredictRequest) (_result *GetModelAsyncPredictResponse, _err error)
func (*Client) GetModelAsyncPredictWithOptions ¶ added in v1.0.5
func (client *Client) GetModelAsyncPredictWithOptions(request *GetModelAsyncPredictRequest, runtime *util.RuntimeOptions) (_result *GetModelAsyncPredictResponse, _err error)
func (*Client) PredictClassifierModel ¶
func (client *Client) PredictClassifierModel(request *PredictClassifierModelRequest) (_result *PredictClassifierModelResponse, _err error)
func (*Client) PredictClassifierModelWithOptions ¶
func (client *Client) PredictClassifierModelWithOptions(request *PredictClassifierModelRequest, runtime *util.RuntimeOptions) (_result *PredictClassifierModelResponse, _err error)
func (*Client) PredictModel ¶
func (client *Client) PredictModel(request *PredictModelRequest) (_result *PredictModelResponse, _err error)
func (*Client) PredictModelWithOptions ¶
func (client *Client) PredictModelWithOptions(request *PredictModelRequest, runtime *util.RuntimeOptions) (_result *PredictModelResponse, _err error)
func (*Client) PredictPreTrainModel ¶ added in v1.0.11
func (client *Client) PredictPreTrainModel(request *PredictPreTrainModelRequest) (_result *PredictPreTrainModelResponse, _err error)
func (*Client) PredictPreTrainModelWithOptions ¶ added in v1.0.11
func (client *Client) PredictPreTrainModelWithOptions(request *PredictPreTrainModelRequest, runtime *util.RuntimeOptions) (_result *PredictPreTrainModelResponse, _err error)
func (*Client) PredictTemplateModel ¶
func (client *Client) PredictTemplateModel(request *PredictTemplateModelRequest) (_result *PredictTemplateModelResponse, _err error)
func (*Client) PredictTemplateModelWithOptions ¶
func (client *Client) PredictTemplateModelWithOptions(request *PredictTemplateModelRequest, runtime *util.RuntimeOptions) (_result *PredictTemplateModelResponse, _err error)
type CreateModelAsyncPredictRequest ¶ added in v1.0.5
type CreateModelAsyncPredictRequest struct { BinaryToText *bool `json:"BinaryToText,omitempty" xml:"BinaryToText,omitempty"` Body *string `json:"Body,omitempty" xml:"Body,omitempty"` Content *string `json:"Content,omitempty" xml:"Content,omitempty"` ModelId *int64 `json:"ModelId,omitempty" xml:"ModelId,omitempty"` ModelVersion *string `json:"ModelVersion,omitempty" xml:"ModelVersion,omitempty"` ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"` ServiceVersion *string `json:"ServiceVersion,omitempty" xml:"ServiceVersion,omitempty"` }
func (CreateModelAsyncPredictRequest) GoString ¶ added in v1.0.5
func (s CreateModelAsyncPredictRequest) GoString() string
func (*CreateModelAsyncPredictRequest) SetBinaryToText ¶ added in v1.0.5
func (s *CreateModelAsyncPredictRequest) SetBinaryToText(v bool) *CreateModelAsyncPredictRequest
func (*CreateModelAsyncPredictRequest) SetBody ¶ added in v1.0.6
func (s *CreateModelAsyncPredictRequest) SetBody(v string) *CreateModelAsyncPredictRequest
func (*CreateModelAsyncPredictRequest) SetContent ¶ added in v1.0.5
func (s *CreateModelAsyncPredictRequest) SetContent(v string) *CreateModelAsyncPredictRequest
func (*CreateModelAsyncPredictRequest) SetModelId ¶ added in v1.0.5
func (s *CreateModelAsyncPredictRequest) SetModelId(v int64) *CreateModelAsyncPredictRequest
func (*CreateModelAsyncPredictRequest) SetModelVersion ¶ added in v1.0.5
func (s *CreateModelAsyncPredictRequest) SetModelVersion(v string) *CreateModelAsyncPredictRequest
func (*CreateModelAsyncPredictRequest) SetServiceName ¶ added in v1.0.5
func (s *CreateModelAsyncPredictRequest) SetServiceName(v string) *CreateModelAsyncPredictRequest
func (*CreateModelAsyncPredictRequest) SetServiceVersion ¶ added in v1.0.5
func (s *CreateModelAsyncPredictRequest) SetServiceVersion(v string) *CreateModelAsyncPredictRequest
func (CreateModelAsyncPredictRequest) String ¶ added in v1.0.5
func (s CreateModelAsyncPredictRequest) String() string
type CreateModelAsyncPredictResponse ¶ added in v1.0.5
type CreateModelAsyncPredictResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` Body *CreateModelAsyncPredictResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (CreateModelAsyncPredictResponse) GoString ¶ added in v1.0.5
func (s CreateModelAsyncPredictResponse) GoString() string
func (*CreateModelAsyncPredictResponse) SetBody ¶ added in v1.0.5
func (s *CreateModelAsyncPredictResponse) SetBody(v *CreateModelAsyncPredictResponseBody) *CreateModelAsyncPredictResponse
func (*CreateModelAsyncPredictResponse) SetHeaders ¶ added in v1.0.5
func (s *CreateModelAsyncPredictResponse) SetHeaders(v map[string]*string) *CreateModelAsyncPredictResponse
func (*CreateModelAsyncPredictResponse) SetStatusCode ¶ added in v1.0.5
func (s *CreateModelAsyncPredictResponse) SetStatusCode(v int32) *CreateModelAsyncPredictResponse
func (CreateModelAsyncPredictResponse) String ¶ added in v1.0.5
func (s CreateModelAsyncPredictResponse) String() string
type CreateModelAsyncPredictResponseBody ¶ added in v1.0.5
type CreateModelAsyncPredictResponseBody struct { Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"` Data *string `json:"Data,omitempty" xml:"Data,omitempty"` Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // Id of the request RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (CreateModelAsyncPredictResponseBody) GoString ¶ added in v1.0.5
func (s CreateModelAsyncPredictResponseBody) GoString() string
func (*CreateModelAsyncPredictResponseBody) SetCode ¶ added in v1.0.5
func (s *CreateModelAsyncPredictResponseBody) SetCode(v int32) *CreateModelAsyncPredictResponseBody
func (*CreateModelAsyncPredictResponseBody) SetData ¶ added in v1.0.5
func (s *CreateModelAsyncPredictResponseBody) SetData(v string) *CreateModelAsyncPredictResponseBody
func (*CreateModelAsyncPredictResponseBody) SetMessage ¶ added in v1.0.5
func (s *CreateModelAsyncPredictResponseBody) SetMessage(v string) *CreateModelAsyncPredictResponseBody
func (*CreateModelAsyncPredictResponseBody) SetRequestId ¶ added in v1.0.5
func (s *CreateModelAsyncPredictResponseBody) SetRequestId(v string) *CreateModelAsyncPredictResponseBody
func (CreateModelAsyncPredictResponseBody) String ¶ added in v1.0.5
func (s CreateModelAsyncPredictResponseBody) String() string
type GetModelAsyncPredictRequest ¶ added in v1.0.5
type GetModelAsyncPredictRequest struct {
AsyncPredictId *int64 `json:"AsyncPredictId,omitempty" xml:"AsyncPredictId,omitempty"`
}
func (GetModelAsyncPredictRequest) GoString ¶ added in v1.0.5
func (s GetModelAsyncPredictRequest) GoString() string
func (*GetModelAsyncPredictRequest) SetAsyncPredictId ¶ added in v1.0.5
func (s *GetModelAsyncPredictRequest) SetAsyncPredictId(v int64) *GetModelAsyncPredictRequest
func (GetModelAsyncPredictRequest) String ¶ added in v1.0.5
func (s GetModelAsyncPredictRequest) String() string
type GetModelAsyncPredictResponse ¶ added in v1.0.5
type GetModelAsyncPredictResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` Body *GetModelAsyncPredictResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (GetModelAsyncPredictResponse) GoString ¶ added in v1.0.5
func (s GetModelAsyncPredictResponse) GoString() string
func (*GetModelAsyncPredictResponse) SetBody ¶ added in v1.0.5
func (s *GetModelAsyncPredictResponse) SetBody(v *GetModelAsyncPredictResponseBody) *GetModelAsyncPredictResponse
func (*GetModelAsyncPredictResponse) SetHeaders ¶ added in v1.0.5
func (s *GetModelAsyncPredictResponse) SetHeaders(v map[string]*string) *GetModelAsyncPredictResponse
func (*GetModelAsyncPredictResponse) SetStatusCode ¶ added in v1.0.5
func (s *GetModelAsyncPredictResponse) SetStatusCode(v int32) *GetModelAsyncPredictResponse
func (GetModelAsyncPredictResponse) String ¶ added in v1.0.5
func (s GetModelAsyncPredictResponse) String() string
type GetModelAsyncPredictResponseBody ¶ added in v1.0.5
type GetModelAsyncPredictResponseBody struct { Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"` Data *string `json:"Data,omitempty" xml:"Data,omitempty"` Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // Id of the request RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (GetModelAsyncPredictResponseBody) GoString ¶ added in v1.0.5
func (s GetModelAsyncPredictResponseBody) GoString() string
func (*GetModelAsyncPredictResponseBody) SetCode ¶ added in v1.0.5
func (s *GetModelAsyncPredictResponseBody) SetCode(v int32) *GetModelAsyncPredictResponseBody
func (*GetModelAsyncPredictResponseBody) SetData ¶ added in v1.0.5
func (s *GetModelAsyncPredictResponseBody) SetData(v string) *GetModelAsyncPredictResponseBody
func (*GetModelAsyncPredictResponseBody) SetMessage ¶ added in v1.0.5
func (s *GetModelAsyncPredictResponseBody) SetMessage(v string) *GetModelAsyncPredictResponseBody
func (*GetModelAsyncPredictResponseBody) SetRequestId ¶ added in v1.0.5
func (s *GetModelAsyncPredictResponseBody) SetRequestId(v string) *GetModelAsyncPredictResponseBody
func (GetModelAsyncPredictResponseBody) String ¶ added in v1.0.5
func (s GetModelAsyncPredictResponseBody) String() string
type PredictClassifierModelRequest ¶
type PredictClassifierModelRequest struct { AutoPrediction *bool `json:"AutoPrediction,omitempty" xml:"AutoPrediction,omitempty"` BinaryToText *bool `json:"BinaryToText,omitempty" xml:"BinaryToText,omitempty"` Body *string `json:"Body,omitempty" xml:"Body,omitempty"` ClassifierId *int64 `json:"ClassifierId,omitempty" xml:"ClassifierId,omitempty"` Content *string `json:"Content,omitempty" xml:"Content,omitempty"` }
func (PredictClassifierModelRequest) GoString ¶
func (s PredictClassifierModelRequest) GoString() string
func (*PredictClassifierModelRequest) SetAutoPrediction ¶
func (s *PredictClassifierModelRequest) SetAutoPrediction(v bool) *PredictClassifierModelRequest
func (*PredictClassifierModelRequest) SetBinaryToText ¶ added in v1.0.13
func (s *PredictClassifierModelRequest) SetBinaryToText(v bool) *PredictClassifierModelRequest
func (*PredictClassifierModelRequest) SetBody ¶ added in v1.0.6
func (s *PredictClassifierModelRequest) SetBody(v string) *PredictClassifierModelRequest
func (*PredictClassifierModelRequest) SetClassifierId ¶
func (s *PredictClassifierModelRequest) SetClassifierId(v int64) *PredictClassifierModelRequest
func (*PredictClassifierModelRequest) SetContent ¶
func (s *PredictClassifierModelRequest) SetContent(v string) *PredictClassifierModelRequest
func (PredictClassifierModelRequest) String ¶
func (s PredictClassifierModelRequest) String() string
type PredictClassifierModelResponse ¶
type PredictClassifierModelResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` Body *PredictClassifierModelResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (PredictClassifierModelResponse) GoString ¶
func (s PredictClassifierModelResponse) GoString() string
func (*PredictClassifierModelResponse) SetBody ¶
func (s *PredictClassifierModelResponse) SetBody(v *PredictClassifierModelResponseBody) *PredictClassifierModelResponse
func (*PredictClassifierModelResponse) SetHeaders ¶
func (s *PredictClassifierModelResponse) SetHeaders(v map[string]*string) *PredictClassifierModelResponse
func (*PredictClassifierModelResponse) SetStatusCode ¶
func (s *PredictClassifierModelResponse) SetStatusCode(v int32) *PredictClassifierModelResponse
func (PredictClassifierModelResponse) String ¶
func (s PredictClassifierModelResponse) String() string
type PredictClassifierModelResponseBody ¶
type PredictClassifierModelResponseBody struct { Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"` Data map[string]interface{} `json:"Data,omitempty" xml:"Data,omitempty"` Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // Id of the request RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (PredictClassifierModelResponseBody) GoString ¶
func (s PredictClassifierModelResponseBody) GoString() string
func (*PredictClassifierModelResponseBody) SetCode ¶
func (s *PredictClassifierModelResponseBody) SetCode(v int32) *PredictClassifierModelResponseBody
func (*PredictClassifierModelResponseBody) SetData ¶
func (s *PredictClassifierModelResponseBody) SetData(v map[string]interface{}) *PredictClassifierModelResponseBody
func (*PredictClassifierModelResponseBody) SetMessage ¶
func (s *PredictClassifierModelResponseBody) SetMessage(v string) *PredictClassifierModelResponseBody
func (*PredictClassifierModelResponseBody) SetRequestId ¶
func (s *PredictClassifierModelResponseBody) SetRequestId(v string) *PredictClassifierModelResponseBody
func (PredictClassifierModelResponseBody) String ¶
func (s PredictClassifierModelResponseBody) String() string
type PredictModelRequest ¶
type PredictModelRequest struct { BinaryToText *bool `json:"BinaryToText,omitempty" xml:"BinaryToText,omitempty"` Body *string `json:"Body,omitempty" xml:"Body,omitempty"` Content *string `json:"Content,omitempty" xml:"Content,omitempty"` ModelId *int64 `json:"ModelId,omitempty" xml:"ModelId,omitempty"` ModelVersion *string `json:"ModelVersion,omitempty" xml:"ModelVersion,omitempty"` }
func (PredictModelRequest) GoString ¶
func (s PredictModelRequest) GoString() string
func (*PredictModelRequest) SetBinaryToText ¶
func (s *PredictModelRequest) SetBinaryToText(v bool) *PredictModelRequest
func (*PredictModelRequest) SetBody ¶ added in v1.0.6
func (s *PredictModelRequest) SetBody(v string) *PredictModelRequest
func (*PredictModelRequest) SetContent ¶
func (s *PredictModelRequest) SetContent(v string) *PredictModelRequest
func (*PredictModelRequest) SetModelId ¶
func (s *PredictModelRequest) SetModelId(v int64) *PredictModelRequest
func (*PredictModelRequest) SetModelVersion ¶
func (s *PredictModelRequest) SetModelVersion(v string) *PredictModelRequest
func (PredictModelRequest) String ¶
func (s PredictModelRequest) String() string
type PredictModelResponse ¶
type PredictModelResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` Body *PredictModelResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
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 *int32 `json:"Code,omitempty" xml:"Code,omitempty"` Data map[string]interface{} `json:"Data,omitempty" xml:"Data,omitempty"` Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // Id of the request RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (PredictModelResponseBody) GoString ¶
func (s PredictModelResponseBody) GoString() string
func (*PredictModelResponseBody) SetCode ¶
func (s *PredictModelResponseBody) SetCode(v int32) *PredictModelResponseBody
func (*PredictModelResponseBody) SetData ¶
func (s *PredictModelResponseBody) SetData(v map[string]interface{}) *PredictModelResponseBody
func (*PredictModelResponseBody) SetMessage ¶
func (s *PredictModelResponseBody) SetMessage(v string) *PredictModelResponseBody
func (*PredictModelResponseBody) SetRequestId ¶
func (s *PredictModelResponseBody) SetRequestId(v string) *PredictModelResponseBody
func (PredictModelResponseBody) String ¶
func (s PredictModelResponseBody) String() string
type PredictPreTrainModelRequest ¶ added in v1.0.11
type PredictPreTrainModelRequest struct { BinaryToText *bool `json:"BinaryToText,omitempty" xml:"BinaryToText,omitempty"` Body *string `json:"Body,omitempty" xml:"Body,omitempty"` Content *string `json:"Content,omitempty" xml:"Content,omitempty"` ServiceName *string `json:"ServiceName,omitempty" xml:"ServiceName,omitempty"` ServiceVersion *string `json:"ServiceVersion,omitempty" xml:"ServiceVersion,omitempty"` }
func (PredictPreTrainModelRequest) GoString ¶ added in v1.0.11
func (s PredictPreTrainModelRequest) GoString() string
func (*PredictPreTrainModelRequest) SetBinaryToText ¶ added in v1.0.11
func (s *PredictPreTrainModelRequest) SetBinaryToText(v bool) *PredictPreTrainModelRequest
func (*PredictPreTrainModelRequest) SetBody ¶ added in v1.0.11
func (s *PredictPreTrainModelRequest) SetBody(v string) *PredictPreTrainModelRequest
func (*PredictPreTrainModelRequest) SetContent ¶ added in v1.0.11
func (s *PredictPreTrainModelRequest) SetContent(v string) *PredictPreTrainModelRequest
func (*PredictPreTrainModelRequest) SetServiceName ¶ added in v1.0.11
func (s *PredictPreTrainModelRequest) SetServiceName(v string) *PredictPreTrainModelRequest
func (*PredictPreTrainModelRequest) SetServiceVersion ¶ added in v1.0.11
func (s *PredictPreTrainModelRequest) SetServiceVersion(v string) *PredictPreTrainModelRequest
func (PredictPreTrainModelRequest) String ¶ added in v1.0.11
func (s PredictPreTrainModelRequest) String() string
type PredictPreTrainModelResponse ¶ added in v1.0.11
type PredictPreTrainModelResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` Body *PredictPreTrainModelResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (PredictPreTrainModelResponse) GoString ¶ added in v1.0.11
func (s PredictPreTrainModelResponse) GoString() string
func (*PredictPreTrainModelResponse) SetBody ¶ added in v1.0.11
func (s *PredictPreTrainModelResponse) SetBody(v *PredictPreTrainModelResponseBody) *PredictPreTrainModelResponse
func (*PredictPreTrainModelResponse) SetHeaders ¶ added in v1.0.11
func (s *PredictPreTrainModelResponse) SetHeaders(v map[string]*string) *PredictPreTrainModelResponse
func (*PredictPreTrainModelResponse) SetStatusCode ¶ added in v1.0.11
func (s *PredictPreTrainModelResponse) SetStatusCode(v int32) *PredictPreTrainModelResponse
func (PredictPreTrainModelResponse) String ¶ added in v1.0.11
func (s PredictPreTrainModelResponse) String() string
type PredictPreTrainModelResponseBody ¶ added in v1.0.11
type PredictPreTrainModelResponseBody struct { Code *int32 `json:"Code,omitempty" xml:"Code,omitempty"` Data map[string]interface{} `json:"Data,omitempty" xml:"Data,omitempty"` Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // Id of the request RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (PredictPreTrainModelResponseBody) GoString ¶ added in v1.0.11
func (s PredictPreTrainModelResponseBody) GoString() string
func (*PredictPreTrainModelResponseBody) SetCode ¶ added in v1.0.11
func (s *PredictPreTrainModelResponseBody) SetCode(v int32) *PredictPreTrainModelResponseBody
func (*PredictPreTrainModelResponseBody) SetData ¶ added in v1.0.11
func (s *PredictPreTrainModelResponseBody) SetData(v map[string]interface{}) *PredictPreTrainModelResponseBody
func (*PredictPreTrainModelResponseBody) SetMessage ¶ added in v1.0.11
func (s *PredictPreTrainModelResponseBody) SetMessage(v string) *PredictPreTrainModelResponseBody
func (*PredictPreTrainModelResponseBody) SetRequestId ¶ added in v1.0.11
func (s *PredictPreTrainModelResponseBody) SetRequestId(v string) *PredictPreTrainModelResponseBody
func (PredictPreTrainModelResponseBody) String ¶ added in v1.0.11
func (s PredictPreTrainModelResponseBody) String() string
type PredictTemplateModelRequest ¶
type PredictTemplateModelRequest struct { BinaryToText *bool `json:"BinaryToText,omitempty" xml:"BinaryToText,omitempty"` Body *string `json:"Body,omitempty" xml:"Body,omitempty"` Content *string `json:"Content,omitempty" xml:"Content,omitempty"` TaskId *int64 `json:"TaskId,omitempty" xml:"TaskId,omitempty"` }
func (PredictTemplateModelRequest) GoString ¶
func (s PredictTemplateModelRequest) GoString() string
func (*PredictTemplateModelRequest) SetBinaryToText ¶ added in v1.0.4
func (s *PredictTemplateModelRequest) SetBinaryToText(v bool) *PredictTemplateModelRequest
func (*PredictTemplateModelRequest) SetBody ¶ added in v1.0.6
func (s *PredictTemplateModelRequest) SetBody(v string) *PredictTemplateModelRequest
func (*PredictTemplateModelRequest) SetContent ¶
func (s *PredictTemplateModelRequest) SetContent(v string) *PredictTemplateModelRequest
func (*PredictTemplateModelRequest) SetTaskId ¶ added in v1.0.1
func (s *PredictTemplateModelRequest) SetTaskId(v int64) *PredictTemplateModelRequest
func (PredictTemplateModelRequest) String ¶
func (s PredictTemplateModelRequest) String() string
type PredictTemplateModelResponse ¶
type PredictTemplateModelResponse struct { Headers map[string]*string `json:"headers,omitempty" xml:"headers,omitempty" require:"true"` StatusCode *int32 `json:"statusCode,omitempty" xml:"statusCode,omitempty" require:"true"` Body *PredictTemplateModelResponseBody `json:"body,omitempty" xml:"body,omitempty" require:"true"` }
func (PredictTemplateModelResponse) GoString ¶
func (s PredictTemplateModelResponse) GoString() string
func (*PredictTemplateModelResponse) SetBody ¶
func (s *PredictTemplateModelResponse) SetBody(v *PredictTemplateModelResponseBody) *PredictTemplateModelResponse
func (*PredictTemplateModelResponse) SetHeaders ¶
func (s *PredictTemplateModelResponse) SetHeaders(v map[string]*string) *PredictTemplateModelResponse
func (*PredictTemplateModelResponse) SetStatusCode ¶
func (s *PredictTemplateModelResponse) SetStatusCode(v int32) *PredictTemplateModelResponse
func (PredictTemplateModelResponse) String ¶
func (s PredictTemplateModelResponse) String() string
type PredictTemplateModelResponseBody ¶
type PredictTemplateModelResponseBody struct { Code *string `json:"Code,omitempty" xml:"Code,omitempty"` Data map[string]interface{} `json:"Data,omitempty" xml:"Data,omitempty"` Message *string `json:"Message,omitempty" xml:"Message,omitempty"` // Id of the request RequestId *string `json:"RequestId,omitempty" xml:"RequestId,omitempty"` }
func (PredictTemplateModelResponseBody) GoString ¶
func (s PredictTemplateModelResponseBody) GoString() string
func (*PredictTemplateModelResponseBody) SetCode ¶
func (s *PredictTemplateModelResponseBody) SetCode(v string) *PredictTemplateModelResponseBody
func (*PredictTemplateModelResponseBody) SetData ¶
func (s *PredictTemplateModelResponseBody) SetData(v map[string]interface{}) *PredictTemplateModelResponseBody
func (*PredictTemplateModelResponseBody) SetMessage ¶
func (s *PredictTemplateModelResponseBody) SetMessage(v string) *PredictTemplateModelResponseBody
func (*PredictTemplateModelResponseBody) SetRequestId ¶
func (s *PredictTemplateModelResponseBody) SetRequestId(v string) *PredictTemplateModelResponseBody
func (PredictTemplateModelResponseBody) String ¶
func (s PredictTemplateModelResponseBody) String() string
Click to show internal directories.
Click to hide internal directories.