v1

package
v0.0.0-...-00b4b05 Latest Latest
Warning

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

Go to latest
Published: Nov 14, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteReq

type DeleteReq struct {
	Id     int64 `v:"required"`
	g.Meta `path:"/ou/{Id}" tags:"Organization Unit" method:"delete" summary:"delete a Organization by id"`
}

type DeleteRes

type DeleteRes struct {
}

type GetReq

type GetReq struct {
	g.Meta `path:"/ou/{id}" tags:"Organization Unit" method:"get" summary:"get Organization info by id"`
	Id     int64 `v:"required"`
}

type GetRes

type GetRes struct {
	entity.OrganizationUnits
}

type ListReq

type ListReq struct {
	g.Meta `path:"/ou/list" tags:"Organization Unit" method:"post" summary:"get a page of Organizations"`
	model.PageReq
}

type ListRes

type ListRes struct {
	model.PageRes
}

type SaveReq

type SaveReq struct {
	g.Meta `path:"/ou/" tags:"Organization Unit" method:"put" summary:"insert or update a Organization"`
	entity.OrganizationUnits
}

type SaveRes

type SaveRes struct {
}

type TreeReq

type TreeReq struct {
	g.Meta `path:"/ou/tree" tags:"Organization Unit" method:"get" summary:"get Organization tree"`
}

type TreeRes

type TreeRes struct {
	g.Meta `mime:"json/application"`
	Items  []*entity.OrganizationUnitsEx `json:"items"`
}

Jump to

Keyboard shortcuts

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