Documentation ¶
Index ¶
- type AddPictureRequestReq
- type CreateInstanceReq
- type DeletePictureReq
- type RunAddPictureRequest
- type RunAddPictureResponse
- type RunCheckPictureRequest
- type RunCheckPictureResponse
- type RunCreateInstanceRequest
- type RunCreateInstanceResponse
- type RunCreateInstanceResponseStatus
- type RunCreateInstanceResponseStatusEnum
- type RunDeleteInstanceRequest
- type RunDeleteInstanceResponse
- type RunDeletePictureRequest
- type RunDeletePictureResponse
- type RunModifyPictureReq
- type RunModifyPictureRequest
- type RunModifyPictureResponse
- type RunQueryInstanceRequest
- type RunQueryInstanceResponse
- type RunQueryInstanceResponseStatus
- type RunQueryInstanceResponseStatusEnum
- type RunSearchPictureRequest
- type RunSearchPictureResponse
- type SearchBoxDetail
- type SearchPictureItem
- type SearchPictureReq
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddPictureRequestReq ¶
type AddPictureRequestReq struct { File *string `json:"file,omitempty"` Path string `json:"path"` Tags *interface{} `json:"tags,omitempty"` }
添加图片body体
func (AddPictureRequestReq) String ¶
func (o AddPictureRequestReq) String() string
type CreateInstanceReq ¶
type CreateInstanceReq struct { Name string `json:"name"` Model string `json:"model"` Description *string `json:"description,omitempty"` Level *int32 `json:"level,omitempty"` Tags *[]string `json:"tags,omitempty"` }
创建实例的body体
func (CreateInstanceReq) String ¶
func (o CreateInstanceReq) String() string
type DeletePictureReq ¶
type DeletePictureReq struct {
Path *string `json:"path,omitempty"`
}
func (DeletePictureReq) String ¶
func (o DeletePictureReq) String() string
type RunAddPictureRequest ¶
type RunAddPictureRequest struct { InstanceName string `json:"instance_name"` Body *AddPictureRequestReq `json:"body,omitempty"` }
Request Object
func (RunAddPictureRequest) String ¶
func (o RunAddPictureRequest) String() string
type RunAddPictureResponse ¶
type RunAddPictureResponse struct { Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunAddPictureResponse) String ¶
func (o RunAddPictureResponse) String() string
type RunCheckPictureRequest ¶
type RunCheckPictureRequest struct { InstanceName string `json:"instance_name"` Body *DeletePictureReq `json:"body,omitempty"` }
Request Object
func (RunCheckPictureRequest) String ¶
func (o RunCheckPictureRequest) String() string
type RunCheckPictureResponse ¶
type RunCheckPictureResponse struct { Exist *string `json:"exist,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunCheckPictureResponse) String ¶
func (o RunCheckPictureResponse) String() string
type RunCreateInstanceRequest ¶
type RunCreateInstanceRequest struct {
Body *CreateInstanceReq `json:"body,omitempty"`
}
Request Object
func (RunCreateInstanceRequest) String ¶
func (o RunCreateInstanceRequest) String() string
type RunCreateInstanceResponse ¶
type RunCreateInstanceResponse struct { Domain *string `json:"domain,omitempty"` Desc *string `json:"desc,omitempty"` RegisterDate *int64 `json:"registerDate,omitempty"` ExpiredDate *int64 `json:"expiredDate,omitempty"` Level *int32 `json:"level,omitempty"` Tags *[]string `json:"tags,omitempty"` Status *RunCreateInstanceResponseStatus `json:"status,omitempty"` InstanceName *string `json:"instanceName,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunCreateInstanceResponse) String ¶
func (o RunCreateInstanceResponse) String() string
type RunCreateInstanceResponseStatus ¶
type RunCreateInstanceResponseStatus struct {
// contains filtered or unexported fields
}
func (RunCreateInstanceResponseStatus) MarshalJSON ¶
func (c RunCreateInstanceResponseStatus) MarshalJSON() ([]byte, error)
func (*RunCreateInstanceResponseStatus) UnmarshalJSON ¶
func (c *RunCreateInstanceResponseStatus) UnmarshalJSON(b []byte) error
type RunCreateInstanceResponseStatusEnum ¶
type RunCreateInstanceResponseStatusEnum struct { NORMAL RunCreateInstanceResponseStatus ARREARAGE RunCreateInstanceResponseStatus CREATION RunCreateInstanceResponseStatus CREATION_FAILD RunCreateInstanceResponseStatus DELETING RunCreateInstanceResponseStatus DELETING_FAILED RunCreateInstanceResponseStatus ABNORMAL RunCreateInstanceResponseStatus }
func GetRunCreateInstanceResponseStatusEnum ¶
func GetRunCreateInstanceResponseStatusEnum() RunCreateInstanceResponseStatusEnum
type RunDeleteInstanceRequest ¶
type RunDeleteInstanceRequest struct {
InstanceName string `json:"instance_name"`
}
Request Object
func (RunDeleteInstanceRequest) String ¶
func (o RunDeleteInstanceRequest) String() string
type RunDeleteInstanceResponse ¶
type RunDeleteInstanceResponse struct { Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunDeleteInstanceResponse) String ¶
func (o RunDeleteInstanceResponse) String() string
type RunDeletePictureRequest ¶
type RunDeletePictureRequest struct { InstanceName string `json:"instance_name"` Body *DeletePictureReq `json:"body,omitempty"` }
Request Object
func (RunDeletePictureRequest) String ¶
func (o RunDeletePictureRequest) String() string
type RunDeletePictureResponse ¶
type RunDeletePictureResponse struct { Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunDeletePictureResponse) String ¶
func (o RunDeletePictureResponse) String() string
type RunModifyPictureReq ¶
type RunModifyPictureReq struct { Path string `json:"path"` Tags *interface{} `json:"tags"` }
修改图片信息的请求体
func (RunModifyPictureReq) String ¶
func (o RunModifyPictureReq) String() string
type RunModifyPictureRequest ¶
type RunModifyPictureRequest struct { InstanceName string `json:"instance_name"` Body *RunModifyPictureReq `json:"body,omitempty"` }
Request Object
func (RunModifyPictureRequest) String ¶
func (o RunModifyPictureRequest) String() string
type RunModifyPictureResponse ¶
type RunModifyPictureResponse struct { Result *string `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunModifyPictureResponse) String ¶
func (o RunModifyPictureResponse) String() string
type RunQueryInstanceRequest ¶
type RunQueryInstanceRequest struct {
InstanceName string `json:"instance_name"`
}
Request Object
func (RunQueryInstanceRequest) String ¶
func (o RunQueryInstanceRequest) String() string
type RunQueryInstanceResponse ¶
type RunQueryInstanceResponse struct { Domain *string `json:"domain,omitempty"` Desc *string `json:"desc,omitempty"` RegisterDate *int64 `json:"registerDate,omitempty"` ExpiredDate *int64 `json:"expiredDate,omitempty"` Level *int32 `json:"level,omitempty"` Tags *[]string `json:"tags,omitempty"` Status *RunQueryInstanceResponseStatus `json:"status,omitempty"` InstanceName *string `json:"instanceName,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunQueryInstanceResponse) String ¶
func (o RunQueryInstanceResponse) String() string
type RunQueryInstanceResponseStatus ¶
type RunQueryInstanceResponseStatus struct {
// contains filtered or unexported fields
}
func (RunQueryInstanceResponseStatus) MarshalJSON ¶
func (c RunQueryInstanceResponseStatus) MarshalJSON() ([]byte, error)
func (*RunQueryInstanceResponseStatus) UnmarshalJSON ¶
func (c *RunQueryInstanceResponseStatus) UnmarshalJSON(b []byte) error
type RunQueryInstanceResponseStatusEnum ¶
type RunQueryInstanceResponseStatusEnum struct { NORMAL RunQueryInstanceResponseStatus ARREARAGE RunQueryInstanceResponseStatus CREATION RunQueryInstanceResponseStatus CREATION_FAILD RunQueryInstanceResponseStatus DELETING RunQueryInstanceResponseStatus DELETING_FAILED RunQueryInstanceResponseStatus ABNORMAL RunQueryInstanceResponseStatus }
func GetRunQueryInstanceResponseStatusEnum ¶
func GetRunQueryInstanceResponseStatusEnum() RunQueryInstanceResponseStatusEnum
type RunSearchPictureRequest ¶
type RunSearchPictureRequest struct { InstanceName string `json:"instance_name"` Body *SearchPictureReq `json:"body,omitempty"` }
Request Object
func (RunSearchPictureRequest) String ¶
func (o RunSearchPictureRequest) String() string
type RunSearchPictureResponse ¶
type RunSearchPictureResponse struct { Count *int32 `json:"count,omitempty"` Result *[]SearchPictureItem `json:"result,omitempty"` HttpStatusCode int `json:"-"` }
Response Object
func (RunSearchPictureResponse) String ¶
func (o RunSearchPictureResponse) String() string
type SearchBoxDetail ¶ added in v0.0.67
type SearchBoxDetail struct { X *int32 `json:"x,omitempty"` Y *int32 `json:"y,omitempty"` Width *int32 `json:"width,omitempty"` Height *int32 `json:"height,omitempty"` }
func (SearchBoxDetail) String ¶ added in v0.0.67
func (o SearchBoxDetail) String() string
type SearchPictureItem ¶
type SearchPictureItem struct { Path *string `json:"path,omitempty"` Sim *float32 `json:"sim,omitempty"` Tags *interface{} `json:"tags,omitempty"` }
搜索结果详情。
func (SearchPictureItem) String ¶
func (o SearchPictureItem) String() string
type SearchPictureReq ¶
type SearchPictureReq struct { File *string `json:"file,omitempty"` Path *string `json:"path,omitempty"` Limit *int32 `json:"limit,omitempty"` Offset *int32 `json:"offset,omitempty"` Tags *interface{} `json:"tags,omitempty"` IsCrop *bool `json:"is_crop,omitempty"` Box *SearchBoxDetail `json:"box,omitempty"` }
func (SearchPictureReq) String ¶
func (o SearchPictureReq) String() string
Source Files ¶
- model_add_picture_request_req.go
- model_create_instance_req.go
- model_delete_picture_req.go
- model_run_add_picture_request.go
- model_run_add_picture_response.go
- model_run_check_picture_request.go
- model_run_check_picture_response.go
- model_run_create_instance_request.go
- model_run_create_instance_response.go
- model_run_delete_instance_request.go
- model_run_delete_instance_response.go
- model_run_delete_picture_request.go
- model_run_delete_picture_response.go
- model_run_modify_picture_req.go
- model_run_modify_picture_request.go
- model_run_modify_picture_response.go
- model_run_query_instance_request.go
- model_run_query_instance_response.go
- model_run_search_picture_request.go
- model_run_search_picture_response.go
- model_search_box_detail.go
- model_search_picture_item.go
- model_search_picture_req.go
Click to show internal directories.
Click to hide internal directories.