io

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BulkOperateObjectRequest added in v0.1.21

type BulkOperateObjectRequest struct {
	Ids   []int64  `json:"ids,omitempty"`
	Sns   []string `json:"sns,omitempty"`
	Names []string `json:"names,omitempty"`
}

type CreateObjectResponse

type CreateObjectResponse struct {
	Id int64 `json:"id"`
}

type CreateRefObjectRequest

type CreateRefObjectRequest[BizObject any] struct {
	Id   int64     `json:"id"`
	Item BizObject `json:"item"`
}

type DeleteRefObjectRequest

type DeleteRefObjectRequest struct {
	Id     int64 `json:"id"`
	ItemId int64 `json:"itemId"`
}

type EditRefObjectRequest

type EditRefObjectRequest[BizObject any] struct {
	Id   int64     `json:"id"`
	Item BizObject `json:"item"`
}

type GetRefObjectRequest

type GetRefObjectRequest struct {
	Id     int64 `json:"id"`
	ItemId int64 `json:"itemId"`
}

type OperateObjectRequest added in v0.1.21

type OperateObjectRequest struct {
	Id   int64  `json:"id,omitempty"`
	Sn   string `json:"sns,omitempty"`
	Name string `json:"name,omitempty"`
}

type QueryObjectRequest

type QueryObjectRequest struct {
	Filters map[string]any      `json:"filters,omitempty"`
	List    *protobuf.ListParam `json:"list,omitempty"`
}

type QueryObjectResponse

type QueryObjectResponse[BizObject any] struct {
	Total int64       `json:"total"`
	Items []BizObject `json:"items"`
}

type QueryRefObjectRequest

type QueryRefObjectRequest struct {
	Id      int64               `json:"id"`
	Filters map[string]any      `json:"filters,omitempty"`
	List    *protobuf.ListParam `json:"list,omitempty"`
}

type QueryRefObjectResponse

type QueryRefObjectResponse[BizObject any] struct {
	Total int64       `json:"total"`
	Items []BizObject `json:"items"`
}

Jump to

Keyboard shortcuts

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