model

package
v0.0.77 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

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 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 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

Jump to

Keyboard shortcuts

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