larkgray_test_open_sg

package
v3.0.0-beta-0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2022 License: MIT Imports: 5 Imported by: 9

Documentation

Overview

Package gray_test_open_sg code generated by oapi sdk gen

Package gray_test_open_sg code generated by oapi sdk gen

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CreateMotoReq

type CreateMotoReq struct {
	DepartmentIdType *string `query:"department_id_type"`
	Level            *Level  `body:""`
}

type CreateMotoReqBuilder

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

1.4 生成请求的builder结构体

func NewCreateMotoReqBuilder

func NewCreateMotoReqBuilder() *CreateMotoReqBuilder

生成请求的New构造器

func (*CreateMotoReqBuilder) Build

func (builder *CreateMotoReqBuilder) Build() *CreateMotoReq

1.5 生成请求的builder的build方法

func (*CreateMotoReqBuilder) DepartmentIdType

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

1.5 生成请求的builder属性方法

func (*CreateMotoReqBuilder) Level

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

type CreateMotoResp

type CreateMotoResp struct {
	*larkcore.RawResponse `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"`
}

type GetMotoReq

type GetMotoReq struct {
	MotoId    string  `path:"moto_id"`
	BodyLevel *string `query:"body_level"`
}

type GetMotoReqBuilder

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

1.4 生成请求的builder结构体

func NewGetMotoReqBuilder

func NewGetMotoReqBuilder() *GetMotoReqBuilder

生成请求的New构造器

func (*GetMotoReqBuilder) BodyLevel

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

func (*GetMotoReqBuilder) Build

func (builder *GetMotoReqBuilder) Build() *GetMotoReq

1.5 生成请求的builder的build方法

func (*GetMotoReqBuilder) MotoId

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

1.5 生成请求的builder属性方法

type GetMotoResp

type GetMotoResp struct {
	*larkcore.RawResponse `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"`
}

type GrayTestOpenSgService

type GrayTestOpenSgService struct {
	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"`
	Body  *string `json:"body,omitempty"`
	Type  *string `json:"type,omitempty"`
}

type LevelBuilder

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

builder开始

func NewLevelBuilder

func NewLevelBuilder() *LevelBuilder

func (*LevelBuilder) Body

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

func (*LevelBuilder) Build

func (builder *LevelBuilder) Build() *Level

func (*LevelBuilder) Level

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

func (*LevelBuilder) Type

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

type ListMotoIterator

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

生成请求的builder构造器 1.1 生成body的builder结构体

func (*ListMotoIterator) Next

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

func (*ListMotoIterator) NextPageToken

func (iterator *ListMotoIterator) NextPageToken() *string

type ListMotoReq

type ListMotoReq struct {
	PageSize  *int    `query:"page_size"`
	PageToken *string `query:"page_token"`
	Level     *int    `query:"level"`
	Limit     int
}

type ListMotoReqBuilder

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

1.4 生成请求的builder结构体

func NewListMotoReqBuilder

func NewListMotoReqBuilder() *ListMotoReqBuilder

生成请求的New构造器

func (*ListMotoReqBuilder) Build

func (builder *ListMotoReqBuilder) Build() *ListMotoReq

1.5 生成请求的builder的build方法

func (*ListMotoReqBuilder) Level

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

func (*ListMotoReqBuilder) Limit

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

1.5 生成请求的builder属性方法

func (*ListMotoReqBuilder) PageSize

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

func (*ListMotoReqBuilder) PageToken

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

type ListMotoResp

type ListMotoResp struct {
	*larkcore.RawResponse `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"`
	PageToken *string  `json:"page_token,omitempty"`
	HasMore   *bool    `json:"has_more,omitempty"`
}

type Moto

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

type MotoBuilder

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

builder开始

func NewMotoBuilder

func NewMotoBuilder() *MotoBuilder

func (*MotoBuilder) Build

func (builder *MotoBuilder) Build() *Moto

func (*MotoBuilder) Id

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

func (*MotoBuilder) MotoId

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

func (*MotoBuilder) Type

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

func (*MotoBuilder) UserName

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

Jump to

Keyboard shortcuts

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