larkgray_test_open_sg

package
v3.0.17 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2023 License: MIT Imports: 5 Imported by: 9

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateMotoReq

type CreateMotoReq struct {
	Level *Level `body:""`
	// contains filtered or unexported fields
}

type CreateMotoReqBuilder

type CreateMotoReqBuilder struct {
	// contains filtered or unexported fields
}

func NewCreateMotoReqBuilder

func NewCreateMotoReqBuilder() *CreateMotoReqBuilder

func (*CreateMotoReqBuilder) Build

func (builder *CreateMotoReqBuilder) Build() *CreateMotoReq

func (*CreateMotoReqBuilder) DepartmentIdType

func (builder *CreateMotoReqBuilder) DepartmentIdType(departmentIdType string) *CreateMotoReqBuilder

desc

示例值:

func (*CreateMotoReqBuilder) Level

func (builder *CreateMotoReqBuilder) Level(level *Level) *CreateMotoReqBuilder

func (*CreateMotoReqBuilder) UserIdType added in v3.0.3

func (builder *CreateMotoReqBuilder) UserIdType(userIdType string) *CreateMotoReqBuilder

desc

示例值:

type CreateMotoResp

type CreateMotoResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *CreateMotoRespData `json:"data"` // 业务数据
}

func (*CreateMotoResp) Success

func (resp *CreateMotoResp) Success() bool

type CreateMotoRespData

type CreateMotoRespData struct {
	Moto *Moto `json:"moto,omitempty"` // desc22222
}

type GetMotoReq

type GetMotoReq struct {
	// contains filtered or unexported fields
}

type GetMotoReqBuilder

type GetMotoReqBuilder struct {
	// contains filtered or unexported fields
}

func NewGetMotoReqBuilder

func NewGetMotoReqBuilder() *GetMotoReqBuilder

func (*GetMotoReqBuilder) BodyLevel

func (builder *GetMotoReqBuilder) BodyLevel(bodyLevel string) *GetMotoReqBuilder

desc

示例值:1234

func (*GetMotoReqBuilder) Build

func (builder *GetMotoReqBuilder) Build() *GetMotoReq

func (*GetMotoReqBuilder) MotoId

func (builder *GetMotoReqBuilder) MotoId(motoId string) *GetMotoReqBuilder

desc33333

示例值:1234

type GetMotoResp

type GetMotoResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *GetMotoRespData `json:"data"` // 业务数据
}

func (*GetMotoResp) Success

func (resp *GetMotoResp) Success() bool

type GetMotoRespData

type GetMotoRespData struct {
	Moto *Moto `json:"moto,omitempty"` // desc
}

type GrayTestOpenSgService

type GrayTestOpenSgService struct {
	Moto *moto // moto
	// contains filtered or unexported fields
}

func NewService

func NewService(config *larkcore.Config) *GrayTestOpenSgService

type Level

type Level struct {
	Level *string `json:"level,omitempty"` // string
	Body  *string `json:"body,omitempty"`  // body
	Type  *string `json:"type,omitempty"`  // type
}

type LevelBuilder

type LevelBuilder struct {
	// contains filtered or unexported fields
}

func NewLevelBuilder

func NewLevelBuilder() *LevelBuilder

func (*LevelBuilder) Body

func (builder *LevelBuilder) Body(body string) *LevelBuilder

body

示例值:

func (*LevelBuilder) Build

func (builder *LevelBuilder) Build() *Level

func (*LevelBuilder) Level

func (builder *LevelBuilder) Level(level string) *LevelBuilder

string

示例值:

func (*LevelBuilder) Type

func (builder *LevelBuilder) Type(type_ string) *LevelBuilder

type

示例值:

type ListMotoIterator

type ListMotoIterator struct {
	// contains filtered or unexported fields
}

func (*ListMotoIterator) Next

func (iterator *ListMotoIterator) Next() (bool, string, error)

func (*ListMotoIterator) NextPageToken

func (iterator *ListMotoIterator) NextPageToken() *string

type ListMotoReq

type ListMotoReq struct {
	Limit int // 最多返回多少记录,只有在使用迭代器访问时,才有效
	// contains filtered or unexported fields
}

type ListMotoReqBuilder

type ListMotoReqBuilder struct {
	// contains filtered or unexported fields
}

func NewListMotoReqBuilder

func NewListMotoReqBuilder() *ListMotoReqBuilder

func (*ListMotoReqBuilder) Build

func (builder *ListMotoReqBuilder) Build() *ListMotoReq

func (*ListMotoReqBuilder) Level

func (builder *ListMotoReqBuilder) Level(level int) *ListMotoReqBuilder

level

示例值:

func (*ListMotoReqBuilder) Limit

func (builder *ListMotoReqBuilder) Limit(limit int) *ListMotoReqBuilder

最大返回多少记录,当使用迭代器访问时才有效

func (*ListMotoReqBuilder) PageSize

func (builder *ListMotoReqBuilder) PageSize(pageSize int) *ListMotoReqBuilder

分页大小

示例值:

func (*ListMotoReqBuilder) PageToken

func (builder *ListMotoReqBuilder) PageToken(pageToken string) *ListMotoReqBuilder

分页标记,第一次请求不填,表示从头开始遍历;分页查询结果还有更多项时会同时返回新的 page_token,下次遍历可采用该 page_token 获取查询结果

示例值:

type ListMotoResp

type ListMotoResp struct {
	*larkcore.ApiResp `json:"-"`
	larkcore.CodeError
	Data *ListMotoRespData `json:"data"` // 业务数据
}

func (*ListMotoResp) Success

func (resp *ListMotoResp) Success() bool

type ListMotoRespData

type ListMotoRespData struct {
	Items     []string `json:"items,omitempty"`      // desc
	PageToken *string  `json:"page_token,omitempty"` //
	HasMore   *bool    `json:"has_more,omitempty"`   //
}

type Moto

type Moto struct {
	MotoId   *string `json:"moto_id,omitempty"`   // desc
	Id       *string `json:"id,omitempty"`        // desc2
	UserName *string `json:"user_name,omitempty"` // name
	Type     *string `json:"type,omitempty"`      // type
}

type MotoBuilder

type MotoBuilder struct {
	// contains filtered or unexported fields
}

func NewMotoBuilder

func NewMotoBuilder() *MotoBuilder

func (*MotoBuilder) Build

func (builder *MotoBuilder) Build() *Moto

func (*MotoBuilder) Id

func (builder *MotoBuilder) Id(id string) *MotoBuilder

desc2

示例值:

func (*MotoBuilder) MotoId

func (builder *MotoBuilder) MotoId(motoId string) *MotoBuilder

desc

示例值:

func (*MotoBuilder) Type

func (builder *MotoBuilder) Type(type_ string) *MotoBuilder

type

示例值:

func (*MotoBuilder) UserName

func (builder *MotoBuilder) UserName(userName string) *MotoBuilder

name

示例值:

Jump to

Keyboard shortcuts

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