larkverification

package
v3.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DepartmentId

type DepartmentId struct {
	DepartmentId     *string `json:"department_id,omitempty"`      //
	OpenDepartmentId *string `json:"open_department_id,omitempty"` //
}

type DepartmentIdBuilder

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

func NewDepartmentIdBuilder

func NewDepartmentIdBuilder() *DepartmentIdBuilder

func (*DepartmentIdBuilder) Build

func (builder *DepartmentIdBuilder) Build() *DepartmentId

func (*DepartmentIdBuilder) DepartmentId

func (builder *DepartmentIdBuilder) DepartmentId(departmentId string) *DepartmentIdBuilder

示例值:

func (*DepartmentIdBuilder) OpenDepartmentId

func (builder *DepartmentIdBuilder) OpenDepartmentId(openDepartmentId string) *DepartmentIdBuilder

示例值:

type GetVerificationResp

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

func (*GetVerificationResp) Success

func (resp *GetVerificationResp) Success() bool

type GetVerificationRespData

type GetVerificationRespData struct {
	Verification *Verification `json:"verification,omitempty"` // 认证信息
}

type V1

type V1 struct {
	Verification *verification // 认证信息
}

func New

func New(config *larkcore.Config) *V1

type Verification

type Verification struct {
	Name            *string `json:"name,omitempty"`             // 企业主体名称
	HasVerification *bool   `json:"has_verification,omitempty"` // 企业是否完成认证; true 表示已经完成认证,false 表示未认证
}

type VerificationBuilder

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

func NewVerificationBuilder

func NewVerificationBuilder() *VerificationBuilder

func (*VerificationBuilder) Build

func (builder *VerificationBuilder) Build() *Verification

func (*VerificationBuilder) HasVerification

func (builder *VerificationBuilder) HasVerification(hasVerification bool) *VerificationBuilder

企业是否完成认证; true 表示已经完成认证,false 表示未认证

示例值:

func (*VerificationBuilder) Name

func (builder *VerificationBuilder) Name(name string) *VerificationBuilder

企业主体名称

示例值:

Jump to

Keyboard shortcuts

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